COUNTIF - Accounting for mixed duplicates

Harveux

New Member
Joined
Aug 1, 2017
Messages
4
Hi I need a formula that counts cells beyond the formula =COUNTIFS(A:A,"Blue",D:D,"On time") that accounts for duplicates. Any help would be appreciated =)

Formula%20Resolution.jpg


Row 2 (Blue/Unique#/Late) should be counted in H2

Row 3 (Blue/Unique#/On time) should be counted in G2

Row 4 and 5 (Blue/Duplicate#/One Late, One On Time) should be counted once in J2

Row 6 and 7 (Blue/Duplicate#/Both on time) should be counted in G2

Row 8 and 9 (Red/Duplicate#/Both on time) should be counted in G3

Row 10 (Green/Unique#/Not Due) should be counted in I4
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Thanks for the welcome,

My expected results are shown here (manually inserted) Dropbox - Formula Resolution2.jpg
Of which the bar chart draws its input.
I have a larger data set (not shown) that I need to automatically assign into the second section (2) which measures occurrences. Where there is duplicate numbers in the C column I want to only assign into 'Late' or 'On time' if both duplicates show 'Late' or 'On Time'. If they show different things i.e. one shows late and the other on time, I want it to be counted as 'mixed' and not into the late or on time columns in 2. Unique non duplicates should still be counted as normal in the second section i.e. late counted in late column.

I hope this is clear, if not I will try and explain it better.

Many thanks
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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