Vlookup Work Around

spyldbrat

Board Regular
Joined
May 5, 2002
Messages
211
Office Version
  1. 365
I am using a vlookup, The problem is that some of data in my look up column is not unique and it's only returning the first row of data on both rows where I have my lookup. I understand that this is how vlookups work, but is there any way for it to show the second row of data if the first row has already been selected? Unfortunately, I can not make my lookup column any more "unique" than what is already there.

1602017419491.png


1602017583960.png
 
Hello, reposting my question in hopes that someone else can answer this?

Hi..after a lot attempts, I finally got your formula to work :). Is there a way that if the data does not exist in on my source tab (P Pivot), that I can have it look for the information on a second tab (R Pivot)? This is what I came up with but it's not working:

=IF(ISNA(A8="","",INDEX('P Pivot'!C$2:C$9999,AGGREGATE(15,6,ROW('P Pivot'!$C$2:$C$9999)-ROW('P Pivot'!$C$1)/('P Pivot'!$C$2:$C$9999=$C8),COUNTIF($B$1:$B8,$B8),(A8="","",INDEX('R Pivot'!C$2:C$9999,AGGREGATE(15,6,ROW('R Pivot'!$C$2:$C$9999)-ROW('R Pivot'!$C$1)/(R Pivot'!$C$2:$C$9999=$C8),COUNTIF($B$1:$B8,$B8))))
 
Upvote 0

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,215,577
Messages
6,125,637
Members
449,242
Latest member
Mari_mariou

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