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!!
 
Try
=IFERROR(INDEX('Pending Data'!$C$2:$C$1364,SMALL(IF('Pending Data'!$B$2:$B$1364=$B$5,ROW('Pending Data'!$B$2:$B$1364)-ROW('Pending Data'!$B$2)+1),ROWS($1:1))),"")
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
This is the data on the Pending Data sheet

B2 C2

#N/A723516
#N/AA78276
#N/A00581
#N/A13532
#N/A13533
SMITH, JOHN13333
SMITH, JOHN551
SMITH, JOHN635
SMITH, JOHN12130
SMITH, JOHN13350
SMITH, JOHN13714
SMITH, JOHN978
DOE, JOHN1088
DOE, JOHN1153
SMITH, CHRIS1154

<colgroup><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
You need to get rid of the #N/A values, otherwise it won't work
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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