Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remove the number format in the sheet

Posted on 2016-08-25
6
Medium Priority
?
62 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 33

Accepted Solution

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

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

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 34

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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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 33

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 34

Expert Comment

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

Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
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.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

971 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