IF, VLOOKUP or something else?

cruyff73

New Member
Joined
Oct 7, 2016
Messages
32
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

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
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,226,114
Messages
6,189,052
Members
453,522
Latest member
Seeker2025

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