Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Access Joe
 
Posts: n/a
Default Copying different repeating entries down a column

Hi all,

I have an Excel spreadsheet with a layout similar to the following:
A1 = 'Dr. Johnson'
A2 = (blank)
A3 = (blank)
A4 = (blank)
A5 = 'Dr. Deperi'
A6 = (blank)
A7 = (blank)
A8 = 'Dr Marise'
etc. etc. etc.

For better use of pivot tables & filtering, I would like to copy the
existing names into their corresponding blank cells, which happen to appear
directly below the name. So, using the above example, what I am trying to
find is a quick method that would give me the following result:

A1 = 'Dr. Johnson'
A2 = 'Dr. Johnson'
A3 = 'Dr. Johnson'
A4 = 'Dr. Johnson'
A5 = 'Dr. Deperi'
A6 = 'Dr. Deperi'
A7 = 'Dr. Deperi'
A8 = 'Dr Marise'
etc. etc.

I have over 2000 rows to populate. Can anyone help?

Thanks!
Joe

  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Copying different repeating entries down a column

Hi!

Use a temporary helper column.

Formula in B1:

=A1

Formula in B2:

=IF(A2="",B1,A2)

Copy down to the end of the data range in column A.

Then you can convert these formulas to constants and delete the original
column A if desired.

Biff

"Access Joe" wrote in message
...
Hi all,

I have an Excel spreadsheet with a layout similar to the following:
A1 = 'Dr. Johnson'
A2 = (blank)
A3 = (blank)
A4 = (blank)
A5 = 'Dr. Deperi'
A6 = (blank)
A7 = (blank)
A8 = 'Dr Marise'
etc. etc. etc.

For better use of pivot tables & filtering, I would like to copy the
existing names into their corresponding blank cells, which happen to
appear
directly below the name. So, using the above example, what I am trying to
find is a quick method that would give me the following result:

A1 = 'Dr. Johnson'
A2 = 'Dr. Johnson'
A3 = 'Dr. Johnson'
A4 = 'Dr. Johnson'
A5 = 'Dr. Deperi'
A6 = 'Dr. Deperi'
A7 = 'Dr. Deperi'
A8 = 'Dr Marise'
etc. etc.

I have over 2000 rows to populate. Can anyone help?

Thanks!
Joe



  #3   Report Post  
Posted to microsoft.public.excel.misc
Access Joe
 
Posts: n/a
Default Copying different repeating entries down a column

BIff,
Thanks, this works great.

Joe

"Biff" wrote:

Hi!

Use a temporary helper column.

Formula in B1:

=A1

Formula in B2:

=IF(A2="",B1,A2)

Copy down to the end of the data range in column A.

Then you can convert these formulas to constants and delete the original
column A if desired.

Biff

"Access Joe" wrote in message
...
Hi all,

I have an Excel spreadsheet with a layout similar to the following:
A1 = 'Dr. Johnson'
A2 = (blank)
A3 = (blank)
A4 = (blank)
A5 = 'Dr. Deperi'
A6 = (blank)
A7 = (blank)
A8 = 'Dr Marise'
etc. etc. etc.

For better use of pivot tables & filtering, I would like to copy the
existing names into their corresponding blank cells, which happen to
appear
directly below the name. So, using the above example, what I am trying to
find is a quick method that would give me the following result:

A1 = 'Dr. Johnson'
A2 = 'Dr. Johnson'
A3 = 'Dr. Johnson'
A4 = 'Dr. Johnson'
A5 = 'Dr. Deperi'
A6 = 'Dr. Deperi'
A7 = 'Dr. Deperi'
A8 = 'Dr Marise'
etc. etc.

I have over 2000 rows to populate. Can anyone help?

Thanks!
Joe




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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
splitting worksheet by column entries Joe Excel Discussion (Misc queries) 5 December 29th 05 05:29 PM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
Filtering a column to exclude any repeated entries. bay Excel Discussion (Misc queries) 2 January 27th 05 10:13 AM


All times are GMT +1. The time now is 11:42 PM.

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"