Custom number formats in TEXT function

G

Guest

I an using the TEXT function because I want to show a number in a cell
without that number being picked up in SUM functions on the worksheet. I
want the text to display with a dollar sign on the far left of the cell, with
a space for parentheses, and the number on the far right. I'm having trouble
getting the formatting right -- the dollar sign shows up just in front of the
number.

My formula is =TEXT('Sheet2'!F16," _($* #,##0_);_($* (#,##0)")

I thought that the asterisk followed by a space would push the dollar sign
all the way to the left. What is wrong? Thanks!
 
G

Guest

Maybe this will perform as you wish............

=TEXT(Sheet2!F16,"$_(#,##0_);$(#,##0)")

Vaya con Dios,
Chuck, CABGx3
 
G

Guest

I don't understand. This is in a function called TEXT. It couldn't possibly
be in a number format.
 
B

Bearacade

The $ will only be push to the LEFT if the cell format is used in a
"number" format. If you use it in a Text function, it won't work..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top