A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

filling intermittent blank cells with last value



 
 
Thread Tools Display Modes
  #1  
Old December 10th, 2003, 02:00 PM
john
external usenet poster
 
Posts: n/a
Default filling intermittent blank cells with last value

I have a number of columns of data.

All cells in a column are filled intermittently.

How do you fill cells with the last value shown.
  #2  
Old December 10th, 2003, 05:57 PM
Jon Peltier
external usenet poster
 
Posts: n/a
Default filling intermittent blank cells with last value

Hi John -

Assuming your data goes from row 2 to at most row 1000, insert this
formula in cell A1; don't type the curly brackets, just the part within
them, then hold down Ctrl+Shift while pressing enter. If you do this
properly, it creates an array formula, which Excel indicates with the
brackets.

{=INDEX(A2:A1000,MAX(ROW(A2:A1000)*NOT(ISBLANK(A2: A1000)))-1)}

- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______

john wrote:

I have a number of columns of data.

All cells in a column are filled intermittently.

How do you fill cells with the last value shown.


  #3  
Old December 10th, 2003, 09:05 PM
Jon Peltier
external usenet poster
 
Posts: n/a
Default filling intermittent blank cells with last value

John -

A second interpretation. Do you want to put the last value in any
subsequent empty cells?

Select the entire range, then press Ctrl+G, click on Special, and choose
the Blanks option button. This selects just all the blank cells in the
range you had selected. Press the Equals key, then the up arrow, then
Ctrl+Enter. This puts a formula in each cell which takes the value from
the cell above (which in turn, may take it from the one above that, etc.).

- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______

john wrote:
I have a number of columns of data.

All cells in a column are filled intermittently.

How do you fill cells with the last value shown.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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