Rotation

Lee733

New Member
Joined
Jan 22, 2018
Messages
24
Office Version
  1. 365
Platform
  1. Windows
I need a formula or formulas to determine which part each person would receive if the idea is to give them approximately the same number of parts.

I sort the parts by quantity and give the first six people the part with the highest quantity.

I need a formula that will look at the person with the lowest total quantity and give them the next part.

The correct answer is below but it manual done. I can't figure out what formulas I could use to get the correct result.

Debbie

1713278330506.png
 
I copy and pasted from

C8 - =XLOOKUP(MIN(XLOOKUP(SEQUENCE(6),C$2:C7,D$2:D7,0,0,-1)),D$2:D7,C$2:C7,,0)
C9 - =MIN(XLOOKUP(SEQUENCE(6),C$2:C7,D$2:D7,0,0-1))+B8

1713283522026.png
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Rich (BB code):
D9 - =MIN(XLOOKUP(SEQUENCE(6),C$2:C8,D$2:D8,0,0-1))+B9           Your, WRONG
     =MIN(XLOOKUP(SEQUENCE(6),C$2:C8,D$2:D8,0,0,-1))+B9          CORRECT
Is that a typing error or...
 
Last edited:
Upvote 0
I copied your formulas to get it to work. Thanks again you are a genius!
 
Upvote 0

Forum statistics

Threads
1,215,202
Messages
6,123,625
Members
449,109
Latest member
Sebas8956

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