Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there a function that can pull the last no. of a varying range. ii.e., I
add a number to the range daily, and I want to pull the last no. entered for a formula. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Here is some VBA which will find the last value in a dynamic range:
http://www.ozgrid.com/VBA/ExcelRanges.htm Dave -- Brevity is the soul of wit. "waltwlms" wrote: Is there a function that can pull the last no. of a varying range. ii.e., I add a number to the range daily, and I want to pull the last no. entered for a formula. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Actually if you don't want to use VBA here's a formula:
=OFFSET(B2,MAX(IF(NOT(ISBLANK(B2:B25)),ROW(B2:B25) ,0))-ROW(B2),0) This is an array formula and needs to be entered with CTRL+SHIFT+ENTER in order to calculate. Assumes the range in question is in B2:B25. If the range in question grows and contracts in size dynamically you may want to use dynamic named ranges in conjunction with the above. See here for more info: http://www.ozgrid.com/Excel/DynamicRanges.htm Dave -- Brevity is the soul of wit. "Dave F" wrote: Here is some VBA which will find the last value in a dynamic range: http://www.ozgrid.com/VBA/ExcelRanges.htm Dave -- Brevity is the soul of wit. "waltwlms" wrote: Is there a function that can pull the last no. of a varying range. ii.e., I add a number to the range daily, and I want to pull the last no. entered for a formula. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try...
=LOOKUP(9.99999999999999E+307,A2:A100) or =LOOKUP(9.99999999999999E+307,A:A) Hope this helps! In article , waltwlms wrote: Is there a function that can pull the last no. of a varying range. ii.e., I add a number to the range daily, and I want to pull the last no. entered for a formula. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=LOOKUP(2,1/(A1:A65535<""),A1:A65535)
"waltwlms" wrote: Is there a function that can pull the last no. of a varying range. ii.e., I add a number to the range daily, and I want to pull the last no. entered for a formula. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stop excel from dropping the 0 in the beginning of a number? | Setting up and Configuration of Excel | |||
Excel docs not saving as excel docs | Excel Discussion (Misc queries) | |||
Open Excel 2003 from Windows Explorer | Excel Discussion (Misc queries) | |||
Need suggestions for some uses of Ms Excel | Excel Discussion (Misc queries) | |||
Excel Range Value issue (Excel 97 Vs Excel 2003) | Excel Discussion (Misc queries) |