Formula to show values for each element in a summary table

Fractalis

Active Member
Joined
Oct 11, 2011
Messages
252
Hello to all,

Please your help.

I have items that appear several times in column A and respective values in column B.

I want to show as headers from D1:G1 the values in column A and all the values for each element.

May you help me with a Excel formula to get this goal please.

ABCDEFG
1BKL9BKLLINBJUTYP
2LIN19128
3BJU211543
4BJU47
5BKL11
6TYP8
7LIN5
8BKL7
9TYP3
10

<tbody>
</tbody>

Thanks in advance
 
Last edited:

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

azumi

Well-known Member
Joined
Jun 4, 2013
Messages
555
Put in D2 and copied croos and down until blank results

=IFERROR(INDEX($B$1:$B$9,AGGREGATE(15,6,(ROW($B$1:$B$9)-MIN(ROW($B$1:$B$9))+1)/($A$1:$A$9=D$1),ROW(A1))),"")
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,133,524
Messages
5,659,315
Members
418,496
Latest member
WHYCHumphrey

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
Top