G
Guest
Dear fellow Excel 2000 users:
I have a spreadsheet where there are 5 columns and thousands of rows
of data. Every so often, there is missing data in the second and
third column. I wanted to write some code that would, when it came to
a blank cell in column two or three, to simply copy whatever was in
the cell above it.
For instance, here is an example of a few rows before the code is run:
A B C D E
WW WW WW WW WW
XXX XXX XXX XXX XXX
YYY YYY YYY
ZZZ ZZZ ZZZ ZZZ ZZZ
Here is what I am looking for after:
WW WW WW WW WW
XXX XXX XXX XXX XXX
YYY XXX XXX YYY YYY
ZZZ ZZZ ZZZ ZZZ ZZZ
(Basically copy the XXX data down to the blank YYY row)
I searched Google, but could not find anything that did such a task.
If anyone could possible come up with some code, I would GREATLY
appreciate it!
Thanks a million in advance!
Kevin
I have a spreadsheet where there are 5 columns and thousands of rows
of data. Every so often, there is missing data in the second and
third column. I wanted to write some code that would, when it came to
a blank cell in column two or three, to simply copy whatever was in
the cell above it.
For instance, here is an example of a few rows before the code is run:
A B C D E
WW WW WW WW WW
XXX XXX XXX XXX XXX
YYY YYY YYY
ZZZ ZZZ ZZZ ZZZ ZZZ
Here is what I am looking for after:
WW WW WW WW WW
XXX XXX XXX XXX XXX
YYY XXX XXX YYY YYY
ZZZ ZZZ ZZZ ZZZ ZZZ
(Basically copy the XXX data down to the blank YYY row)
I searched Google, but could not find anything that did such a task.
If anyone could possible come up with some code, I would GREATLY
appreciate it!
Thanks a million in advance!
Kevin