Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Copy text into blank rows

Hello,

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

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
More text*More text
*********More text

etc
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Copy text into blank rows

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.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3   Report Post  
Junior Member
 
Posts: 2
Default

Perfect, thank you!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy several row headers to rows (blank) below for each header Rechie Excel Discussion (Misc queries) 1 October 26th 09 02:27 PM
Copy non blank rows only mathel Excel Programming 2 April 2nd 09 11:21 PM
Text to Rows and then Insert Blank Rows [email protected] Excel Discussion (Misc queries) 1 December 20th 08 04:23 PM
Copy rows of data (eliminating blank rows) from fixed layout Sweepea Excel Discussion (Misc queries) 1 March 13th 07 11:05 PM
Copy rows, but exclude blank rows Mary[_9_] Excel Programming 1 November 1st 05 07:21 AM


All times are GMT +1. The time now is 09:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"