Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MarkT
 
Posts: n/a
Default Using the last number in a column

Is there a way to use the last number in a column (in a formula) when you
won't know what the exact cell is where that number will be located? The
last number will not be in a constant cell, this column is a running balance
column so additonal rows will be added daily.

Thanks for your help!

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Using the last number in a column

One way

=INDEX(A1:A10000,COUNT(A1:A10000))

I am assuming here that there are no blanks, replace
A1 with the cell the holds the first number and A10000 with a large enough
number you'll know you won't go beyond

If there are blanks you can use

=LOOKUP(2,1/(A1:A10000<""),A1:A10000)

--

Regards,

Peo Sjoblom

"MarkT" wrote in message
...
Is there a way to use the last number in a column (in a formula) when you
won't know what the exact cell is where that number will be located? The
last number will not be in a constant cell, this column is a running

balance
column so additonal rows will be added daily.

Thanks for your help!



  #3   Report Post  
MarkT
 
Posts: n/a
Default Using the last number in a column

Thanks Peo,

That worked perfect!

"Peo Sjoblom" wrote:

One way

=INDEX(A1:A10000,COUNT(A1:A10000))

I am assuming here that there are no blanks, replace
A1 with the cell the holds the first number and A10000 with a large enough
number you'll know you won't go beyond

If there are blanks you can use

=LOOKUP(2,1/(A1:A10000<""),A1:A10000)

--

Regards,

Peo Sjoblom

"MarkT" wrote in message
...
Is there a way to use the last number in a column (in a formula) when you
won't know what the exact cell is where that number will be located? The
last number will not be in a constant cell, this column is a running

balance
column so additonal rows will be added daily.

Thanks for your help!




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
look up number in column eioval Excel Worksheet Functions 2 July 30th 05 08:16 PM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
need column with 00:00:00 like stopwatch x's a number donemonthly Blusty Excel Discussion (Misc queries) 1 July 5th 05 09:42 PM
How do I sort a column a unique number? ChelleA Excel Worksheet Functions 7 February 19th 05 10:38 AM
Number of Column Limitations kbarrios Excel Discussion (Misc queries) 2 January 6th 05 03:12 PM


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