Filtering Question - probably very basic...

leemim

New Member
Joined
Dec 7, 2016
Messages
10
Hi all, having a dilemma in work so I've created a dummy replica for the sake of simplicity - the answer should apply to my RL scenario.

In the example shown below, ABC Cleaning Company have a list of properties that they clean, and whether or not that property pays for cleaning in certain rooms (Yes = they pay, so the room gets cleaned. No = they don't pay, room isn't cleaned).

For some properties, ABC Cleaning Company outsources the cleaning of certain rooms, which is signified by "Outsourced" next to "Yes" in the provision column.

In my RL scenario, I have 3000+ "properties" and about 50+ "rooms" - what I want to do is filter the spreadsheet so that it shows ONLY properties where ABC Cleaning Company have NO responsibility WHATSOEVER. That means the property should either have all 'No' in the rooms, or 'Yes - Outsourced' (treating Outsourced as a 'No').

What is the best way of achieving this?

Thank you so much for your help in advance!



 
ok

so you need to look to see if the cell contains "outsourced" rather than equals "outsourced"
Also, when you get a N/a, im not sure how you are getting this error? I think i will need more info on the exact data within the cells so i can replicate it.

The formula below will check to see if the cell contains the word outsourced.

Code:
=IF(AND(OR(C4="NO",ISNUMBER(SEARCH("outsourced",D4))),OR(E4="NO",ISNUMBER(SEARCH("outsourced",F4))),OR(G4="NO",ISNUMBER(SEARCH("outsourced",H4))),OR(I4="NO",ISNUMBER(SEARCH("outsourced",J4))),OR(K4="NO",ISNUMBER(SEARCH("outsourced",L4))),OR(M4="NO",ISNUMBER(SEARCH("outsourced",N4)))),"no  responsibility","responsible")

out of intrest, when you get N/a, is there anything in particular you want the cell to display.

let me know, dave
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,216,100
Messages
6,128,830
Members
449,471
Latest member
lachbee

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