here's what I want to happen:
The data looks like this in column A:
fred
joe
sally
bill
What I want the code to do is copy fred into every blank cell below fred until it hits joe. Then copy joe until it hits sally, then copy sally until it hits bill etc... so the resulting column after the code runs would resemble the below:
fred
fred
fred
joe
joe
joe
joe
sally
sally
bill
This doesn't seem like it'd be that tricky, but I'm a novice excel programmer. I tried using a for each statement in combination with offset property, but i don't think that works so well.
I'd appreciate any input of how one might approach this, specific or general.
How much more water would there be in the ocean if it weren't for sponges?
The data looks like this in column A:
fred
joe
sally
bill
What I want the code to do is copy fred into every blank cell below fred until it hits joe. Then copy joe until it hits sally, then copy sally until it hits bill etc... so the resulting column after the code runs would resemble the below:
fred
fred
fred
joe
joe
joe
joe
sally
sally
bill
This doesn't seem like it'd be that tricky, but I'm a novice excel programmer. I tried using a for each statement in combination with offset property, but i don't think that works so well.
I'd appreciate any input of how one might approach this, specific or general.
How much more water would there be in the ocean if it weren't for sponges?