Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default return last value of a sheet

Is there a formula I can put on a worksheet that picks up the values from the
last row entered in the previous sheet, changing as rows are added.

In other words, this forumla in A1 of sheet 2 would show the value of A20 in
sheet 1 until values were put into A21, then they would show the values from
A21, then A22, etc.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default return last value of a sheet

If all of the cells in column A on Sheet1 are filled, this would do it for
you. In any cell on Sheet2:
=OFFSET(Sheet1!A1,COUNTA(Sheet1!A:A)-1,0)

"widman" wrote:

Is there a formula I can put on a worksheet that picks up the values from the
last row entered in the previous sheet, changing as rows are added.

In other words, this forumla in A1 of sheet 2 would show the value of A20 in
sheet 1 until values were put into A21, then they would show the values from
A21, then A22, etc.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default return last value of a sheet

=LOOKUP(2,1/($A$1:$A$65535<0),$A$1:$A$65535)

if there can be no blank cells between last and first value you might use

=INDEX(A:A,COUNTA(A:A))



--
Regards,

Peo Sjoblom



"widman" wrote in message
...
Is there a formula I can put on a worksheet that picks up the values from
the
last row entered in the previous sheet, changing as rows are added.

In other words, this forumla in A1 of sheet 2 would show the value of A20
in
sheet 1 until values were put into A21, then they would show the values
from
A21, then A22, etc.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default return last value of a sheet

Started great, but for some reason as I copy it across the top of sheet 2
(which I will then use for a report) it stops after G. No matter what I put
in H or beyond, even the same values as show up in G, H returns 0.

Any ideas?

"JLatham" wrote:

If all of the cells in column A on Sheet1 are filled, this would do it for
you. In any cell on Sheet2:
=OFFSET(Sheet1!A1,COUNTA(Sheet1!A:A)-1,0)

"widman" wrote:

Is there a formula I can put on a worksheet that picks up the values from the
last row entered in the previous sheet, changing as rows are added.

In other words, this forumla in A1 of sheet 2 would show the value of A20 in
sheet 1 until values were put into A21, then they would show the values from
A21, then A22, etc.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default return last value of a sheet

the lookup worked fine, thanks

"Peo Sjoblom" wrote:

=LOOKUP(2,1/($A$1:$A$65535<0),$A$1:$A$65535)

if there can be no blank cells between last and first value you might use

=INDEX(A:A,COUNTA(A:A))



--
Regards,

Peo Sjoblom



"widman" wrote in message
...
Is there a formula I can put on a worksheet that picks up the values from
the
last row entered in the previous sheet, changing as rows are added.

In other words, this forumla in A1 of sheet 2 would show the value of A20
in
sheet 1 until values were put into A21, then they would show the values
from
A21, then A22, etc.




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
Search for value on another sheet, return Y/N Not Excelerated Excel Discussion (Misc queries) 3 May 9th 07 11:39 PM
Return to sheet Ed Davis Excel Worksheet Functions 7 April 11th 07 12:00 PM
search for and return more than one row in a sheet [email protected] Excel Worksheet Functions 1 June 1st 06 12:14 AM
return cell from named sheet AndrewB Excel Discussion (Misc queries) 1 April 18th 05 02:47 AM
How can I cause a cell to return the sheet name i.e. sheet 1? Matt Excel Worksheet Functions 2 February 15th 05 08:38 PM


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