Multiple Lookup Values

seguin85

Active Member
Joined
Mar 17, 2015
Messages
278
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have two tables similar to the following:
1.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Code[/TD]
[TD]op1[/TD]
[TD]op2[/TD]
[TD]op3[/TD]
[TD]op4[/TD]
[TD]op5[/TD]
[TD]op6[/TD]
[TD]op7[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]ABC123[/TD]
[TD]XY[/TD]
[TD]none[/TD]
[TD]ZZ[/TD]
[TD]WR[/TD]
[TD]none[/TD]
[TD]none[/TD]
[TD]LUG[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]XYZ789[/TD]
[TD]none[/TD]
[TD]none[/TD]
[TD]ZZ[/TD]
[TD]none[/TD]
[TD]LUG[/TD]
[TD]XY[/TD]
[TD]none[/TD]
[/TR]
</tbody>[/TABLE]
In this table each of the options has a drop down from a defined list.

2.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Step#[/TD]
[TD]XY[/TD]
[TD]XX[/TD]
[TD]WR[/TD]
[TD]LUG[/TD]
[TD]FSJ[/TD]
[TD]ZZ[/TD]
[TD]PSN[/TD]
[TD]WEI[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Step1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Step2[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]

What I want is a formula that will return 1 if any of the options in the #1 table have a 1 in the #2 table or return 0 if none of the options are met.
Any suggestions on where to get started?
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
G'day seguin85,

A little more information may help get an answer.
Where do you want the "1" to appear if the conditions are met?
Do you only want one "1" or is it a "1" for every time the conditions are met for each option?

Cheers

shane
 
Upvote 0
It will be on a second sheet, but in column I on table 1 will do and I can reference that from that page. Also, I just want 1 if any conditions are met and 0 if none are met. Thanks!
 
Upvote 0
Can you state what the results for your sample data should be and set out the steps that you would do manually to get those results?
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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