Cell Formats, Displaying Only Positive Numbers

amarshall

New Member
Joined
Jan 7, 2004
Messages
7
I have two workbooks that are hard linked to each other. Can I format the sheet so that the only values shown are greater than 0.

One sheet has data

The second sheet has a nice display of this data in categories.
I want the second sheet to only display positive values.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
You can apply a custom number format to the cells, leaving the Negative and Zero value formats blank...
Code:
#,##0;;
 
Upvote 0
Use a custom number format along the lines of:

#,##0;;

or

0;;

or

#,##0.00;;

The first argument (args separated by semicolons) is for positives; 2nd is for negatives, third is for zeroes. If you omit 2nd and 3rd arguments, then nothing is displayed for negatives or zeroes. [Edit] Tommy was too quick for me! [EndEdit]
 
Upvote 0

Forum statistics

Threads
1,215,006
Messages
6,122,665
Members
449,091
Latest member
peppernaut

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