Average & Max formula

searchingforhelp

Board Regular
Joined
Nov 11, 2020
Messages
67
Office Version
  1. 365
Platform
  1. Windows
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.

Thank you for any help you can provide.

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

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
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"))
 
Upvote 0
Solution
in E1 - Array formula make sure to press CTL+SHIFT+ENT

Excel Formula:
=MIN(IF(C2:C5="Mike",A2:B5))
 
Upvote 0
Hi Hrayani, thank you! It appears to work (y). This is great, I would had never figured this out.
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,739
Members
448,989
Latest member
mariah3

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