Multiple if(or) or maybe I need if(and) Can I make this work?

Status
Not open for further replies.

corppunishment11

Board Regular
Joined
Dec 7, 2018
Messages
51
I've written nesting if(ands) but I'm wondering if I can have an If(or do what I want it to.

I'm looking to have one formula look at a set cell position A2 on sheet 1 "Bob Builder" and then compare that to sheet3 A2:A1000. If it's "Bob Builder" then return the values in sheet3 B2:B1000.

But I want that formula to use whatever name is in A2 on sheet 1 and return the value from sheet 3.

Example:

if sheet 1 A2 is "Bob Builder" and "Bob Builder" is on sheet3 A2:A1000 return value in sheet3 B2:B1000. If sheet 1 A2 is "Al Bore" then do the same thing....

Does this make sense? Can I have a nesting statement pull like that?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
What I need is to have a user choose the name on sheet one "Bob" then have it pull the data from sheet 3 for Bob.

VLookups just present the data. I'm looking to make it so the user has to choose the initial data point. The users only care about the data associated with the person they are reporting on.

Does that help? I have 7 names that correspond to 10,000 lines of different data on sheet 3
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,216,144
Messages
6,129,120
Members
449,488
Latest member
qh017

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