I have an excel spreadsheet that is in a terrible layout and I need to change it.
I know I need to convert some columns into rows and copy a number multiple times - because it's hard to explain I've attached part of the document (there are still more colums that are not included).
See below for a short example of how it looks and how I want it to look:
Currently it looks like this: (number is in row A - and Date \ Quantity in row B -- only two rows so first number (with the - s is in row A and all the remaining information is in row B)
Number Date \ Quantity
02-88616-2046 4-Jul-2011\5000|8-Aug-2011\5000
02-88479-247 4-Jul-2011\4000|25-Jul-2011\4000|19-Sep-2011\4000|9-Jan-2012 \4500|5-Mar-2012\4500
I would like for it to look like this (all of the #s with -s in row A -repeating if necessary - all of the QTYs in row B - and all of the dates in row C):
# QTY Date
02-88616-2046 5000 07/04/2011
02-88616-2046 5000 08/08/2011
02-88479-247 4000 07/04/2011
02-88479-247 4000 07/25/2011
02-88479-247 4000 09/19/2011
02-88479-247 4500 01/09/2012
02-88479-247 4500 03/05/2012
and so on....
I think a macro would be easiest to do this because there's so many columns to do (around 560)
Please help! I'm totally lost on how to complete this project.
Thanks!
Bookmarks