Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Fill in the blanks

Here is the easiest way that I know of in straight excel (no vba). You could
record a macro to do this if you want. In the first blank cell beneath a
populated cell create a formula such as =A1 assuming you are in cell a 2.
Copy this formula. Select the range 6000 plus rows by how ever many columns.
Hit F5 or Ctrl+G. Select Special. Select Blanks. This will select all of the
blank cell. Now just paste. You may want to copy and paste special values the
entire selection.

HTH

"BOB" wrote:

Hi
Im new to VB and need to accomplish the following.
My spread sheet (a .txt file that I am importing) has 6000+ lines. If any
of the data from one line to the next is duplicated the cell is blank
Example:

cat feline black female
white male
tabby

So across the used range. if the cell is blank I would like to copy in the
same entry as the cell above it
to give:

cat feline black female
cat feline white male
cat feline tabby male

Thanks for all replies




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
How to fill up blanks deeds Excel Discussion (Misc queries) 4 October 13th 09 05:52 PM
Fill in Blanks with immediately above cell value Charles Excel Discussion (Misc queries) 4 May 15th 09 05:09 PM
Fill blanks down column with cell above KtP Excel Discussion (Misc queries) 2 April 13th 08 10:34 PM
Fill Blanks Macro LLoraine Excel Discussion (Misc queries) 2 August 29th 07 03:12 PM
How do I fill in pivot table blanks? Lisan Excel Worksheet Functions 1 July 3rd 06 09:11 PM


All times are GMT +1. The time now is 07:21 AM.

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

About Us

"It's about Microsoft Excel"