Average & Max formula

searchingforhelp

New Member
I know how to complete basic Average and Max formulas but what I am trying to accomplish I need assistance with.

1. Finding the Average- Column D:
I am trying to find a specific name (Mike) in column C and find all negative numbers associated with his name in column A and B, and the Average of all the negative numbers identified.

2. Finding the Max- Column E:
I am trying to find a specific name (Mike) in column C and find all negative numbers associated with his name in column A and B, and the Max (for this example it will be -19). I know -19 is not the highest number, it’s the lowest but for this example I would need the formula to identify it as the highest.

Example 4-27-2021.xlsx
ABCDE
1List oneList twonameAverageMax
2-17Mike
34-19Mike
4-5-3Tim
5-32Mike
Average & Max

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

hrayani

Well-known Member
Hi,

Try this in D1 - Is this what you are looking for ??

Excel Formula:
``=(SUMIFS(A2:A5,C2:C5,"Mike",A2:A5,"<0")+SUMIFS(B2:B5,C2:C5,"Mike",B2:B5,"<0"))/(COUNTIFS(C2:C5,"mike",A2:A5,"<0")+COUNTIFS(C2:C5,"Mike",B2:B5,"<0"))``

hrayani

Well-known Member
in E1 - Array formula make sure to press CTL+SHIFT+ENT

Excel Formula:
``=MIN(IF(C2:C5="Mike",A2:B5))``

searchingforhelp

New Member
Hi Hrayani, thank you! It appears to work . This is great, I would had never figured this out.

hrayani

Well-known Member
Hi Hrayani, thank you! It appears to work . This is great, I would had never figured this out.

You are welcome & thanks for the feedback

Replies
1
Views
74
Replies
6
Views
149
Replies
3
Views
58
Replies
16
Views
116
Replies
9
Views
128

1,136,206
Messages
5,674,410
Members
419,507
Latest member
karenvanegas

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.

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

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