=Last(L$22:L$50)

bobo17

New Member
Joined
Jun 14, 2011
Messages
11
Using Excel 2000 (9.0.2720)

Hi I am still "reverse" engineering the formulas in this DRIP (dividend reinvestment) spread sheet that someone designed, to understand how it is working.

The above formula =Last(L$22:L$50), the way I "understand" it says, check the column L rows 22 to 50 and return the last value in that colum, i.e. if the last data entered is on row 45, that data will be returned and put into the cell where the formula is. It works in the spread sheet.

My problem, I am trying to "reproduce" these formulas to understand them and I use the =Last comand and it returns the error message: #Name? If it works in the spreadsheet I got why does it not work when I try to "reproduce" it in a new spreadsheet, in other words the version of excel i am using correctly executes the formula on the spreadsheet i got from a web site, but does not seem to work when I try to reproduce it.

Do i understand the formula correctly? and why does it not work when trying to reproduce.

thanks
bobo
 
Yes
There is a user defined function called "Last"
and then asks the user to enter the range.

I guess there is code somewhere that defines this function?

thanks
bobo

P.S. this Casey Anthony trial is consuming all my time
 
Upvote 0

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,224,521
Messages
6,179,287
Members
452,902
Latest member
Knuddeluff

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