Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Harold Good
 
Posts: n/a
Default find last cell in column - without VBA

Hi,

Apart from using VBA, is there any way to write a formula that will find the
last used cell in a column of 15 cells? In the first set below, it would be
..388, in the second set it would be .133. Any help would be appreciated.

0.006
0.000
0.036
0.125
0.133
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.313
0.388



0.006
0.000
0.036
0.125
0.133
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000


  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Harold,

One way, for numbers in A1:A15:

=INDEX(A1:A15,SUMPRODUCT(MAX((A1:A150)*ROW(A1:A15 ))))

HTH,
Bernie
MS Excel MVP


"Harold Good" wrote in message ...
Hi,

Apart from using VBA, is there any way to write a formula that will find the last used cell in a
column of 15 cells? In the first set below, it would be .388, in the second set it would be .133.
Any help would be appreciated.

0.006
0.000
0.036
0.125
0.133
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.313
0.388



0.006
0.000
0.036
0.125
0.133
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000




  #3   Report Post  
Harold Good
 
Posts: n/a
Default

Thanks again, I really appreciate this one, I never thought of combining
these functions to come up with this.

Harold


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Harold,

One way, for numbers in A1:A15:

=INDEX(A1:A15,SUMPRODUCT(MAX((A1:A150)*ROW(A1:A15 ))))

HTH,
Bernie
MS Excel MVP


"Harold Good" wrote in message
...
Hi,

Apart from using VBA, is there any way to write a formula that will find
the last used cell in a column of 15 cells? In the first set below, it
would be .388, in the second set it would be .133. Any help would be
appreciated.

0.006
0.000
0.036
0.125
0.133
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.313
0.388



0.006
0.000
0.036
0.125
0.133
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000






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
Lookup Table Dilemma Karen Excel Worksheet Functions 2 June 10th 05 08:22 PM
Help with macro looping and color query function kevinm Excel Discussion (Misc queries) 10 May 26th 05 01:25 AM
search a row to find the column Stephen Excel Worksheet Functions 2 March 23rd 05 01:51 AM
How do I reference every "n" cell in a column in Excel? Alma Excel Worksheet Functions 2 March 22nd 05 06:19 PM
In MS Excel, how do I fill in a column with the same cell from se. krempin Excel Worksheet Functions 2 February 9th 05 08:43 PM


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

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"