#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Track New Values

I have a table of data that tracks progress across time (down each
row), so that one column (B) will hold a dollar value that will
change. This value is going to serve as a benchmark, so that it is
persistant for some time, then changes as it has been met.

My problem is that I need some way to track these benchmarks as they
change so that I can easily refer to the last one that was populated.
If at some point in my table, I have values:

Row Col. B
..... .....
20 $5000
21 $5000
22 $5000
23 $5625

I want the value $5000 to be available in rows 23 and down. Is there
an easy way to do this? I'm afraid of complex worksheet or array
formulas, because I have so many rows of data (104,000+).

Any help would be great. Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 84
Default Track New Values

=SMALL($A$2:$A2,ROWS($A$2:$A2)-COUNTIF($A$2:$A2,$A2))

This assumes your benchmarks are in ascending order.

Assuming your data starts in row two, enter the formula in row 2 of
another column and copy down. It will show #NUM! for the first set of
(nonincremented) benchmarks, but once there is a previous benchmark,
will show that.

I know this is more cumbersome than you would like. An alternative for
you might be a macro / custom function to use only as necessary.

- David

On Jul 23, 10:06 pm, bgetson wrote:
I have a table of data that tracks progress across time (down each
row), so that one column (B) will hold a dollar value that will
change. This value is going to serve as a benchmark, so that it is
persistant for some time, then changes as it has been met.

My problem is that I need some way to track these benchmarks as they
change so that I can easily refer to the last one that was populated.
If at some point in my table, I have values:

Row Col. B
.... .....
20 $5000
21 $5000
22 $5000
23 $5625

I want the value $5000 to be available in rows 23 and down. Is there
an easy way to do this? I'm afraid of complex worksheet or array
formulas, because I have so many rows of data (104,000+).

Any help would be great. Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Track New Values

David, thanks for the help. From an initial look, this looks like it
would do the job, but it's just taking too much time to process. I
think by the time it reaches the upper thousands, it's taking too much
time to hold thousands of unnecessary values in memory.

I've managed to keep calculations to a manageable 7 seconds so far, so
I'm going to keep searching around for alternatives. Maybe a custom
function will let me only look as far back as needed to find the next
number.

Thanks again.

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
Copy full sheet of just values and formates if possible, am I on the right track? Ryk Excel Discussion (Misc queries) 4 August 25th 06 05:24 AM
Track changes Bob Excel Worksheet Functions 0 April 27th 06 04:29 PM
Track changes R. Rainone Excel Discussion (Misc queries) 2 November 28th 05 01:31 PM
track changes CYeh Excel Discussion (Misc queries) 0 March 10th 05 05:19 AM
Track Changes Excel Worksheet Functions 0 January 5th 05 03:16 PM


All times are GMT +1. The time now is 12:57 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"