Matching Rows and appending field at the end

Hastings

New Member
Joined
Feb 14, 2024
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Please see the example.
I want to take all the matching rows and add the employee name in the 5th column to the end of the row.

Project #TypeTaskDescriptionAssigned To
HCC939NADesignCreate Design for customerBob Smith
HCC939NADesignCreate Design for customerFrank Jones
HCC939NADesignCreate Design for customerTom French
HCC939NADevPoint of Sale Credit Card system creationTed Brown
HCC939NADevPoint of Sale Credit Card system creationEd Black
Project #TypeTaskDescriptionAssigned ToAssigned ToAssigned ToAssigned To
HCC939NADesignCreate Design for customerBob SmithFrank JonesTom French
HCC939NADevPoint of Sale Credit Card system creationTed BrownEd Black
since rows 2,3,4 are the same in columns A-B-C-D I want to produce a row like row 9 with the names appened to the end.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
One option.
Book1
ABCDEFG
1Project #TypeTaskDescriptionAssigned To
2HCC939NADesignCreate Design for customerBob Smith
3HCC939NADesignCreate Design for customerFrank Jones
4HCC939NADesignCreate Design for customerTom French
5HCC939NADevPoint of Sale Credit Card system creationTed Brown
6HCC939NADevPoint of Sale Credit Card system creationEd Black
7
8
9HCC939NADesignCreate Design for customerBob SmithFrank JonesTom French
10HCC939NADevPoint of Sale Credit Card system creationTed BrownEd Black
Sheet1
Cell Formulas
RangeFormula
A9:D10A9=UNIQUE(A2:D6)
E9:G9,E10:F10E9=TOROW(FILTER($E$2:$E$6,BYROW(--(A9:D9=$A$2:$D$6),LAMBDA(r,SUM(r)))=4))
Dynamic array formulas.
 
Upvote 0
If You've got XL365 lets use some its functions:

Book1
ABCDEFGH
1Project #TypeTaskDescriptionAssigned To
2HCC939NADesignCreate Design for customerBob Smith
3HCC939NADesignCreate Design for customerFrank Jones
4HCC939NADesignCreate Design for customerTom French
5HCC939NADevPoint of Sale Credit Card system creationTed Brown
6HCC939NADevPoint of Sale Credit Card system creationEd Black
7
8
9Project #TypeTaskDescriptionAssigned ToAssigned ToAssigned ToAssigned To
10HCC939NADesignCreate Design for customerBob SmithFrank JonesTom French
11HCC939NADevPoint of Sale Credit Card system creationTed BrownEd Black
12
Sheet1
Cell Formulas
RangeFormula
A10:D11A10=LET(a,$A$2:$D$6,UNIQUE(a))
E10:G10,E11:F11E10=TRANSPOSE(FILTER($E$2:$E$6,($A$2:$A$6=$A10)*($D$2:$D$6=$D10)))
Dynamic array formulas.
 
Upvote 0
Solution
This worked great it did repeat the last colum on a few not sure why.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
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