Create a list using a lookup with ifs

hmiller

New Member
Joined
Sep 15, 2014
Messages
17
ABC
1Harry PotterY1
2Hermione Granger2
3Ron WeasleyY0
4Draco MalfoyY-1
5Neville Longbottom1
6Luna LovegoodY-2
7Ginny WeasleyY-1

<tbody>
</tbody>

I want to be able to return a list of people if column B and C match the conditions I specify. So for example, I want it so that if column B = "Y" and column C is <0 then it returns all values in column A that match that criteria, along with the value from column C. So in the above example if column B is Y and C is <0 it would give me

Draco Malfoy-1
Luna Lovegood-2
Ginny Weasley-1

<tbody>
</tbody>

Anyone able to help please?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I suspect it's not a lookup I need as I'm looking up more than one thing. It might be INDEX but that's not a function I've used before so wouldn't know where to start.
 
Upvote 0
If someone can do it so it only returns a list of names without the minus numbers then that's a start at least. I would ideally like the numbers though.
 
Upvote 0
Still haven't worked out how to do this. A pivot table won't work as it is going to be used as a template across several departments in school.
 
Upvote 0

Forum statistics

Threads
1,215,432
Messages
6,124,856
Members
449,194
Latest member
HellScout

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