Sumifs with duplicate criteria Max Count

aaleem

Board Regular
Joined
Sep 26, 2014
Messages
56
Office Version
  1. 2016
Hi,

The SumIfs formula with duplicate criteria is working fine, however, the result is coming on the first count, how can we bring this result to the max count of the same subset.

Any help will be highly appreciated.

thanks
aleem


ResultsLookup Data
Cust no.Cust. NameAmountDoc NumberG/L DateLT 1 AmountCust no.
806290David Miller(15,000.00)<--IF(COUNTIF($A$3:A3,A3)=1,SUMIFS(H:H,I:I,A3),0)1000181610.01.11(10,000.00)806290
806290David Miller-1500034116.05.16(5,000.00)806290
806290David Miller-1905447926.01.2010,000.00806290
806290David Miller-1200448026.01.205,000.00806290
806290David Miller-2100447926.01.20(10,000.00)806290
806290David Miller-2300448026.01.20(5,000.00)806290
806290David Miller-1000181911.01.11(5,000.00)807263
806290David Miller-<--Desired Result --The sumifs result should come here1500034417.05.16(2,500.00)807263
1905448227.01.205,000.00807263
807263Tim Pane(5,000.00)1200448327.01.202,500.00807263
807263Tim Pane-2100448227.01.20(5,000.00)807263
807263Tim Pane-
807263Tim Pane-<--Desired Result --The sumifs result should come here
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi,

May be something like this?

Book3.xlsx
ABCDEFGHI
1ResultsLookup Data
2Cust no.Cust. NameAmountDoc NumberG/L DateLT 1 AmountCust no.
3806290David Miller0.001000181640553-10000806290
4806290David Miller0.001500034142506-5000806290
5806290David Miller0.00190544794385610000806290
6806290David Miller0.0012004480438565000806290
7806290David Miller0.002100447943856-10000806290
8806290David Miller0.002300448043856-5000806290
9806290David Miller0.001000181940554-5000807263
10806290David Miller-15,000.001500034442507-2500807263
110.0019054482438575000807263
12807263Tim Pane0.0012004483438572500807263
13807263Tim Pane0.002100448243857-5000807263
14807263Tim Pane0.00
15807263Tim Pane-5,000.00
Sheet916
Cell Formulas
RangeFormula
C3:C15C3=IF(COUNTIF(A$3:A3,A3)=COUNTIF(A$3:A100,A3),SUMIFS(H:H,I:I,A3),0)
 
Upvote 0
Solution
You're welcome, thanks for the feedback.(y)
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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