Minimum/Maximum value

Lino

Active Member
Joined
Feb 27, 2002
Messages
429
I am trying to find the minimum and maximum value of a rolling number set consisting of 10 numbers.

example:
give me the minimum value for set 1-10
next give me the minimum value for set 2-11
next give me the minimum value for set 3-12

and so on.

Any ideas?

I am going to build a loop but I just don't know how to create the set of numbers to analyze.

Lino
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
On 2002-03-21 11:36, Lino wrote:
I am trying to find the minimum and maximum value of a rolling number set consisting of 10 numbers.

example:
give me the minimum value for set 1-10
next give me the minimum value for set 2-11
next give me the minimum value for set 3-12

and so on.

Any ideas?

I am going to build a loop but I just don't know how to create the set of numbers to analyze.

Lino

"and so on"? Is this an infinite loop? Is the data set infinite? If not, provide some sample data.
 
Upvote 0
It is not an infinite data set

1,2,3,4,5,6,7,8,9,5,2,3,4,5,6,7,8,9

analyzing the above for lowest value would result in:

The first 10 (1-10) numbers = 1
The second 10 (2-11) numbers = 2

hope this helps
 
Upvote 0
On 2002-03-21 11:36, Lino wrote:
I am trying to find the minimum and maximum value of a rolling number set consisting of 10 numbers.

example:
give me the minimum value for set 1-10
next give me the minimum value for set 2-11
next give me the minimum value for set 3-12

and so on.

Any ideas?

I am going to build a loop but I just don't know how to create the set of numbers to analyze.

Lino

In B1 enter:

=MIN(A1:A10)

In C1 enter:

=MAX(A1:A10

and drag down both.
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,237
Members
448,555
Latest member
RobertJones1986

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top