Record consolidation

tigerzen

Board Regular
Joined
Mar 8, 2023
Messages
209
Office Version
  1. 365
Platform
  1. Windows
I have the following situation. Information is recorded in separate rows which needs to be consolidated into a single row so that a single letter detailing each activity can be generated. The spreadsheet shows the current situation, row 9 and below shows the required output. Note, the person I'm helping is not familiar with Power Query so I'm seeking a formula based approach if possible. Next choice would be a macro if it's simple enough to adapt to the actual data.

Sample 2.xlsx
ABCDEFGHIJKLM
1NameFacultyWork completedHoursCost Centre
2SamMedicineLecture2Nursing
3SamArtsTutorial3Admin
4JackPsychologyLecture1Admin
5JackArtsTutorial4General
6JackArtsTutorial3General
7
8
9NameFacultyWork completedHoursCost CentreFacultyWork completedHoursCost CentreFacultyWork completedHoursCost Centre
10SamMedicineLecture2NursingArtsTutorial3Admin
11JackPsychologyLecture1AdminArtsTutorial4GeneralArtsTutorial3General
Sheet1
 
Nice, in particular the cType step
 
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,224,883
Messages
6,181,550
Members
453,052
Latest member
ezzat

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