Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Converting 0 to a Dash without using Currency

Hello All,
I am trying to convert a zero (0) to a dash. I know I can do this as a
currency format but when I do that it does not center. I am trying to
do a custom format that would allow me to convert the number 0 to a
dash (-) and allow me to move it to the center or left hand side of
the cell. Any suggestions would be greatly appreciated! Thank you!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Converting 0 to a Dash without using Currency

_($ #,##0_);_($ (#,##0);_($ "-"_);_(@_)

this allows you to align as you describe.

--
Regards,
Tom Ogilvy



"cardan" wrote:

Hello All,
I am trying to convert a zero (0) to a dash. I know I can do this as a
currency format but when I do that it does not center. I am trying to
do a custom format that would allow me to convert the number 0 to a
dash (-) and allow me to move it to the center or left hand side of
the cell. Any suggestions would be greatly appreciated! Thank you!


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
CONVERTING CURRENCY TO WORDS SorianoP Excel Discussion (Misc queries) 1 October 9th 08 09:47 PM
Converting more than one currency GCC Excel Worksheet Functions 5 April 12th 07 09:52 AM
Converting currency to a description wmaughan Excel Discussion (Misc queries) 1 August 2nd 06 04:50 PM
Converting Currency SkyBluesFan Excel Worksheet Functions 8 December 12th 05 10:45 PM
Converting currency Duncan J Excel Programming 0 February 24th 04 03:41 PM


All times are GMT +1. The time now is 09:44 PM.

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"