Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
skrev i en meddelelse
ups.com... 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 -bgetson It's not entirely clear to me, what you're trying to accomplish. Perhaps this can be of help: 1. In C1 enter the formula =B1 2. In C2 the formula =MAX(B2*B1,C1) 3. Copy C2 down with the fill handle (the little square in the lower right corner of the cell) -- Best regards Leo Heuser Followup to newsgroup only please. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiplying cell values | Excel Discussion (Misc queries) | |||
average values in non-contiguous cells, ignoring 0 values | Excel Worksheet Functions | |||
Array formula and multiplying conditions | Excel Worksheet Functions | |||
Multiplying time values and numbers | Excel Discussion (Misc queries) | |||
Weighted avg of numbers not in contiguous row-ie array w lookup? | Excel Worksheet Functions |