Hello, I've attached an excel file with the problem I'm hoping to solve. Column A lists the file names, and Column B lists the page numbers in each file. The page numbers are totaled in Column C. My job is to distribute the files to the five employees based on the number of pages. I also have to keep in mind when dividing the files that employees A, B & C should each get 25% of the files and employees D & E should only get 12.5% each. Column D contains the formula I'm currently using, and it mostly works. However, you will notice that Employee B is only assigned 20% of the files, while Employee C is assigned 30% of the files. It is driven by the file on row 77 (highlighted in yellow). This 901-page file exceeds employee B's page limit and is assigned to employee C. I can reassign this to employee B manually, but I was hoping for some assistance in updating my formula to make this work without having to update manually each time.
Thank you very much!
Thank you very much!