How to Format a Number as Part of a Sum in Google Sheets

google sheets

I have this formula in Google Sheets

="final cost: $"&sum(E2:E70)

and it looks like this

sample output

I would like it to be properly formatted like so:

$10,837.5

Please advise.

Best Answer

You can use the DOLLAR() function to return a localized currency format.

Formats a number into the locale-specific currency format.

Like so:

="final cost: "&dollar(sum(E2:E70))

If you still want to place your own currency symbol, then use FIXED().

="final cost: $"&fixed(sum(E2:E70),2)