Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 58
Default Filling empty cell with value from the cell above

After a copy-paste from a pivot table
i have a lot of empty cells
that i want to fill with the values from the cell above
to generate a new database

something like this:
Col A Col B Col C
X 1 1
2
2 1
Y 3 2
3

turned into this:
Col A Col B Col C
X 1 1
X 1 2
X 2 1
Y 3 2
Y 3 3


maybe a macro??

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Filling empty cell with value from the cell above

No macro needed. Select the whole range of cells making up your table. Press
F5, then click Special Blanks OK. Now all the blank cells within your
table are selected. Press the equal sign (=), then the up arrow. Hold down
the Ctrl key and press Enter. This puts a formula in every blank cell,
pulling the value from the cell above it. Finally, copy & paste the whole
table in place as values.

Hope this helps,

Hutch

"Alonso" wrote:

After a copy-paste from a pivot table
i have a lot of empty cells
that i want to fill with the values from the cell above
to generate a new database

something like this:
Col A Col B Col C
X 1 1
2
2 1
Y 3 2
3

turned into this:
Col A Col B Col C
X 1 1
X 1 2
X 2 1
Y 3 2
Y 3 3


maybe a macro??

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 58
Default Filling empty cell with value from the cell above

it worked!!
great!!

thanks

"Tom Hutchins" wrote:

No macro needed. Select the whole range of cells making up your table. Press
F5, then click Special Blanks OK. Now all the blank cells within your
table are selected. Press the equal sign (=), then the up arrow. Hold down
the Ctrl key and press Enter. This puts a formula in every blank cell,
pulling the value from the cell above it. Finally, copy & paste the whole
table in place as values.

Hope this helps,

Hutch

"Alonso" wrote:

After a copy-paste from a pivot table
i have a lot of empty cells
that i want to fill with the values from the cell above
to generate a new database

something like this:
Col A Col B Col C
X 1 1
2
2 1
Y 3 2
3

turned into this:
Col A Col B Col C
X 1 1
X 1 2
X 2 1
Y 3 2
Y 3 3


maybe a macro??

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
Filling a cell automatically when data is put in another cell. Alex s Excel Worksheet Functions 3 December 9th 06 06:52 PM
Filling a cell automatically when data is put in another cell. Ken Wright Excel Worksheet Functions 0 November 30th 06 07:41 AM
Filling empty cells with a value Ian Richardson ACITP Excel Discussion (Misc queries) 4 May 17th 06 03:25 PM
Pulling a Letter from a cell and filling another cell with info nick s Excel Worksheet Functions 16 November 28th 05 04:10 AM
filling information from one cell and filling another. Dianne Excel Worksheet Functions 1 August 15th 05 08:14 PM


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