Click here to Skip to main content
15,915,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a table like this:

+===========+========================+
| **Name**  |**Number of tasks done**|
+===========+========================+
| joe       |                      1 |
+-----------+------------------------+
| john      |                      1 |
+-----------+------------------------+
| emma      |                      0 |
+-----------+------------------------+
| sophia    |                      0 |
+-----------+------------------------+


I want to make a FIFO queue from Name column in Excel by formula OR simplest VBA code that in this queue Every person who takes a job goes out of the queue and when the last person takes a job and added to the number of her/his jobs, will be back to the first person and the work will be split between the people in the same way.

For example after John, Emma should take a job and after Emma, Sophia should take a job and then will be back to Joe to take next job AND If someone does not work, leave queue due to absence or denial of work and Stay in the queue if the operator is confirmed without work.

What I have tried:

For example after John, Emma should take a job and after Emma, Sophia should take a job and then will be back to Joe to take next job AND If someone does not work, leave queue due to absence or denial of work and Stay in the queue if the operator is confirmed without work.

How can I do that?
Posted
Updated 8-May-18 23:02pm
v3
Comments
Maciej Los 9-May-18 4:30am    
Based on what condition?
Member 13818550 10-May-18 1:32am    
I think I explained all conditions

1 solution

You have to use Google, before posting a question.
I have found these:
How to Use Excel to Make a Queue | Chron.com[^]
How to Create a FIFO Excel Spreadsheet | Sapling.com[^]
 
Share this answer
 
Comments
Member 13818550 9-May-18 5:09am    
I had already searched and read these pages, but the first one had many errors and was not corrected, and the latter was not applicable to my problem.
Member 13818550 9-May-18 5:14am    
If you can help me to solve the errors in first link ,Thank you for cooperating with me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900