ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   format (https://www.excelbanter.com/excel-worksheet-functions/156309-format.html)

geebee

format
 
hi,

i have a cell which currently has "=sheet1!A4" & "units". I would like to
know how i can format this to where the number value in the cell contains a
comma seperator. like if the value of A4 is 34,000, the result is "34,000
units" instead of "34000 units".


thanks in advance,
geebee


Toppers

format
 
=TEXT(Sheet1!A4,"#,000")&" units"

"geebee" wrote:

hi,

i have a cell which currently has "=sheet1!A4" & "units". I would like to
know how i can format this to where the number value in the cell contains a
comma seperator. like if the value of A4 is 34,000, the result is "34,000
units" instead of "34000 units".


thanks in advance,
geebee


Rick Rothstein \(MVP - VB\)

format
 
i have a cell which currently has "=sheet1!A4" & "units". I would like to
know how i can format this to where the number value in the cell contains
a
comma seperator. like if the value of A4 is 34,000, the result is "34,000
units" instead of "34000 units".


Give this a try instead...

=TEXT(Sheet1!A4,"#,##0")&" units"

Rick



All times are GMT +1. The time now is 03:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com