Missing Numbers from a Custom Sequence According to Multiple Unique Identiers

JJohnson07

New Member
Joined
Aug 28, 2017
Messages
2
I am using Excel 10. If I have multiple reps that have scheduled visits, and the scheduled visits I want to track are identified with the numbers 2-51. How do I identify the missing visits according to the rep? I have found a few great VBAs for the missing numbers, have not found a solution tying the missing numbers to the rep's name. I would greatly appreciate any support! Below is an example of the data:

Reps
Visit
Jim
2
Jim
3
Jim
4
Jim
6
Jim
7
Beth
2
Beth
3
Beth
4
Josh
2
Josh
5
Josh
6
Josh
7

<tbody>
</tbody>

The output I need is as follows:

Jim5
Josh3
Josh4

<tbody>
</tbody>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
A
B
C
D
E
F
G
H
1
repsVisit
2
Jim
2​
Jim
5​
3
Jim
3​
Beth
3​
4
Jim
4​
Josh
4​
5
Jim
6​
6
Jim
7​
7
Beth
2​
8
Beth
3​
9
Beth
4​
10
Josh
2​
11
Josh
5​
12
Josh
6​
13
Josh
7​

<tbody>
</tbody>


f2=
SUM(IF(FREQUENCY(IF($A$2:$A$13=$F2,$B$2:$B$13),$B$2:$B$13),1)) control+shif +enter copy down

After you type in the formula, don't just press enter.
Instead, press CTRL + SHIFT + ENTER


If you've already entered the formula, then highlight the cell with the formula and press F2.
Then press CTRL + SHIFT + ENTER




When entered correctly, the formula will be enclosed in {brackets}


 
Upvote 0
Thank you for your reply Marziotullio! However, it's not the a visit count based on the rep's name that I'm looking for. It's the missed visits according to the reps name. Note that in my output example Beth does not show up because there are no missing numbers between 2 and 4. I am actually able to use your array for another need though. :)
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,904
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