Hide all columns that only values of zero

Gain

New Member
Joined
Jun 4, 2012
Messages
45
I have a spreadsheet with a few hundred columns. Each column is a chemical, with the amount of that chemical released in the rows. I need to make this spreadsheet into a map. Right now, when you click on a point on the map, every chemical shows up with the amount of that chemical produced beside it. Most chemicals are not released, so when you click on the point, you see a table that is a few hundred rows long, showing values of zero beside the chemical. How can I hide/delete all columns that only have values of zero? and/or how can I hide/delete all cells within a column that have a value of zero?

I have access to excel 2007 and 2010. This webpage suggests seems to suggest that you have to use IFERROR in 2010 to do this:http://office.microsoft.com/en-us/excel-help/display-or-hide-zero-values-HP005199879.aspx . I don't quite understand how to use IFERROR to hide or delete cells

Thank you in advance :)
 
Last edited:

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,215,831
Messages
6,127,145
Members
449,363
Latest member
Yap999

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