Hi Guys,
Does anyone know how I can lookup the values in one row in sheet 2 (see tables below) and compare this with all rows in sheet 1?
If any of the cell values in one row in sheet 2 equal the values in any of the rows in sheet 1 then I would like to return the values 'TRUE' or 'FALSE' for each cell that is being compared.
Additionally I want to create a separate column which returns either TRUE if all of the values in one row within sheet 2 equal ALL of the values in any row in sheet 2 or else FALSE.
And for sheet 3 I was thinking of being able to do exactly the same thing as I did for sheet 2 but with mismatched columns.
Your help on this would be greatly appreciated!
sheet 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]id[/TD]
[TD]cd[/TD]
[TD]name[/TD]
[TD]rating[/TD]
[TD]number[/TD]
[TD]client[/TD]
[/TR]
[TR]
[TD]1032444[/TD]
[TD]913[/TD]
[TD]ethe[/TD]
[TD]low[/TD]
[TD]33[/TD]
[TD]ybr[/TD]
[/TR]
[TR]
[TD]9103452[/TD]
[TD]242[/TD]
[TD]nab[/TD]
[TD]high[/TD]
[TD]77[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7783455[/TD]
[TD]455[/TD]
[TD]roshe[/TD]
[TD]medium[/TD]
[TD]50[/TD]
[TD]mac[/TD]
[/TR]
[TR]
[TD]2489990[/TD]
[TD]899[/TD]
[TD]stry[/TD]
[TD]low[/TD]
[TD]90[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1345662[/TD]
[TD]231[/TD]
[TD]iot[/TD]
[TD]high[/TD]
[TD]40[/TD]
[TD]nre[/TD]
[/TR]
[TR]
[TD]1345662[/TD]
[TD]231[/TD]
[TD]iot[/TD]
[TD]high[/TD]
[TD]90[/TD]
[TD]med[/TD]
[/TR]
</tbody>[/TABLE]
sheet 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]id[/TD]
[TD]cd[/TD]
[TD]name[/TD]
[TD]rating[/TD]
[TD]number[/TD]
[TD]client[/TD]
[/TR]
[TR]
[TD]1032444[/TD]
[TD]913[/TD]
[TD]ethe[/TD]
[TD]medium[/TD]
[TD]40[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1032444[/TD]
[TD]913[/TD]
[TD]ethe[/TD]
[TD]high[/TD]
[TD]23[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1032444[/TD]
[TD]913[/TD]
[TD]ethe[/TD]
[TD]low[/TD]
[TD]33[/TD]
[TD]ypr[/TD]
[/TR]
[TR]
[TD]9103452[/TD]
[TD]242[/TD]
[TD]nab[/TD]
[TD]high[/TD]
[TD]77[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7783455[/TD]
[TD]455[/TD]
[TD]roshe[/TD]
[TD]medium[/TD]
[TD]50[/TD]
[TD]mac[/TD]
[/TR]
[TR]
[TD]2489990[/TD]
[TD]899[/TD]
[TD]stry[/TD]
[TD]low[/TD]
[TD]90[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1345662[/TD]
[TD]231[/TD]
[TD]iot[/TD]
[TD]high[/TD]
[TD]35[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1345662[/TD]
[TD]231[/TD]
[TD]iot[/TD]
[TD]high[/TD]
[TD]90[/TD]
[TD]med[/TD]
[/TR]
</tbody>[/TABLE]
sheet 3
[TABLE="width: 500"]
<tbody>[TR]
[TD]name[/TD]
[TD]rating[/TD]
[TD]number [/TD]
[TD]id[/TD]
[TD]client[/TD]
[TD]cd[/TD]
[/TR]
[TR]
[TD]ethe[/TD]
[TD]low[/TD]
[TD]33[/TD]
[TD]1032444[/TD]
[TD]ypr[/TD]
[TD]913[/TD]
[/TR]
[TR]
[TD]nab[/TD]
[TD]high[/TD]
[TD]77[/TD]
[TD]9103452[/TD]
[TD][/TD]
[TD]242[/TD]
[/TR]
[TR]
[TD]roshe[/TD]
[TD]medium[/TD]
[TD]50[/TD]
[TD]7783455[/TD]
[TD]mac[/TD]
[TD]455[/TD]
[/TR]
[TR]
[TD]stry[/TD]
[TD]low[/TD]
[TD]90[/TD]
[TD]2489990[/TD]
[TD][/TD]
[TD]899[/TD]
[/TR]
[TR]
[TD]iot[/TD]
[TD]high[/TD]
[TD]40[/TD]
[TD]1345662[/TD]
[TD]nre[/TD]
[TD]231[/TD]
[/TR]
[TR]
[TD]iot[/TD]
[TD]high[/TD]
[TD]90[/TD]
[TD]1345662[/TD]
[TD]med[/TD]
[TD]231[/TD]
[/TR]
</tbody>[/TABLE]
Does anyone know how I can lookup the values in one row in sheet 2 (see tables below) and compare this with all rows in sheet 1?
If any of the cell values in one row in sheet 2 equal the values in any of the rows in sheet 1 then I would like to return the values 'TRUE' or 'FALSE' for each cell that is being compared.
Additionally I want to create a separate column which returns either TRUE if all of the values in one row within sheet 2 equal ALL of the values in any row in sheet 2 or else FALSE.
And for sheet 3 I was thinking of being able to do exactly the same thing as I did for sheet 2 but with mismatched columns.
Your help on this would be greatly appreciated!
sheet 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]id[/TD]
[TD]cd[/TD]
[TD]name[/TD]
[TD]rating[/TD]
[TD]number[/TD]
[TD]client[/TD]
[/TR]
[TR]
[TD]1032444[/TD]
[TD]913[/TD]
[TD]ethe[/TD]
[TD]low[/TD]
[TD]33[/TD]
[TD]ybr[/TD]
[/TR]
[TR]
[TD]9103452[/TD]
[TD]242[/TD]
[TD]nab[/TD]
[TD]high[/TD]
[TD]77[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7783455[/TD]
[TD]455[/TD]
[TD]roshe[/TD]
[TD]medium[/TD]
[TD]50[/TD]
[TD]mac[/TD]
[/TR]
[TR]
[TD]2489990[/TD]
[TD]899[/TD]
[TD]stry[/TD]
[TD]low[/TD]
[TD]90[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1345662[/TD]
[TD]231[/TD]
[TD]iot[/TD]
[TD]high[/TD]
[TD]40[/TD]
[TD]nre[/TD]
[/TR]
[TR]
[TD]1345662[/TD]
[TD]231[/TD]
[TD]iot[/TD]
[TD]high[/TD]
[TD]90[/TD]
[TD]med[/TD]
[/TR]
</tbody>[/TABLE]
sheet 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]id[/TD]
[TD]cd[/TD]
[TD]name[/TD]
[TD]rating[/TD]
[TD]number[/TD]
[TD]client[/TD]
[/TR]
[TR]
[TD]1032444[/TD]
[TD]913[/TD]
[TD]ethe[/TD]
[TD]medium[/TD]
[TD]40[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1032444[/TD]
[TD]913[/TD]
[TD]ethe[/TD]
[TD]high[/TD]
[TD]23[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1032444[/TD]
[TD]913[/TD]
[TD]ethe[/TD]
[TD]low[/TD]
[TD]33[/TD]
[TD]ypr[/TD]
[/TR]
[TR]
[TD]9103452[/TD]
[TD]242[/TD]
[TD]nab[/TD]
[TD]high[/TD]
[TD]77[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7783455[/TD]
[TD]455[/TD]
[TD]roshe[/TD]
[TD]medium[/TD]
[TD]50[/TD]
[TD]mac[/TD]
[/TR]
[TR]
[TD]2489990[/TD]
[TD]899[/TD]
[TD]stry[/TD]
[TD]low[/TD]
[TD]90[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1345662[/TD]
[TD]231[/TD]
[TD]iot[/TD]
[TD]high[/TD]
[TD]35[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1345662[/TD]
[TD]231[/TD]
[TD]iot[/TD]
[TD]high[/TD]
[TD]90[/TD]
[TD]med[/TD]
[/TR]
</tbody>[/TABLE]
sheet 3
[TABLE="width: 500"]
<tbody>[TR]
[TD]name[/TD]
[TD]rating[/TD]
[TD]number [/TD]
[TD]id[/TD]
[TD]client[/TD]
[TD]cd[/TD]
[/TR]
[TR]
[TD]ethe[/TD]
[TD]low[/TD]
[TD]33[/TD]
[TD]1032444[/TD]
[TD]ypr[/TD]
[TD]913[/TD]
[/TR]
[TR]
[TD]nab[/TD]
[TD]high[/TD]
[TD]77[/TD]
[TD]9103452[/TD]
[TD][/TD]
[TD]242[/TD]
[/TR]
[TR]
[TD]roshe[/TD]
[TD]medium[/TD]
[TD]50[/TD]
[TD]7783455[/TD]
[TD]mac[/TD]
[TD]455[/TD]
[/TR]
[TR]
[TD]stry[/TD]
[TD]low[/TD]
[TD]90[/TD]
[TD]2489990[/TD]
[TD][/TD]
[TD]899[/TD]
[/TR]
[TR]
[TD]iot[/TD]
[TD]high[/TD]
[TD]40[/TD]
[TD]1345662[/TD]
[TD]nre[/TD]
[TD]231[/TD]
[/TR]
[TR]
[TD]iot[/TD]
[TD]high[/TD]
[TD]90[/TD]
[TD]1345662[/TD]
[TD]med[/TD]
[TD]231[/TD]
[/TR]
</tbody>[/TABLE]