"Round Robin" ticket assignment queue

scottcim

New Member
Joined
May 7, 2019
Messages
1
Hi,
Wondering if anyone has any VBA laying around that can help me build a ticket assignment queue.

I'm trying to create a "round robin" ticket assignment queue that will keep track of tickets assigned to individuals. There needs to have the ability to skip names if their cell is shaded red.




  • Press a button to display InputBox to enter ticket number.
  • Assign ticket number to the "next in line" name in Column A
  • If the "next in line" name cell is filled red, they should be skipped.
  • The name assigned the ticket needs to have their cell filled yellow. Only one name should be filled yellow, as they are the last one assigned a ticket.
  • The "ticket number" needs to be placed into the adjacent cell in column D, of the "next in line" name. If a ticket already exists in that cell, it should be moved to the next adjacent column. (A persons newest assigned ticket will always be in column D)
  • Column B should keep a running total of that names tickets.
  • A Msgbox should appear displaying the ticket number and the name it was assigned to.

So, for example below, the next in line ticket should go to Name2. The last assigned was Name16. Name1,3 and 4 should be skipped.


NameTicket Count
Ticket numbers
Name12 Ticket17Ticket1
Name23 Ticket34Ticket18Ticket2
Name32 Ticket19Ticket3
Name42
Ticket20Ticket4
Name52 Ticket21Ticket5
Name63 Ticket35Ticket22Ticket6
Name73 Ticket36Ticket23Ticket7
Name83 Ticket37Ticket24Ticket8
Name93 Ticket38Ticket25Ticket9
Name103 Ticket39Ticket26Ticket10
Name113 Ticket40Ticket27Ticket11
Name123 Ticket41Ticket28Ticket12
Name133 Ticket42Ticket29Ticket13
Name143 Ticket43Ticket30Ticket14
Name153 Ticket44Ticket31Ticket15
Name163 Ticket45Ticket32Ticket16
<colgroup><col width="64" style="width: 48pt;"> <col width="84" style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;"> <col width="35" style="width: 26pt; mso-width-source: userset; mso-width-alt: 1280;"> <col width="103" style="width: 77pt; mso-width-source: userset; mso-width-alt: 3766;"> <col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;"> <col width="78" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2852;"> <tbody> </tbody>


Thank you!
Scott



 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,215,764
Messages
6,126,750
Members
449,335
Latest member
Tanne

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