Filter 4 columns at once

yuvalshabt

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

I have an excel file with inventory availability in 4 different warehouses:
[TABLE="width: 500"]
<tbody>[TR]
[TD]warehouse 1
[/TD]
[TD]warehouse 2
[/TD]
[TD]warehouse 3
[/TD]
[TD]warehouse 4
[/TD]
[/TR]
[TR]
[TD]Y
[/TD]
[TD]Y
[/TD]
[TD]Y
[/TD]
[TD]Y
[/TD]
[/TR]
[TR]
[TD]Y
[/TD]
[TD]N
[/TD]
[TD]Y
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]N
[/TD]
[TD]N
[/TD]
[TD]N
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]N
[/TD]
[TD]N
[/TD]
[TD]N
[/TD]
[TD]Y
[/TD]
[/TR]
</tbody>[/TABLE]

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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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