Multiple if statements - issues

bluepenink

Well-known Member
Joined
Dec 21, 2010
Messages
585
All

I am having issues with embedding multiple if scenarios with OR/and logic.

In sheet1, column A = system titles
in sheet 1, column B = # of years
in sheet1, column C = if statement required (client titles)

in reference sheet, column A = system titles
in reference sheet, column B = client titles

it seems like a pretty simple, vlookup, however, there are couple of issues

a) if system title = Local Partner OR Principal OR Principal Economist OR Principal TaxAdvisor AND their # of years > 10 THEN column C in sheet1 = Sr Partner
b) if system title = Local Partner OR Principal OR Principal Economist OR Principal TaxAdvisor AND their # of years < 10 THEN column C in sheet1 = Partner
c) If none of A or B, then vlookup sheet1 column A to reference sheet columns A:B

How can I embed the logic above? I am confused! thxs so much!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Book1
ABC
1system title# of yearsclient title
2Local Partner9Partner
3Principal11Sr Partner
4Principal Economist9Partner
5Principal TaxAdvisor11Sr Partner
6Something10Else
Sheet1
Cell Formulas
RangeFormula
C2=IF(ISNUMBER(MATCH($A2,{"Local Partner","Principal","Principal Economist","Principal TaxAdvisor"},0)),IF($B2>10,"Sr Partner","Partner"),VLOOKUP($A2,Sheet2!$A:$B,2,FALSE))



Book1
AB
1system titleclient title
2SomethingElse
Sheet2


WBD
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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