Help with either INDEX or VLook return for multiple values horizontally

dmxcasper2

Board Regular
Joined
Mar 21, 2012
Messages
65
Description of problem: I need help with utilizing V-Look like function to match values between 2 sheets and pull multiple values and report them horizontally.

Data to pull from sheet "All Items Pivot".
Trying to match vlues from Column B.

Data to pull.JPG


Data to compare from sheet "JK Item listing".
Trying to match values from Column A.


Result.JPG


The matching values will need to pull into sheet "KJ Item Listing" into Column E for values occuring only once. For values occuirng twice to pull into Column E and F. Etc.

Any help is appreciated.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

So assuming that you have Excel 365 with the FILTER function, then in E2 of 'JK Item Listing' & copy down (results should automatically 'spill' to the right)

Excel Formula:
=TRANSPOSE(FILTER('All Items Pivot'!D$4:D$1000,'All Items Pivot'!B$4:B$1000=A2,""))

For the future also best if you give your sample data and results with XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with. And keep your sample data small so that helpers can see the connection between your data and results. In your image we cannot see any of the data from col A of 'JK Item Listing' in col B of 'All Items Pivot'.
 
Upvote 0
So assuming that you have Excel 365 with the FILTER function
If that is not the case, then try this in E2 of 'JK Item Listing' & copy across and down

Excel Formula:
=IFERROR(INDEX('All Items Pivot'!$D:$D,AGGREGATE(15,6,ROW('All Items Pivot'!$B$4:$B$1000)/('All Items Pivot'!$B$4:$B$1000=$A2),COLUMNS($E:E))),"")
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,246
Members
449,075
Latest member
staticfluids

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