Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MatthewB
 
Posts: n/a
Default Custom number formats in TEXT function

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!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default Custom number formats in TEXT function


It only pushes it left if it is a number format..


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=556542

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Custom number formats in TEXT function

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

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

Vaya con Dios,
Chuck, CABGx3



"MatthewB" wrote:

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!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MatthewB
 
Posts: n/a
Default Custom number formats in TEXT function

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

"Bearacade" wrote:


It only pushes it left if it is a number format..


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=556542


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default Custom number formats in TEXT function


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..


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=556542

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom number formats Louise Excel Worksheet Functions 4 May 5th 06 08:57 AM
custom number formats Louise Excel Worksheet Functions 7 May 4th 06 12:30 PM
Custom Number Format Text Frank & Pam Hayes Excel Discussion (Misc queries) 3 December 3rd 05 05:36 PM
color coding custom number formats bob sacco Excel Discussion (Misc queries) 1 October 3rd 05 01:01 PM
color coding custom number formats bob sacco Excel Discussion (Misc queries) 2 October 3rd 05 11:58 AM


All times are GMT +1. The time now is 06:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"