Tracker - Multiple Actions being tracked, need to exclude duplicates

excelgal2016

New Member
Joined
Dec 14, 2016
Messages
21
Office Version
  1. 2019
Platform
  1. Windows
Hi all,

I am extremely bad at verbally explaining things, so I hope I'll manage to explain what I need clearly. :eek:

I have a "case tracker", where I track actions on cases and their status. There are several actions in the process (5+). Below is a very simplified example:

Capture.jpg


So basically, in this tracker I need to capture actions historically by date. That means that for each action, there will have to be new line entry (this can't be changed, it has to do with complexity of the tracker). On top of the historical data, I need to add "Open Cases" stats as per the above.

However, I need to be able to identify duplicates (by ID #) and if the second (third, fourth, ...) action ="Closed", this ID # and all the entries for that ID have to be excluded from the count of open cases. As per the above, now it counts as 3 open cases, whereas there is only 1 (#1 Closed, #2 Closed, #3 Submitted). I can't figure out how to do this :mad: and any help would be very appreciated!

Thanks
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Try this. Confirm with Ctrl+Shift+Enter

=SUM(IF(FREQUENCY(B2:B8,B2:B8),1))
-SUM(--(FREQUENCY(IF(C2:C8="Closed",B2:B8),B2:B8)>0))


Assumes the ID# are numeric
 
Last edited:
Upvote 0
May I have one more question please - is it possible to add more text options apart from the "Closed"? And if any of them is listed, the case is excluded as well?

Thanks
 
Upvote 0
May I have one more question please - is it possible to add more text options apart from the "Closed"? And if any of them is listed, the case is excluded as well?

Thanks

Change the text options to suit.
Confirm with Ctrl+Shift+Enter

=SUM(IF(FREQUENCY(B2:B8,B2:B8),1))
-SUM(--(FREQUENCY(IF(C2:C8={"Closed","Closed2","Closed3"},B2:B8),B2:B8)>0))
 
Upvote 0
Hi AlphaFrog - I'm afraid it's me again :rolleyes:

I am struggling with something else in very similar terms. Now I need to count the below:

rs8zzd.jpg


I need to count:

How many unique online enquiries did we have from US?

or

How many "UNIQUE" (col B) "ONLINE" (col A) "US" (col C) enquiries did we have?

Sorry for being a pain! :D

I would be very grateful for another great advice.
 
Upvote 0
Lots of forum volunteers could answer this type of question. Just start a new thread.

Try this. It presumes the IDs are numeric.
=SUM(IF(FREQUENCY(B2:B6*(A2:A6="Online")*(C2:C6="US"),B2:B6),1))
 
Upvote 0

Forum statistics

Threads
1,216,745
Messages
6,132,473
Members
449,729
Latest member
davelevnt

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