Reverse vlookup for multiple values

toshi110

New Member
Joined
Nov 17, 2017
Messages
2
I am working on Top10 summary table where Top 10 summary is created based on value selected in $C$1. The problem is that i have multiple same entries in Column C, i am struggling to get multiple values. Any help would be appreciated :

=IF(COUNTIF(C:D,C2)<2,INDEX(R:R,MATCH(C2,INDIRECT(IF(OR($C$1=$F$1,$C$1=$G$1,$C$1=$H$1,$C$1=$I$1),CHAR(MATCH("Average of "&$C$1,$R$4:$Z$4,0)+17+64),CHAR(MATCH("Sum of "&$C$1,$R$4:$Z$4,0)+17+64))&":"&IF(OR($C$1=$F$1,$C$1=$G$1,$C$1=$H$1,$C$1=$I$1),CHAR(MATCH("Average of "&$C$1,$R$4:$Z$4,0)+17+64),CHAR(MATCH("Sum of "&$C$1,$R$4:$Z$4,0)+17+64))),0),1),What to put here):
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Welcome to the forum.

It would be easier to help if you could post a sample of your data, with the expected results. Trying to decipher a partial formula is tricky, especially without seeing what it's doing. The HTML Maker in my signature might help you post something.
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,029
Members
452,542
Latest member
Bricklin

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