Matching to last value entered

G

Guest

Guest
I was wondering whether it is possible to reference to the newest data entry in a column (which will be the last entry in the column).

New data will be continually added so a reference would need to update whenever another piece of data is added.

Thankyou.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Assuming your data is in column A (and it's all numeric), the following formula will return the value of the last number in that column:

=INDIRECT("A"&COUNT(A:A))
 
Upvote 0
This could be one way:
If the column you want to reference is column E, select the entire column below your last entry, press the spacebar once then Control+Enter (to put a single space in every cell). Now put this formula in a different column, say in F1
=INDIRECT("E"&MATCH(" ",E:E,0)-1)
(between " " is a single space).
F1 will now display the value in the cell above the first cell with a single space.
Other formulas that need to refer to the last entry in column E should now reference to cell F1
Hope this helps
Derek
PS Actually adding a single space down to row 65536 uses too much memory, so do it for say 5000 rows. (This method still gives you the last entry even if you have blanks in your column)
This message was edited by Derek on 2002-02-17 21:17
 
Upvote 0
On 2002-02-17 19:15, Anonymous wrote:
It will be numerical data that i am wanting to refer to. <snip>

Lets say that E is the column of interest:

=MATCH(9.99999999999999E+307,E:E)

will give you the last row used in E;

=INDEX(E:E,MATCH(9.99999999999999E+307,E:E))

the last entry in E, and

=ADDRESS(MATCH(9.99999999999999E+307,E:E),5)

the address of the last entry.
 
Upvote 0
On 2002-02-17 22:07, Anonymous wrote:
On 2002-02-17 19:15, Anonymous wrote:
It will be numerical data that i am wanting to refer to. <snip>

Lets say that E is the column of interest:

=MATCH(9.99999999999999E+307,E:E)

will give you the last row used in E;

=INDEX(E:E,MATCH(9.99999999999999E+307,E:E))

the last entry in E, and

=ADDRESS(MATCH(9.99999999999999E+307,E:E),5)

the address of the last entry.

I didn't mean to post what is above as Anonymous, whence this reply.

Aladin
 
Upvote 0

Forum statistics

Threads
1,221,780
Messages
6,161,887
Members
451,730
Latest member
BudgetGirl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top