IF ARRAY and MATCH for criteria met over several rows and columns to return yes or no

Ulli8

New Member
Joined
Jul 23, 2014
Messages
12
Hi there,

I would like the following SUMMARY sheet (sheet1) to count on a different tab if all items with an 8 in column B have a 'Y' next to them in column C, and return 'Yes', if so, and return 'No' if not. I think it needs to be an IF function with a MATCH over an ARRAY, but I am stuck.

Sheet1
RowABC
18Water Pressure - Consistently good water pressure throughout apartmentIf all rows that have 8 (a1) in column B on sheet 2 also have a 'Y' in column C on sheet 2 then return 'yes', if not, return 'No'should return "Yes"
29Water temperature - Consistently good water temperature throughout apartmentIf all rows that have 9 (a2) in column B on sheet 2 also have a 'Y' in column C on sheet 2 then return 'yes', if not, return 'No'should return "No"
319StuffIf all rows that have 19 (a3) in column B on sheet 2 also have a 'Y' in column C on sheet 2 then return 'yes', if not, return 'No'should return "No"

<tbody>
</tbody>


Sheet2
RowABC
1
When cold - Is speed /flow rate sufficient?

<tbody>
</tbody>
8Y
2
Is hot water hot?

<tbody>
</tbody>
9N
3
Is cold water cold?

<tbody>
</tbody>
9Y
4
Does the shower head drip?

<tbody>
</tbody>
190
5
Are taps level/ aligned when closed?

<tbody>
</tbody>
190
6
When hot - Is speed /flow rate sufficient?

<tbody>
</tbody>
8Y
7
When cold - Is speed /flow rate sufficient?

<tbody>
</tbody>
8Y
8
Is hot water hot?

<tbody>
</tbody>
9Y
9
Is cold water cold?

<tbody>
</tbody>
9Y
10
Does the shower head drip?

<tbody>
</tbody>
190
11
Are taps level/ aligned when closed?

<tbody>
</tbody>
190
12
When warm - Is speed /flow rate sufficient?

<tbody>
</tbody>
8Y

<tbody>
</tbody>

I would be very grateful for help!

Thank you!!!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Something like this:


Excel 2010
AB
18Yes
29No
319No
Sheet1
Cell Formulas
RangeFormula
B1=IF(AND(COUNTIF(Sheet2!B:B,Sheet1!A1)=COUNTIFS(Sheet2!B:B,Sheet1!A1,Sheet2!C:C,"Y"),COUNTIF(Sheet2!B:B,Sheet1!A1)>0),"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,447
Members
448,898
Latest member
drewmorgan128

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