Find max of client multiple billing amount for a particular month

Excelmania21

New Member
Joined
Jun 29, 2024
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Client Month Amount
A November 1234
B November 345
A september 34
A November 456
B December 765
B November 766
A November 988
C January 544

Like this I have 4000 rows, I want to find out which client has max billing amount for november month, considering there are multiple billing amount in that month for that client and there are over 40 clients in the database

I have tried this formula but its not working:

=INDEX(A:A, MATCH(MAXIFS(C:C, B:B, "November"), SUMIFS(C:C, A:A, A:A, B:B, "November"), 0))
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hello - you can try the following,

=MAX(MAXIFS(C:C,B:B,"November",A:A, "A"), ,MAXIFS(C:C,B:B,"November",A:A,"B"),MAXIFS(C:C,B:B,"November",A:A,"C")
 
Upvote 0
Another option
Excel Formula:
=LET(u,UNIQUE(FILTER(A2:A5000,B2:B5000="november")),TAKE(SORT(HSTACK(u,SUMIFS(C:C,B:B,"november",A:A,u)),2,-1),1))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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