Reputation: 1109
I want to format may chart axis to have thousand separators, but using apostrophes instead of commas.
For example, with a ,
separator in the format expression #,#0
the value 1222333
shows as 1,222,333
but my expected output is 1'222'333
should work for any range of numbers. How can I replace the comma separator with an apostrophe?
Example
With custom expression #,#0
2,000
22,000
222,222,000
Expected output
2'000
22'000
222'222'000
Upvotes: 1
Views: 141
Reputation: 12243
I don't think you can do this with the built in formatting options.
What you can do though is format your number as you require, with commas as the thousands separator, then convert the number to a string and replace the commas with apostrophes:
=replace(cstr(format(10000
,"#,#0"
)
)
,","
,"'"
)
Upvotes: 1