output max/min from another worksheet

deuce

Active Member
Joined
Oct 6, 2006
Messages
346
Office Version
  1. 2007
I am requesting the creation of a formula that will output the max and min of the last 20 days from another worksheet, the problem is that the datasheet is automatically updated every 1 minute and filled with data going downwards. The data columns are C,D,E,F.

Is there a way to do this?

thanks and regards,
deuce
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I am requesting the creation of a formula that will output the max and min of the last 20 days from another worksheet, the problem is that the datasheet is automatically updated every 1 minute and filled with data going downwards. The data columns are C,D,E,F.

Is there a way to do this?

thanks and regards,
deuce
Which sheet has the data?

The max of which column?
 
Upvote 0
hi thanks for your response, Sheet1 has the data and the reference columns are C:F so it would be the max and min of of C:F

thanks
deuce.
 
Upvote 0
I would specify the number of days and the formula would look from the latest row that contains the data.
 
Upvote 0
I am requesting the creation of a formula that will output the max and min of the last 20 days from another worksheet, the problem is that the datasheet is automatically updated every 1 minute and filled with data going downwards. The data columns are C,D,E,F.

Is there a way to do this?

thanks and regards,
deuce
Will there ALWAYS be 20 rows of data? What if there isn't?

Is the data entered in a contiguous block (no empty rows within the data area)?
 
Upvote 0
Will there ALWAYS be 20 rows of data? What if there isn't?

Is the data entered in a contiguous block (no empty rows within the data area)?

There are 28800 rows and 2000 rows are added every day, the latest data is added going downwards.


hope this helps.

deuce.
 
Upvote 0
Together taken as 1 group/range of cells.

A1: 20 (Last N days parameter)

B1: (for the Max value)

=MAX(OFFSET(INDEX(Sheet1!C:C,MATCH(9.99999999999999E+307,Sheet1!C:C)),0,0,-MIN(COUNT(Sheet1!C:C),A1),COLUMNS(C:F)))

C1: (for the Min Value)

=MIN(OFFSET(INDEX(Sheet1!C:C,MATCH(9.99999999999999E+307,Sheet1!C:C)),0,0,-MIN(COUNT(Sheet1!C:C),A1),COLUMNS(C:F)))
 
Upvote 0
There is another function I need to do but this deals with averaging, in Sheet2 column A I have the list going down in the same way but I need the average of the past 20 days instead of the min or max. what would i do for this?
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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