I am working with a database that contains the following information
(This the the data array)
NAME | NUMBER | TYPE
In the name column, there are duplicate names.
In the "type" column, they're are multiple types:
"WORK,HOME,FAX,EMAIL,RADIO,OTHER"
My dilema is, I'm trying to create a formula so that the following happens.
I want to have Excel sort by "type," then transition the "numbers" from the original column "type" to new columns equal to their "type"
Example:
(Original Data)
NAME | NUMBER | TYPE
Jeff | 1234567 | HOME
John | 7654321 | WORK
John | 8765432 | HOME
(After Macro or Formula or Both) I'd also assume on "Sheet Two"
NAME | NUMBER | TYPE | HOME | WORK | FAX | OTHER | RADIO |
Jeff |............|............|1234567 |.............|...........|............|............|
John |............|............|8765432 |7654321 |...........|............|............|
As you can see the formula, and/or Macro automattically determines three things:
1. It locates the data from column 2 and places it into the proper column whereas the data in column 3 = header row of column(s) 4-8.
2. If the "type" data matches the header text, the data in column 2 moves to the the correct column.
3. If there is a duplicate name in column 1, the formula will enter the data into the proper column, but will enter the data into the topmost duplicate named row, and then when all data from column 2 is moved, it will delete the extra duplicate rows.
I'm going crazy trying to get this done so that excel can automate this time consuming process.
I get lists 600+ and I need to reorder them according to the above format, it
would be extremely helpful if one the gurus on this site could help me with some general or advanced formulas!
Thanks,