I assume that your question is related to Calc. You tagged your question as common
but I think there is no answer for Writer and Impress.
You must define a user formatting code.
-
select one of your cells with a to-be-formatted number
-
Format
>Cells
, Numbers
tab
-
in Format code, enter #,###.##
if it does not exist already in the list (otherwise select it)
In case your number(s) may be larger then one million (billion), you need to specify the extra separator as #,###,###.##
(#,###,###,###.##
).
Select the cells to be formatted and apply your user-format to code to them.
To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!