Automatically move cell data into new row

reboot88

New Member
Joined
May 28, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi!
First time asking a question!
I have a Microsoft Form I'm getting my team to fill in regularly. While it would be easier for me if they filled in a separate form for each staff member they spoke to, they'd prefer to do one form per event, with multiple staff. This is because there are a lot of details about the event that are the same for each staff member. I've simplified it here for a sample. When the form is completed into excel online, I get this:

Event descriptionEvent categoryEvent dateStaff NameStaff IDStaff Work LocationStaff 2 NameStaff 2 IDStaff 2 Work LocationStaff 3 NameStaff 3 IDStaff 3 Work Location
Event 1Red
5/24/2020​
Staff11111OfficeStaff22222HomeStaff33333On site

What I'm aiming for is something that looks like this:

Event descriptionEvent categoryEvent dateStaff NameStaff IDStaff Work Location
Event 1Red
24/05/2020​
Staff11111Office
Event 1Red
24/05/2020​
Staff22222Home
Event 1Red
24/05/2020​
Staff33333On site

Should I be trying to use power automate? Or is there a formula i can use that will automatically move this data around?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Welcome to the Board!

This can be done with VBA, if that is an acceptable solution for you.
One question though, how many different Staff IDs might you have on a single row? Is 3 the maximum, or might you have more than that?
Is it safe to assume that your data grid starts in cell A1, so your first row of data is on row 2 (since row 1 would contain the headers)?
 
Upvote 0

Forum statistics

Threads
1,215,746
Messages
6,126,642
Members
449,325
Latest member
Hardey6ix

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