Solved

Remove the number format in the sheet

Posted on 2016-08-25
6
53 Views
Last Modified: 2016-08-25
Experts

I need to remove the number formatting applied to the sheet but only for the cells that have $- as a format.  
example:  I have a sheet that has many cells with $ -    (meaning 0) and I want to avoid removing the format of each individual cell as that would be timely.  I just simply want nothing in the cell (no currency sign or dash).  I want to keep the cell coloring though.  

thank you
0
Comment
Question by:pdvsa
  • 3
  • 2
6 Comments
 
LVL 29

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
ID: 41770126
Apply the following custom number formatting to get the desired output...

$#,##0.00_);($#,##0.00);
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41770129
You could use a Custom format. The syntax for a Custom Format is:

Positive Value; Negative Value; Zero

So for Standard Dollar formatting by clicking the Currency Format option you get:

_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);_([$$-409]* "-"??_);_(@_)

By deleting the zero portion you get:

_([$$-409]* #,##0.00_);_([$$-409]* (#,##0.00);

Thanks
Rob H
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41770421
BTW, this formatting is to be applied to all your currency cells, not just those where it is currently zero; the "blank" effect will then take effect whenever any of them become zero and will resume the full $0.00 format when not zero.

Thanks
Rob H
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

Author Closing Comment

by:pdvsa
ID: 41770589
Thank you.  I have to say both experts had the same answer basically at least to me. ONe thing I noticed was that Subodh's currency symbol was close to the numbers and not sure what makes the format do that.  I do like the currency symbol close to the number when dealing with a lot of numbers on a sheet.
0
 
LVL 29

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41770600
You're welcome. Glad to help.

My formatting is for Currency and Rob's formatting is for Accounting.
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41770619
Some points for Assistance would have been appreciated.

Thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question