Merging Rows with Different Data

DarkV

New Member
Joined
Feb 24, 2016
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi
I have data from a Microsoft Form which is used to update staff details, and I need to be able to combine rows from the same colleague to retain only the latest information in a single row (there are other sheets in workbook which use various Index/Match functions, which then only return the first value found, and it's missing critical information. Data from the MS form means that different columns will be updated at different times, or at the same time. I've tried Consolidate, but can't seem to get this to work as I need it to; staff can update the same element multiple times, or different elements at different times. Below is an example of the data I might need to consolidate:

ID (from MS Forms)NameStaff NoStore NumberCourse StartManager Name
1Emmett Brown123411
2Marty McFly456722
3Martin Tenbones8901
4Marty McFly45672219/09/2022
5Emmett Brown1234Gordon Gecko

Staff need to input their name and staff number every time, but then only need to enter the details that change. I've tried sorting the data on the sheet in different ways, but it doesn't give the consistency that merging would allow. What I need to do is to merge lines with the same staff number (as a primary ID) keeping the latest data in each column (the real sheet has 31 columns).

Any thoughts or suggestions would be appreciated!

TIA

Dark V
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,215,444
Messages
6,124,892
Members
449,194
Latest member
JayEggleton

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