Got two sets of data that I want to compare against each other. Here's what the data sets look like -
<tbody>
</tbody>
I created a lookupkey that's a simple if statement to check if the contract is approved; if it is then Contract # and service are combined and a lookup key is populated. I need to filter out the non-approved contracts.
In table 2, I am trying to illustrate what services the supplier is approved to do:
<tbody>
</tbody>
The TRUE/FALSE results are what I am after....
Right now I have the following formula in the TRUE/FALSE cells (C2:E:4) -
=SUMPRODUCT(--ISNUMBER(SEARCH(LookupKey,$A2&";"&C$1)))>0
I think the second part of my search formula is throwing everything off with the text joins, but not sure how else to do this. Maybe it's as simple as a formatting issue?
Thanks for any help in advance!!!!
Contract # | Supplier | Approved? | Service | LookupKey |
1 | ABC Company | Yes | Trash Removal | 1;Trash Removal |
1 | ABC Company | Yes | Landscaping | 1; Landscaping |
2 | Bobs Company | No | Landscaping | |
3 | XYZ Company | Yes | Arborist | 3; Arborist |
<tbody>
</tbody>
I created a lookupkey that's a simple if statement to check if the contract is approved; if it is then Contract # and service are combined and a lookup key is populated. I need to filter out the non-approved contracts.
In table 2, I am trying to illustrate what services the supplier is approved to do:
Contract # | Supplier | Arborist | Landscaping | Trash Removal |
1 | ABC Company | FALSE | TRUE | TRUE |
2 | Bobs Company | FALSE | FALSE | FALSE |
3 | XYZ Company | TRUE | FALSE | FALSE |
<tbody>
</tbody>
The TRUE/FALSE results are what I am after....
Right now I have the following formula in the TRUE/FALSE cells (C2:E:4) -
=SUMPRODUCT(--ISNUMBER(SEARCH(LookupKey,$A2&";"&C$1)))>0
I think the second part of my search formula is throwing everything off with the text joins, but not sure how else to do this. Maybe it's as simple as a formatting issue?
Thanks for any help in advance!!!!