Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi,
Does anyone have an equation that will select the last value in a column? I have the following that works to use the last value in a row of data: =(INDEX('Portfolio Profit Tracker'!B2:IV2,1,MATCH(9.99999999999999E+307,'Por tfolio Profit Tracker'!B2:IV2,1))-B2)/B2 I have tried replacing the column values B2:IV2 with row values G13:G113, but that does not work. Thanks in advance! Jon |
#2
![]() |
|||
|
|||
![]()
Hi
see: http://www.xldynamic.com/source/xld.LastValue.html -- Regards Frank Kabel Frankfurt, Germany Jon Horvath wrote: Hi, Does anyone have an equation that will select the last value in a column? I have the following that works to use the last value in a row of data: =(INDEX('Portfolio Profit Tracker'!B2:IV2,1,MATCH(9.99999999999999E+307,'Por tfolio Profit Tracker'!B2:IV2,1))-B2)/B2 I have tried replacing the column values B2:IV2 with row values G13:G113, but that does not work. Thanks in advance! Jon |
#3
![]() |
|||
|
|||
![]()
A shorter version...
=(LOOKUP(9.99999999999999E+307,B2:IV2)-B2)/B2 And... =(LOOKUP(9.99999999999999E+307,G13:G113) will give you the last numerical value from G13:G113. "Jon Horvath" wrote in message ... Hi, Does anyone have an equation that will select the last value in a column? I have the following that works to use the last value in a row of data: =(INDEX('Portfolio Profit Tracker'!B2:IV2,1,MATCH(9.99999999999999E+307,'Por tfolio Profit Tracker'!B2:IV2,1))-B2)/B2 I have tried replacing the column values B2:IV2 with row values G13:G113, but that does not work. Thanks in advance! Jon |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automatically enter date and time but only update once. | New Users to Excel | |||
Column widths to adjust automatically? | Excel Discussion (Misc queries) | |||
Copying the contents of a column into a chart | Excel Worksheet Functions | |||
getting data from 2 excel sheets automatically | Excel Worksheet Functions | |||
How to calculate the data in excel 2002 including only the last 9. | Excel Worksheet Functions |