Stoker
Mechanical
- Feb 21, 2001
- 204
I am importing data into an Excel table and need to rearrange the data. The problem is that the information for one person is brought into Excel on two separate rows, like this:
Last Name, First Name, ID Number
Blood Type, Height, Weight
I want to reorganize this data so that all the info for each person is on one row
Last Name, First Name, ID Number, Blood Type, Height, Weight
Then I can do the necessary charts and filter the data as required.
This process will be done regularly. The other complication is that several people will need to do this and some of these people are not very savvy with Excel. Therefore, I need to find a simple method of reorganizing this data that can be carried out by people with very little Excel knowledge. There are many records being imported and it can't be done manually. We have no control over the formatting of the data from the source.
Here is my current process:
use conditional formatting, with the criteria "=MOD(ROW(),2)=0", to change the fill color of every other row (every Blood Type, Height, Weight row gets blue fill)
use autofilter to filter out the colored rows, leaving only the Last Name, First Name, ID Number rows visible
copy and paste the Last Name, First Name, ID Number rows into a new worksheet
use autofilter on the original list to filter out the rows with no fill
copy and paste the Blood Type, Height, Weight rows into the new worksheet, to the right of the previously pasted data
Is there a better way to do this?
Last Name, First Name, ID Number
Blood Type, Height, Weight
I want to reorganize this data so that all the info for each person is on one row
Last Name, First Name, ID Number, Blood Type, Height, Weight
Then I can do the necessary charts and filter the data as required.
This process will be done regularly. The other complication is that several people will need to do this and some of these people are not very savvy with Excel. Therefore, I need to find a simple method of reorganizing this data that can be carried out by people with very little Excel knowledge. There are many records being imported and it can't be done manually. We have no control over the formatting of the data from the source.
Here is my current process:
use conditional formatting, with the criteria "=MOD(ROW(),2)=0", to change the fill color of every other row (every Blood Type, Height, Weight row gets blue fill)
use autofilter to filter out the colored rows, leaving only the Last Name, First Name, ID Number rows visible
copy and paste the Last Name, First Name, ID Number rows into a new worksheet
use autofilter on the original list to filter out the rows with no fill
copy and paste the Blood Type, Height, Weight rows into the new worksheet, to the right of the previously pasted data
Is there a better way to do this?