Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jon Horvath
 
Posts: n/a
Default automatically select last value in a column

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   Report Post  
Frank Kabel
 
Posts: n/a
Default

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   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM
Column widths to adjust automatically? lambola Excel Discussion (Misc queries) 1 January 21st 05 12:35 AM
Copying the contents of a column into a chart Richard Excel Worksheet Functions 1 November 16th 04 02:39 PM
getting data from 2 excel sheets automatically pinar Excel Worksheet Functions 0 November 9th 04 11:47 AM
How to calculate the data in excel 2002 including only the last 9. TylerMaricich Excel Worksheet Functions 6 November 8th 04 07:27 AM


All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"