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 » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Return last value in a range.



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2004, 10:19 PM
external usenet poster
 
Posts: n/a
Default Return last value in a range.

My range is from A1:A20. The range could have a possible
of 20 numbers, some number may be exactly the same.
Numbers will be entered starting at A1. I am trying to
return the last number in the range at cell A21.

The problem is that a the last number entered could be in
any cell within the range. How can I return the last value
in a range?

- JTJACKPOT
  #2  
Old June 4th, 2004, 10:32 PM
Dave R.
external usenet poster
 
Posts: n/a
Default Return last value in a range.

Try this

=INDEX(A1:A20,MAX(IF(A1:A20"",ROW(A1:A20))))

entered with CTRL SHIFT ENTER.


wrote in message
...
My range is from A1:A20. The range could have a possible
of 20 numbers, some number may be exactly the same.
Numbers will be entered starting at A1. I am trying to
return the last number in the range at cell A21.

The problem is that a the last number entered could be in
any cell within the range. How can I return the last value
in a range?

- JTJACKPOT



  #3  
Old June 6th, 2004, 06:06 AM
Aladin Akyurek
external usenet poster
 
Posts: n/a
Default Return last value in a range.

=LOOKUP(9.99999999999999E+307,A1:A20)

wrote in message
...
My range is from A1:A20. The range could have a possible
of 20 numbers, some number may be exactly the same.
Numbers will be entered starting at A1. I am trying to
return the last number in the range at cell A21.

The problem is that a the last number entered could be in
any cell within the range. How can I return the last value
in a range?

- JTJACKPOT



 




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 03:05 PM.


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