MrExcel's Learn Excel #553 - Formatting Away Negatives

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Jul 20, 2009.
In todays podcast, a custom number format that shows positive values and zeros, but hides the negative values. Episode 553 shows you how.

This blog is the video podcast companion to the book, Learn Excel from MrExcel. Download a new two minute video every workday to learn one of the 277 tips from the book!
maxresdefault.jpg


Transcript of the video:
Welcome back to the MrExcel netcast, I'm Bill Jelen.
Now, in yesterday's netcast I showed how to use a formula; the IF function to make sure that any negative values are not shown and I wanted to point out that there's a non formula way of doing that, I went back to the original formula from the podcast from two days ago and I'm going to select all these cells, some are negative and some are positive, I'm going to go to format cell and on the number tag you'll see this is currently just formatted as a number, I'm going to go down to the custom type, now in the custom type we have a number format of 0 and many people don't realize it but you're actually allowed to enter for different number formats in this box and each one is separated by a semicolon, basically if you would enter all four it becomes the number of positive, the number of negative, the number of 0 and then what to do if there's text, but if you only enter two; the first zone is what to do if it's positive or zero, the second zone is what to do if it's negative, so what I want to do is I want to say my format is zero semicolon, that says if the number is positive or zero just show it as a regular number but if it's negative show it as nothing, when I click OK sure enough all the positive numbers show up but all of the negative numbers show up blank.
Great way to not have to change your formula simply use a number format and you'll hide all the negative numbers.
Hey thanks for stopping by; we'll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,223,714
Messages
6,174,052
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top