Help with Cross-Criteria in Multiple Columns

Joined
Jul 27, 2017
Messages
24
Hi all,

I'm hoping there is a simple answer to this that I just haven't been able to think of. I simplified my issue into the two tables below, the first being my raw data table and the second being the basic reporting dashboard that I am building out.

Raw Data Table:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Unique ID[/TD]
[TD]State 1[/TD]
[TD]State 2[/TD]
[TD]State 3[/TD]
[TD]Impact?[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Texas[/TD]
[TD][/TD]
[TD][/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]California[/TD]
[TD]Texas[/TD]
[TD][/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Colorado[/TD]
[TD]Kansas[/TD]
[TD]California[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Maine[/TD]
[TD]New York[/TD]
[TD]Colorado[/TD]
[TD]No[/TD]
[/TR]
</tbody>[/TABLE]

Reporting Dashboard:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]State[/TD]
[TD]Impact?[/TD]
[/TR]
[TR]
[TD]Texas[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]California[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Colorado[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Kansas[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Maine[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]New York[/TD]
[TD]No[/TD]
[/TR]
</tbody>[/TABLE]

The formula I do not know how to create is whatever formula will fill out my "Impact?" column on my reporting dashboard. Is it a VLOOKUP with conditions? An IF Statement? Any help on this issue would be greatly appreciated, thanks in advance!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi all,

I'm hoping there is a simple answer to this that I just haven't been able to think of. I simplified my issue into the two tables below, the first being my raw data table and the second being the basic reporting dashboard that I am building out.

Raw Data Table:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Unique ID[/TD]
[TD]State 1[/TD]
[TD]State 2[/TD]
[TD]State 3[/TD]
[TD]Impact?[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Texas[/TD]
[TD][/TD]
[TD][/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]California[/TD]
[TD]Texas[/TD]
[TD][/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Colorado[/TD]
[TD]Kansas[/TD]
[TD]California[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Maine[/TD]
[TD]New York[/TD]
[TD]Colorado[/TD]
[TD]No[/TD]
[/TR]
</tbody>[/TABLE]

Reporting Dashboard:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]State[/TD]
[TD]Impact?[/TD]
[/TR]
[TR]
[TD]Texas[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]California[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Colorado[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Kansas[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Maine[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]New York[/TD]
[TD]No[/TD]
[/TR]
</tbody>[/TABLE]

The formula I do not know how to create is whatever formula will fill out my "Impact?" column on my reporting dashboard. Is it a VLOOKUP with conditions? An IF Statement? Any help on this issue would be greatly appreciated, thanks in advance!

assuming table 1 is in Sheet1 and table 2 is in Sheet2:

B2 = IF(SUM(IF((Sheet1!$B$2:$D$5=$A2)*(Sheet1!$E$2:$E$5="Yes"),1,0))>0,"Yes","No") press CTRL+SHIFT+ENTER
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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