how to show text of same id's in one row

Arun Kurmi

New Member
Joined
Aug 14, 2024
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
There are only two colums. first one is Name and second is id. For an id may be varios name for ex id 1 is for arun and vivek but my sheet have this in two row . i want result in one row
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
h[
 

Attachments

  • Screenshot (39).png
    Screenshot (39).png
    96.4 KB · Views: 3
Upvote 0
Try this. (You may need to confirm with Ctrl+Shift+Enter with your excel version)

24 08 14.xlsm
ABCDE
1
2id
3Name 111Name 1, Name 2, Name 3
4Name 212Name 4
5Name 313Name 5, Name 6, Name 7
6Name 424Name 8, Name 9
7Name 535Name 10
8Name 63  
9Name 73  
10Name 84  
11Name 94  
12Name 105  
IDs
Cell Formulas
RangeFormula
D3:D12D3=IFERROR(INDEX($B$3:$B$100,MATCH(0,INDEX(COUNTIF($D$2:D2,$B$3:$B$100)+(B$3:B$101=""),0),0)),"")
E3:E12E3=IF(D3="","",TEXTJOIN(", ",,IF(B3:B1100=D3,A3:A100,"")))
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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