Morefunc

ken2step

Well-known Member
Joined
Jan 9, 2003
Messages
642
In the past I used an Add-In called MoreFunc. But with new versions of Excel (2010) I have not been able to get it to work always on others machines. I use the LASTROW function quite often and when I send the file to others of course it will not work.
LASTROW function returns the data in the last cell in a column that is not blank. Is there another function I am not aware of in newer versions of Excel that will do the same thing?
thanks in advance!
Ken
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hello,

You can test following

Code:
=INDIRECT("A"&SUMPRODUCT(MAX((ROW(A1:A100))*(A1:A100<>""))))

HTH
 
Upvote 0
Hi, some more options for you to try:

For the last numeric value : =LOOKUP(9.99E+307,A1:A1000)
For the last text value : =LOOKUP(REPT("z",255),A1:A1000)
For the last value regardless : =LOOKUP(2,1/(A1:A1000<>""),A1:A1000)

If you know what type of data you want to retrieve the first two formula are very efficient.
 
Upvote 0
Thanks for the reply FormR! I've been using your =LOOKUP(9.99E+307,A1:A1000) for those people that use a later version of Excel. The other 2 formulas I had not seen before. The MoreFunc add-in I really like to use and wish they had not stopped supporting it. I hope MS can add it to their product as there are some functions that are more intuitive for me such as LASTROW.
Thanks all for helping me out!
Cheers!
 
Upvote 0
Thanks for the reply FormR! I've been using your =LOOKUP(9.99E+307,A1:A1000) for those people that use a later version of Excel. The other 2 formulas I had not seen before. The MoreFunc add-in I really like to use and wish they had not stopped supporting it. I hope MS can add it to their product as there are some functions that are more intuitive for me such as LASTROW.
Thanks all for helping me out!
Cheers!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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