=AVERAGEIF / MAXIFS/MINIFS question

hissonrr

Board Regular
Joined
Feb 6, 2016
Messages
106
Good day all,

I have not really used the =averageif function and was wondering if i could have some help.

Lets say I have the table below....

Basically what I was to do is find the average/min/max of my value 1 column if my depth 3 column fits between the depth 1 and depth 2 column.

For example using the table below I want to find the average of my value 1 column if it falls within a certain depth range from depth 1 and depth 2

If i want to find those values I need 3 formulas that will give me the average/min/max of all values 1 column that have a depth 3 range that fall within the range between cells A2 and B2

the resulting formulas in cells F2, G2, and H2 would produce..

Average of =50
Max of = 100
Min of = 50

can anyone help me out?

ABCDEFGH
1Depth 1Depth 2--Depth 3Value 1AverageMinMax
2110750?????????
31120850
42130950
5314010100
6415011100

<tbody>
</tbody>



-R
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Array Formulas

CellFormula
F2=IFERROR(MEDIAN(IF($D$2:$D$6>=$A2,IF($D$2:$D$6<=$B2,$E$2:$E$6))),"")
G2=IFERROR(MIN(IF($D$2:$D$6>=$A2,IF($D$2:$D$6<=$B2,$E$2:$E$6))),"")
H2=IFERROR(MAX(IF($D$2:$D$6>=$A2,IF($D$2:$D$6<=$B2,$E$2:$E$6))),"")

<tbody>
</tbody>

Note: Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.Note: Do not try and enter the {} manually yourself

Regards Dante Amor
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,194
Members
449,072
Latest member
DW Draft

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