Hello. I have been tasked with cleaning up an old spreadsheet with over 14,000 rows of data. Essentially the spreadsheet was designed to track when something was done, and the initials of the person who performed the action. When the spreadsheet was first used both the initials and the date were put into the same column. Eventually that practice was stopped and the initials were put into a new column to the left of the date. Where initials exist in the date column, I need to separate them out of the date column and put them into the Initials column.
BEFORE EXAMPLE:
Initials Date
ab 1/1/2000
ab 1/2/2000
bc 1/10/2009
ab 1/3/2000
ab 1/4/2000
bc 1/11/2009
AFTER EXAMPLE:
Initials Date
ab 1/1/2000
ab 1/2/2000
bc 1/10/2009
ab 1/3/2000
ab 1/4/2000
bc 1/11/2009
As the example shows, this pattern is not contiguous, so it would be hard to use "Text to Columns" for this. The cells are also part of an array (which I don't fully understand), so I cannot sort by date.
Is there a way to automate running "Text to Columns" and specify it for only those cells where the "Initials" value is blank? It seems like a simple If/Then kind of thing, but I am basically new to VBA so I'm not sure where to start.
Any ideas would be greatly appreciated.
Thank you.
BEFORE EXAMPLE:
Initials Date
ab 1/1/2000
ab 1/2/2000
bc 1/10/2009
ab 1/3/2000
ab 1/4/2000
bc 1/11/2009
AFTER EXAMPLE:
Initials Date
ab 1/1/2000
ab 1/2/2000
bc 1/10/2009
ab 1/3/2000
ab 1/4/2000
bc 1/11/2009
As the example shows, this pattern is not contiguous, so it would be hard to use "Text to Columns" for this. The cells are also part of an array (which I don't fully understand), so I cannot sort by date.
Is there a way to automate running "Text to Columns" and specify it for only those cells where the "Initials" value is blank? It seems like a simple If/Then kind of thing, but I am basically new to VBA so I'm not sure where to start.
Any ideas would be greatly appreciated.
Thank you.