LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Multiplying Contiguous Values in an Array

Given a 15 day period, where each row represents a day, I want to find
the maximum value within a row's respective time-period when all
contiguous values are multiplied together.

If sample data looks a little something like this, where column "A"
has a day #, "B" is each value, and "C" is where this prospective
function would go, column C should list the maximum product of all
contiguous values within the last 15 days. For day 2-11, (2*3) is the
greatest value. But by day 17, the value 5 is the largest.

(day) (value) (max)
A B C
1 2 2
2 3 6
3 6
4 6
5 5 6
6 6
7 1 6
8 2 6
9 2 6
10 6
11 6
.......
17 5

I hope this makes sense, and any help would be appreciated.
-bgetson

 
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
Multiplying cell values Kalanen Excel Discussion (Misc queries) 2 May 25th 07 08:56 AM
average values in non-contiguous cells, ignoring 0 values RWormdahl Excel Worksheet Functions 3 October 30th 06 01:06 AM
Array formula and multiplying conditions KR Excel Worksheet Functions 6 September 22nd 06 12:33 AM
Multiplying time values and numbers bunnyc Excel Discussion (Misc queries) 3 February 17th 06 03:43 PM
Weighted avg of numbers not in contiguous row-ie array w lookup? Diane Excel Worksheet Functions 2 November 9th 05 02:12 AM


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