multiple criteria return word

jimtheeagle

New Member
Joined
Jan 15, 2013
Messages
31
Hi folks

Here is my problems

Reference Page
Office
Current/ Non-CurrentOption Type
DALCurrentROFO
DALNon-CurrentROFR
DALCurrentExtension
WDCCurrentROFO
WDCCurrentExpansion

<tbody>
</tbody>

Report Page
1AB
2OfficeROFO/ ROFR
3DALROFO
4WDCWDC
5
6

<tbody>
</tbody>

Looking for a formula for B3 and B4. I tried =IF(VLOOKUP(A3,Options!A:J,3,FALSE)="ROFO","ROFO","") but only returned "ROFO" and only if it was the first Option listed for that particular site. Also didnt take into account whether the option was still current.

So basically I am looking for a formula that:
-Returns either "ROFO", "ROFR" or ""
-Only gives a result if the Option is "Current"
-Doesnt need to be the first option listed for a particular site.

Thanks in advance.

James
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Have you tried a Pivot Table?


Excel 2012
AB
1Current/ Non-CurrentCurrent
2
3OfficeOption Type
4DALROFO
5WDCROFO
Sheet2


HTH,
 
Upvote 0
there is actually quite a few other rows and columns that I am not showing. So I would prefer to use formulas rather than a pivot table.
 
Upvote 0

Forum statistics

Threads
1,214,611
Messages
6,120,510
Members
448,967
Latest member
screechyboy79

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