Filter 4 columns at once

yuvalshabt

New Member
Joined
Jan 11, 2017
Messages
21
Office Version
  1. 2021
Platform
  1. Windows
Hi guys,

I have an excel file with inventory availability in 4 different warehouses:
warehouse 1
warehouse 2
warehouse 3
warehouse 4
Y
Y
Y
Y
Y
N
Y
N
N
N
N
N
N
N
N
Y

<tbody>
</tbody>

Y means that there is inventory in stock, N means that there is none.

How do I filter those 4 columns to show the entire row even if there is only one Y in one of the warehouses?

example: line 1 will show because all Y, line 2 will show because warehouse 1 has Y and line 4 will show because warehouse 4 has Y
line 3 will not show because all is empty

Any suggestions?

Thanks!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Try applying the following conditional formatting rule to range A2:D5 for, say, light-green fill:

=COUNTIF($A2:$D2,"Y")

then filter by color.
 
Upvote 0
Hi!

Another suggestion..

Insert the following in column E cell 2 and copy down the formula

=COUNTIF(A2:D2,"y")

Then filter column E for values greater than 1

HTH
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,936
Members
449,094
Latest member
teemeren

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