ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Automatic insert the last number in a list to another Excel works (https://www.excelbanter.com/excel-discussion-misc-queries/117218-automatic-insert-last-number-list-another-excel-works.html)

jons

Automatic insert the last number in a list to another Excel works
 
Every month I enter current electric charges in the corresponding month's
cell. I want to take the most recent month's entry, the last entry, and
insert in a cell in another work sheet. How do I get this done automatically?


Earl Kiosterud

Automatic insert the last number in a list to another Excel works
 
The only thing that could insert the value somewhere else is a macro. But a
formula in the next sheet could extract the last item in a column from a
sheet. This formula would return the last item in column I of Sheet2. The
cells in column I must be populated from the top, no empty cells, or it'll
mess up.

=OFFSET(Sheet2!I1,COUNTA(Sheet2!I:I)-1,0,1,1)

--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"jons" wrote in message
...
Every month I enter current electric charges in the corresponding month's
cell. I want to take the most recent month's entry, the last entry, and
insert in a cell in another work sheet. How do I get this done
automatically?





All times are GMT +1. The time now is 06:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com