Thousands separator and decimal places formatting with TEXT in Excel -
how can use text in excel format string , thousand separator , 2 decimal places
i tried =("gbp "&text(a1,"###,#.##") gbp 1,234.5 without last 0
i tried =("gbp "&text(a1,"###,#.00") , when a1 = 0, gbp .00 (my current workaround when a1 0, return "", i'd able without condition)
desired:
when a1 0, want gbp 0.00
when 1,234.50, want gbp 1,234.50
a number format used in either cell's number format or in text function can have 4 different styles; positive, negative, 0 , text. these separated semi-colons. can provide blank result of types supplying nothing section.
=text(a3, "\g\p\d #,##0.00;;;") 
Comments
Post a Comment