Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default fill down empty cells at every change in value

I have a very large spreadsheet where 1 column is a folder path. One path
will be listed, then a random number of blank cells are below it until a
different path is found. What I'm looking for is a command to make the path
fill down into the empty cells below it until it finds a new value, then fill
that value down, etc.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 257
Default fill down empty cells at every change in value

If this is a one-time effort, Rose, it's not hard. Say your paths are in
column 4. In a helper column to the right use this formula:

=IF(RC4="",R[-1]C4,RC4)

If you're an A1 monoglot, that looks like this in A1 format:

=IF(D2="",D1,D2)

This fills into the helper column the actual value in col 4, or the value
from the above row if col 4 is blank. Once you have these, just copy the
result into col 4 using Paste.Special.Values.

--- "Rose" wrote:
I have a very large spreadsheet where 1 column is a folder path. One path
will be listed, then a random number of blank cells are below it until a
different path is found. What I'm looking for is a command to make the path
fill down into the empty cells below it until it finds a new value, then fill
that value down, etc.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default fill down empty cells at every change in value

That only works for the row that has the path (because it returns a false)
and the following row (which returns a true). After that, the 3rd row is
looking for what's in the 4th column on the above (2nd) row, which is still
blank, so it returns a blank.


"Bob Bridges" wrote:

If this is a one-time effort, Rose, it's not hard. Say your paths are in
column 4. In a helper column to the right use this formula:

=IF(RC4="",R[-1]C4,RC4)

If you're an A1 monoglot, that looks like this in A1 format:

=IF(D2="",D1,D2)

This fills into the helper column the actual value in col 4, or the value
from the above row if col 4 is blank. Once you have these, just copy the
result into col 4 using Paste.Special.Values.

--- "Rose" wrote:
I have a very large spreadsheet where 1 column is a folder path. One path
will be listed, then a random number of blank cells are below it until a
different path is found. What I'm looking for is a command to make the path
fill down into the empty cells below it until it finds a new value, then fill
that value down, etc.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default fill down empty cells at every change in value

Select the column with the blanks then F5SpecialBlanksOK

Type an = sign in active blank cell then point or arrow up to cell above and
hit CTRL + ENTER to fill blanks.

CopyPaste SpecialValuesOKEsc


Gord Dibben MS Excel MVP

On Mon, 23 Mar 2009 11:44:09 -0700, Rose
wrote:

I have a very large spreadsheet where 1 column is a folder path. One path
will be listed, then a random number of blank cells are below it until a
different path is found. What I'm looking for is a command to make the path
fill down into the empty cells below it until it finds a new value, then fill
that value down, etc.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default fill down empty cells at every change in value

That was it - thank you!

"Gord Dibben" wrote:

Select the column with the blanks then F5SpecialBlanksOK

Type an = sign in active blank cell then point or arrow up to cell above and
hit CTRL + ENTER to fill blanks.

CopyPaste SpecialValuesOKEsc


Gord Dibben MS Excel MVP

On Mon, 23 Mar 2009 11:44:09 -0700, Rose
wrote:

I have a very large spreadsheet where 1 column is a folder path. One path
will be listed, then a random number of blank cells are below it until a
different path is found. What I'm looking for is a command to make the path
fill down into the empty cells below it until it finds a new value, then fill
that value down, etc.





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 can I program excel to shift data up to fill empty cells? Howlingstraycat Excel Discussion (Misc queries) 1 December 22nd 07 11:58 PM
Find empty cells, fill with text from cell above Marketer Excel Worksheet Functions 1 August 27th 07 10:35 PM
Excel - Fill empty cells Yendorian Excel Worksheet Functions 3 July 23rd 07 09:34 AM
I need to fill only empty cells in a database with a symbol. SMC Excel Discussion (Misc queries) 2 April 24th 07 04:28 PM
Fill-in empty cells from SAP report Ilieski Excel Worksheet Functions 3 September 14th 05 12:55 PM


All times are GMT +1. The time now is 09:06 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"