Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default Last Number in Column

Does anyone know the formula to retrive the last number in the slected area?
So Like A1:A5
It will have the number in A5.

THanks
Cheyenne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Last Number in Column

Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

=INDEX(A1:A5,MAX(ROW(A1:A5)))


If this post helps click Yes
---------------
Jacob Skaria


"Chey" wrote:

Does anyone know the formula to retrive the last number in the slected area?
So Like A1:A5
It will have the number in A5.

THanks
Cheyenne

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Last Number in Column


Try:

=Lookup(9.9999999e+307,A1:A5)


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111135

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Last Number in Column

=A5
if you know that A1:A5 will have numbers in it.

=lookup(1E+100,A1:A5)
will return the last number in A1:A5.

=if(count(a1:a5)=0,"no numbers",lookup(1E+100,A1:A5))
will check to see if there's at least one number in the range.

1E+100
is scientific notation for a big number: 1 followed by 100 0's.



Chey wrote:

Does anyone know the formula to retrive the last number in the slected area?
So Like A1:A5
It will have the number in A5.

THanks
Cheyenne


--

Dave Peterson
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
inverse of the column function? i.e. input a number, output thecorresponding column text label Brotherharry Excel Worksheet Functions 19 February 14th 09 01:37 AM
How do I turn excel columns from column number to column letter? column Setting up and Configuration of Excel 1 April 29th 08 10:15 AM
Count number of cells and total in one column, based on another column suffix Pierre Excel Worksheet Functions 5 October 31st 07 01:28 AM
Display missing Part Number if Column A does not match column B Erik T Excel Worksheet Functions 2 April 17th 06 11:23 PM
Auto number w/ different letter-number combos in same column Colleen B Excel Worksheet Functions 2 February 23rd 05 03:41 PM


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