Is there a formula to get show the last cell in the column with information?
example:
4.5
6.6
7.8
3.4
Need formula to show 3.4 since it is the last cell in the column with any information in it.
I am using Excel 2000
Thanks,
dcoates
Is there a formula to get show the last cell in the column with information?
example:
4.5
6.6
7.8
3.4
Need formula to show 3.4 since it is the last cell in the column with any information in it.
I am using Excel 2000
Thanks,
dcoates
Try:
=Lookup(9.999999999e+307,A:A)
where column A is column of interest
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Hi,
One way is:
Adjust column A as necessary.![]()
Please Login or Register to view this content.
HTH
I tried both formulas. If I try to find the last number I get 0 as my answer. If it try to find the last name in a column, I get #N/A. This happens with both formulas.
Are you sure there's not a 0 somewhere in the column?
To look for last text entry try:
=Lookup(Rept("Z",255),A:A)
We're getting there. The =Lookup(Rept("Z",255),A:A) works if there is only text in the column. If there is a mixture of time and text, it will return only the text.
The 1st two formulas will return date and time information but text will return #N/A.
Try then:
=INDEX(A:A,MAX(MATCH(REPT("z",255),A:A),MATCH(9.999999999E+307,A:A)))
One other option would be to use this code in the worksheet selection change event
It will automatically enter in B1 the last value in column A whenever a change is made on the sheet.![]()
Please Login or Register to view this content.
HTH
Thank you. I used a combination of the formulas to achieve the results I was looking for. I am not familiar with codes to be able to use the last suggestion.
Thanks for you invaluable assistance. Makes our lives so much easier.
dcoates
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks