Finding the most frequent value with certain criteria - MAXIF?

Uganda

Board Regular
Joined
Jun 10, 2015
Messages
76
Office Version
  1. 365
Hello,

I have a table of data showing emails and phone calls done by different agents during different months. If I wanted to show the lowest or highest number of emails/calls done by an individual in each month, what function should I use?

MonthclassAgent
11EmailA
11PhoneA
1EmailB
1PhoneB
1EmailC
1EmailA
1PhoneA
11EmailC
11PhoneC
1EmailC

<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>


Thanks in advance
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
A
B
C
D
E
F
G
H
1
MonthclassAgentMONTHEmailPhone
2
11​
EmailAA
11​
1​
1​
3
11​
PhoneAB
11​
0​
0​
4
1​
EmailBC
11​
1​
1​
5
1​
PhoneBA
1​
1​
1​
6
1​
EmailCB
1​
1​
1​
7
1​
EmailAC
1​
2​
0​
8
1​
PhoneA
9
11​
EmailC
10
11​
PhoneC
11
1​
EmailC

<tbody>
</tbody>

G2=COUNTIFS($C$2:$C$11,$E2,$A$2:$A$11,$F2,$B$2:$B$11,G$1) copy across and down
 
Upvote 0
A
B
C
D
E
F
G
H
1
MonthclassAgentMONTHEmailPhone
2
11​
EmailAA
11​
1​
1​
3
11​
PhoneAB
11​
0​
0​
4
1​
EmailBC
11​
1​
1​
5
1​
PhoneBA
1​
1​
1​
6
1​
EmailCB
1​
1​
1​
7
1​
EmailAC
1​
2​
0​
8
1​
PhoneA
9
11​
EmailC
10
11​
PhoneC
11
1​
EmailC

<tbody>
</tbody>

G2=COUNTIFS($C$2:$C$11,$E2,$A$2:$A$11,$F2,$B$2:$B$11,G$1) copy across and down

Thanks for this; but what I was actually after was just the min or max answer to show rather than all answers a bit like what you would get with a MAXIF function?

Thanks for your help though!
 
Upvote 0

Forum statistics

Threads
1,214,405
Messages
6,119,320
Members
448,887
Latest member
AirOliver

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