How to Merge and concatenate entries based on name

achusp

New Member
Joined
Aug 3, 2020
Messages
6
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I'm a beginner in excel. I'm struggling to achieve the result as given below. I have tried Indexing but it stops at the first instance.
I'm using Excel for MS 365 v2209

DATA TABLE

File IDFile NameResponsibleFile CommentsBlocking Issue
100001 FName 100001Person 1Comment 1Blocking Issue 1
100002FName 100002 Person 2Comment 2None
100003FName 100003Person 1Comment 3Blocking Issue 2
100004FName 100004Person 2Comment 4Blocking Issue 3
100005FName 100005Person 1Comment 5None


RESULTING TABLE

Sl. No.NameFILE IDFILE NAMECommentsBlocks
1Person 1100001FName 100001Comment 1Blocking Issue 1
2Person 1100003FName 100003Comment 3Blocking Issue 2
3Person 1100005FName 100005Comment 5None
4Person 2100002FName 100002Comment 2None
5Person 2100004FName 100004Comment 4Blocking Issue 3

OR

Sl. No.NameFILE IDFILE NAMECommentsBlocks
1Person 1100001

100003

100005
FName 100001

FName 100003

Fname 100005
Comment 1

Comment 3

Comment 5
Blocking Issue 1

Blocking Issue 2

None
2Person 2100002

100004
FName 100002

FName 100004
Comment 2

Comment 4
None

Blocking Issue 3


Is this possible using Excel commands only ? I have seen excel commands but I have no experience in VBA/Macros if they are needed for these.

Could someone please help me to figure out how I can achieve this?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
How about
Fluff.xlsm
ABCDEF
1File IDFile NameResponsibleFile CommentsBlocking Issue
2100001FName 100001Person 1Comment 1Blocking Issue 1
3100002FName 100002Person 2Comment 2None
4100003FName 100003Person 1Comment 3Blocking Issue 2
5100004FName 100004Person 2Comment 4Blocking Issue 3
6100005FName 100005Person 1Comment 5None
7
8
9
10Sl. No.NameFILE IDFILE NAMECommentsBlocks
111Person 1100001FName 100001Comment 1Blocking Issue 1
122Person 1100003FName 100003Comment 3Blocking Issue 2
133Person 1100005FName 100005Comment 5None
144Person 2100002FName 100002Comment 2None
155Person 2100004FName 100004Comment 4Blocking Issue 3
16
Data
Cell Formulas
RangeFormula
A11:F15A11=HSTACK(SEQUENCE(ROWS(A2:A6)),SORT(CHOOSECOLS(A2:E6,3,1,2,4,5)))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,924
Members
452,366
Latest member
TePunaBloke

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