IF, VLOOKUP or something else?

cruyff73

New Member
Joined
Oct 7, 2016
Messages
29
I have 2 tables of data and want to create a search function for a colleague to display the specific data from the relevant table. I'm probably overthinking this (it's Friday after all!)

Easy to do if I just want to show details of one table using this:

=IF(AND($B$4="FR5",$B$5="Productivity",$B$6="August"),FR5PR!B318)

but what/how do I add to this if I wanted to say -

OR

=IF(AND($B$4="FR5",$B$5="Reject",$B$6="August"),FR5PR!B379)

Thanks in advance
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Never describe a problem for which you seek a solution by means of Excel formulas instead of just words...

Perhaps something like:

=IF(AND($B$4="FR5",$B$6="August"),IF($B$5="Productivity",FRPR5!B318,IF($B$5="Reject",FRPR5!B379,"")),"")
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,937
Members
449,195
Latest member
Stevenciu

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