I'm truly stuck....

corppunishment11

Board Regular
Joined
Dec 7, 2018
Messages
51
I am trying to write a formula that will look at a constant data point (C2) and return all values related to C2. In other words, list all items from a different spreadsheet that refer to John Doe

Example:

=IFERROR(VLOOKUP($C$2,'sheet1'l$B$2:$C$153,2,FALSE),"")

For the first cell, it returns what I want.

C2: John Doe E2 shows, "1,000,000" perfect.

However, E3 through E150 also show, "1,000,000".

How do I get it to keep looking at C2 but return all of the other values?

Thanks!!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
This is great. Can I add multiple original data points?

John Doe
Frank Doe
Chris Doe

and just have it return the associated data like for John?
 
Upvote 0
I don't understand what you are saying.
 
Upvote 0
Okay. I'm sorry that I keep coming back because you clearly have provided me with enough help.

I cannot get this to translate to my sheet names now. I tried to substitute but no luck.

If you are willing here's what I have:
Yours: {=IFERROR(INDEX(Sheet1!$C$2:$C$28,SMALL(IF(Sheet1!$B$2:$B$28=$C$2,ROW(Sheet1!$B$2:$B$28)-ROW(Sheet1!$B$2)+1),ROWS($1:1))),"")}



Mine now:
Sheet one is:
{=IFERROR(INDEX(Pending!$C$2:$C$1128,SMALL(IF(Pending!$B$2:$B$1128=$b$5,ROW(Pending!$B$2:$B$1128)-ROW(Pending!$B$2)+1),ROWS($1:1))),"")}

I am not getting back the correct data and when I change the name on sheet 2 B5 it doesn't change anything.

Thank you if you can see what I'm doing wrong.
 
Upvote 0
Is the formula in sheet2?
Also if the dropdown is in C2, why did you change $C$2 to $B$5?
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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