Hello,
I trying to figure out a formula in Worksheet 1 that will compare the holdings in Worksheet 2 to the restrictions in Worksheet 3. I've included a table below, but please note the following:
I would post what I've come up with so far, but it not even close to working correctly...any help would be appreciated. My head is hurting on this one!!
<tbody>
</tbody>
I trying to figure out a formula in Worksheet 1 that will compare the holdings in Worksheet 2 to the restrictions in Worksheet 3. I've included a table below, but please note the following:
- The restrictions are identified by the sedol.
- The XYZ Weight in Worksheet 2 indicates the security is held, maybe have zeros or blanks.
- The Restriction a described in Worksheet 3 may contain the description in Worksheet 1, but may not be exact. (i.e. Iran should include Sudan/Iran)
- The XYZ Restricted in Worksheet 3 is only a true/false indication: 1 = true
- The ending result in Worksheet 1 can be True/False
I would post what I've come up with so far, but it not even close to working correctly...any help would be appreciated. My head is hurting on this one!!
Worksheet 1 | Worksheet 2 | Worksheet 3 | ||||||
Restriction | XYZ | Sedol | XYZ Weight | Sedol | Restriction | XYZ Restricted | ||
Tobacco | True/False | B17MMZ4 | 1 | B17MMZ4 | N. Ireland | |||
N. Ireland | True/False | 4057808 | 2 | 4057808 | N. Ireland | |||
Iran | True/False | B39GHT7 | 3 | B39GHT7 | Tobacco | 1 | ||
6378217 | - | 6378217 | Sudan | |||||
6100186 | 5 | 6100186 | Sudan | |||||
B298VS3 | - | B298VS3 | Sudan | |||||
6557997 | 7 | 6557997 | Sudan/Iran | 1 | ||||
B3W5NN7 | 8 | B3W5NN7 | Sudan |
<tbody>
</tbody>