Copy text into blank rows

L

lizexcel

Hello,

This is my first post here, I decided to sign up as I have a problem an
the answers on here are usually good!

Is it possible to use an Excel function to copy text spanning a rando
number of blank rows, as shown below? (* used for spacing and t
indicate blank rows)

Col A*****Desired Column B
Apple*****Apple
*********Apple
*********Apple
Banana***Banana
*********Banana
Carrot****Carrot
Damson***Damson
*********Damson
*********Damson
*********Damson
*********Damson
More text*More text
*********More text

et
 
C

Claus Busch

Hi,

Am Thu, 4 Jul 2013 14:02:22 +0100 schrieb lizexcel:
Is it possible to use an Excel function to copy text spanning a random
number of blank rows, as shown below? (* used for spacing and to
indicate blank rows)

Col A*****Desired Column B
Apple*****Apple
*********Apple
*********Apple
Banana***Banana
*********Banana
Carrot****Carrot
Damson***Damson
*********Damson
*********Damson
*********Damson
*********Damson

in B2 try:
=A2
in B3 try:
=IF(A3="",B2,A3)
and copy down.


Regards
Claus B.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top