Formula for trouble ticket reassignment

carog

New Member
Joined
Apr 9, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello, I'm looking for a formula to count trouble ticket case reassignments. Our software allows case reassignment back and forth, but the export of the case history is a little goofy.

Each Case ID is printed in Column A. Column B contains the person the case was reassigned to. Each time a case is reassigned, a new row is added with the same Case ID in Column A, and an updated user in Column B.

I'd like to know for each unique case in Column A how many times it was reassigned to a unique person. Is this possible?

Case Examples.png
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi & welcome to MrExcel.
With that data would A-1 =3 & A-2 =2?
 
Upvote 0
Ok, how about
+Fluff 1.xlsm
ABCDE
1
2A-1User AA-13
3A-1User BA-22
4A-1User CA-31
5A-1User AA-42
6A-1User C
7A-2User A
8A-2User B
9A-2User A
10A-3User A
11A-4User A
12A-4User B
13A-4User B
14A-4User B
15A-4User A
16A-4User B
17A-4User A
18
Main
Cell Formulas
RangeFormula
D2:D5D2=UNIQUE(A2:A17)
E2:E5E2=ROWS(UNIQUE(FILTER($B$2:$B$17,$A$2:$A$17=D2)))
Dynamic array formulas.
 
Upvote 0
Ok, how about
+Fluff 1.xlsm
ABCDE
1
2A-1User AA-13
3A-1User BA-22
4A-1User CA-31
5A-1User AA-42
6A-1User C
7A-2User A
8A-2User B
9A-2User A
10A-3User A
11A-4User A
12A-4User B
13A-4User B
14A-4User B
15A-4User A
16A-4User B
17A-4User A
18
Main
Cell Formulas
RangeFormula
D2:D5D2=UNIQUE(A2:A17)
E2:E5E2=ROWS(UNIQUE(FILTER($B$2:$B$17,$A$2:$A$17=D2)))
Dynamic array formulas.
Wow, that's great! That is really helpful. Just to take it a step farther (as I'm sure our customers will ask), would there be any way to identify the counts of assignments to specific users?

For example, looking up how many times case A-1 was assigned to User C. The answer using the above example for case A-1 would be 2.
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDEFGH
1User CUser A
2A-1User AA-13A-122
3A-1User BA-22A-403
4A-1User CA-31
5A-1User AA-42
6A-1User C
7A-2User A
8A-2User B
9A-2User A
10A-3User A
11A-4User A
12A-4User B
13A-4User B
14A-4User B
15A-4User A
16A-4User B
17A-4User A
Main
Cell Formulas
RangeFormula
D2:D5D2=UNIQUE(A2:A17)
G2:H3G2=IFERROR(ROWS(FILTER($B$2:$B$17,($B$2:$B$17=G$1)*($A$2:$A$17=$F2))),0)
E2:E5E2=ROWS(UNIQUE(FILTER($B$2:$B$17,$A$2:$A$17=D2)))
Dynamic array formulas.
 
Upvote 0
Solution
How about
+Fluff 1.xlsm
ABCDEFGH
1User CUser A
2A-1User AA-13A-122
3A-1User BA-22A-403
4A-1User CA-31
5A-1User AA-42
6A-1User C
7A-2User A
8A-2User B
9A-2User A
10A-3User A
11A-4User A
12A-4User B
13A-4User B
14A-4User B
15A-4User A
16A-4User B
17A-4User A
Main
Cell Formulas
RangeFormula
D2:D5D2=UNIQUE(A2:A17)
G2:H3G2=IFERROR(ROWS(FILTER($B$2:$B$17,($B$2:$B$17=G$1)*($A$2:$A$17=$F2))),0)
E2:E5E2=ROWS(UNIQUE(FILTER($B$2:$B$17,$A$2:$A$17=D2)))
Dynamic array formulas.
Perfect, thank you so much!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,900
Members
449,194
Latest member
JayEggleton

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