Multiple Conditions and Multiple Worksheets

sfdan

New Member
Joined
Sep 10, 2012
Messages
4
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:

  • 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 1Worksheet 2Worksheet 3
RestrictionXYZSedolXYZ WeightSedolRestrictionXYZ Restricted
TobaccoTrue/FalseB17MMZ41B17MMZ4N. Ireland
N. IrelandTrue/False405780824057808N. Ireland
IranTrue/FalseB39GHT73B39GHT7Tobacco1
6378217-6378217Sudan
610018656100186Sudan
B298VS3-B298VS3Sudan
655799776557997Sudan/Iran1
B3W5NN78B3W5NN7Sudan

<tbody>
</tbody>
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
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:

  • 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 1Worksheet 2Worksheet 3
RestrictionXYZSedolXYZ WeightSedolRestrictionXYZ Restricted
TobaccoTrue/FalseB17MMZ41B17MMZ4N. Ireland
N. IrelandTrue/False405780824057808N. Ireland
IranTrue/FalseB39GHT73B39GHT7Tobacco1
6378217-6378217Sudan
610018656100186Sudan
B298VS3-B298VS3Sudan
655799776557997Sudan/Iran1
B3W5NN78B3W5NN7Sudan

<tbody>
</tbody>

if I take this correctly.
If there is match to in Sheet 3(Tobacco) and this return value has a match in Sheet 2(B39GHT7) the result in Sheet1 is True/False?
Are there any other condition?
Like Sudan -its meets the same condtion but is not on your return Sheet 1
 
Upvote 0
If there is match to in Sheet 3(Tobacco) and this return value has a match in Sheet 2(B39GHT7) the result in Sheet1 is True/False?

Yes, it should be TRUE in Worksheet 1.

The conditions for "TRUE" include: 1) the weight should be greater than 0; 2) the XYZ restricted must be equal to 1; 3) The Sedols must match 4) the Restriction (tobacco, Sudan) must match the summary in Worksheet 1. It would be also be great if the formula could recognize that Iran includes Sudan/Iran...
 
Upvote 0
Yes, it should be TRUE in Worksheet 1.

4) the Restriction (tobacco, Sudan) must match the summary in Worksheet 1.
What's summary?
And if your lookuop was Sudan you have got Sudan with no Restricstion and Sudan/Iran with Restriction.
What's the expect result?
 
Upvote 0
What's summary?
And if your lookuop was Sudan you have got Sudan with no Restricstion and Sudan/Iran with Restriction.
What's the expect result?

Sorry, the summary would be Worksheet 1: TRUE/FALSE. The objective of that worksheet is to indicate if any of the restricted SEDOLs in Worksheet 3 are held by XYZ, as indicated in Worksheet 2. Worksheet 1 would summarize the results by catagory (i.e. Sudan, Iran, Tobacco, etc.).

Obviously, the workbook is much larger that shown above, I was trying simplify it somewhat for this exercise.
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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