Trying to retain data with multiple filters

flindip

New Member
Joined
Sep 5, 2017
Messages
5
Hi, I'm trying to filter out two seperate columns on spreadsheet with values of zeros. Basically, I want to filter the columns that BOTH contain values of zero(not just one). I was think of using a nested if statement(I am unsure if that is the most effective method). I'm pretty green at Excel, so any help would be welcome.

If you need more information, I will be glad to provide it(however, there are some confidentiality issues with the actual data).

Thank you.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Why not just filter both columns to show only zero
 
Upvote 0
Well, the reason is that both columns need to be the value of zero for me to filter it. One column can't be zero and the other column having a value(Excel doesn't seem to be able to distinquish).

The columns look something like this:

Product/ Client/ Cost/ Percentage Cost/ Unit/ Bulk

Unit AND bulk values need to BOTH be zero in order to filter the data(thats the requirement). If I have 5 in Unit and zero in Bulk(or vice-versa): Excel will just filter the entire row.

I apologize if I am not articulating this properly.
 
Upvote 0
Are you trying to hide rows where both are 0 or show them?
 
Upvote 0
I would assume hide. I just want to filter if BOTH unit/bulk are zero. I guess I could also just put in a placeholding value as well. But, filtering zero in the columns(individually)ends up eliminating columns with data in unit(or bulk).
 
Upvote 0
So you only want to hide columns where they BOTH are zero.
One way would be to use a helper column, that checks to see if they are both zero, something like this:
=AND(A2=0,B2=0)
and then filter on that column.
 
Upvote 0
So you only want to hide columns where they BOTH are zero.
One way would be to use a helper column, that checks to see if they are both zero, something like this:
=AND(A2=0,B2=0)
and then filter on that column.

Thank you both Fluff and Joe4. This seems to be what I am looking for. I will try to implement this later and see if it works. Thanks again, both of you...
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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