SOLVED
Home

Calculating equal batches

%3CLINGO-SUB%20id%3D%22lingo-sub-686826%22%20slang%3D%22en-US%22%3ECalculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-686826%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%20guys%2C%20%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EI%20have%20a%20question%20regarding%20the%20formula%20to%20use%20in%20order%20to%20calculate%20equal%20batches.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3ETo%20be%20clearer%2C%20my%20order%20being%20different%20every%20day%20and%20my%20batches%20needing%20to%20be%20equal%20and%20containing%20between%20100%20and%20200%20units%2C%20an%20automated%20formula%20would%20save%20me%20a%20lot%20of%20time%20in%20calculating%20the%20numbers%20every%20day.%20%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EHope%20some%20of%20you%20will%20be%20able%20to%20help.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EThank%20you%20in%20advance%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-686826%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-686859%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-686859%22%20slang%3D%22en-US%22%3EHi%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20attach%20a%20sample%20Excel%20file%20to%20help%20demonstrate%20what%20you%20want%20to%20achieve%20please%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3E%3CBR%20%2F%3EWyn%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-686886%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-686886%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9832%22%20target%3D%22_blank%22%3E%40Wyn%20Hopkins%3C%2FA%3E%26nbsp%3BThanks%20!%20I%20hope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBasically%20my%20batches%20of%20red%20and%20blue%20always%20consist%20of%20200%20or%20190%20units%20so%20it%20quite%20easy%20to%20calculate.%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20the%20other%20hand%20orange%20and%20purple%20batch%20size%20varies%20depending%20on%20my%20order.%20The%20important%20thing%20is%20for%20my%20batches%20to%20consist%20of%20between%20100%20and%20200%20units%20and%20be%20equal.%20I%20hope%20that%20makes%20sense.%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20you%20probably%20guessed%20I%20m%20very%20new%20to%20this%20and%20not%20exactly%20well%20versed%20in%20excel%20terminology.%20I%20hope%20I%20provided%20the%20necessary%20info.%20Thanks%20again%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-686926%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-686926%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20there's%20quite%20a%20few%20calculations%20going%20on%20here%20that%20I'll%20need%20some%20help%20to%20understand%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhy%20does%20the%20Quantity%20represent.%26nbsp%3B%20Quantity%20of%20what%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20yellow%20cell%20is%20taking%20the%20total%20Quantity%20and%20splitting%20it%20by%20200%20items%20to%20get%20the%20number%20of%20batches%20of%20Red%20items%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Green%20cell%20is%20splitting%20it%20by%20210%20items%20(you%20mention%20190%20in%20your%20post)%20to%20get%20the%20number%20of%20batches%20of%20Blues%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20not%20clear%20on%20what%20you%20want%20the%20formula%20to%20do%20for%20Orange%20or%20Purple%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20707px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117889i10B604F04325D6A4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-686927%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-686927%22%20slang%3D%22en-US%22%3Ee.g%20if%20you%20have%2075%20units%20they%20won't%20fit%20in%20a%20100%20unit%20batch%20so%20what%20happens%20then%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-686942%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-686942%22%20slang%3D%22en-US%22%3ESo%20some%20scenarios%20that%20may%20help%20me%20understand%3CBR%20%2F%3E%3CBR%20%2F%3Eif%20you%20have%20360%20units%20of%20orange%20you%20want%20to%20do%203%20batches%20of%20120%3CBR%20%2F%3EIf%20you%20have%20300%20units%20of%20orange%20you%20want%20to%20do%202%20batches%20of%20150%20or%20do%20you%20want%203%20batches%20of%20100%3CBR%20%2F%3Eif%20you%20have%20330%20units%20of%20orange%20%3D%203%20batches%20of%20110%20or%202%20batch%20of%20165%3F%3CBR%20%2F%3EIf%20you%20have%20450%20units%20of%20orange%20want%203%20batches%20of%20150%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-686951%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-686951%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9832%22%20target%3D%22_blank%22%3E%40Wyn%20Hopkins%3C%2FA%3E%26nbsp%3BSo%20the%20quantity%20represents%20the%20amount%20of%20tubs%20ordered.%20I%20calculate%20the%20quantities%20in%20142g%20tubs%20and%20170g%20tubs%20as%20this%20is%20the%20unit%20of%20measurement%20for%20my%20batches.%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20apologies%20you%20are%20right%20for%20the%20blue%20it%20is%20batches%20of%20210%20not%20190.%3C%2FP%3E%3CP%3EThe%20formula%20for%20the%20orange%20and%20purple%20are%20meant%20to%20calculate%20the%20minimum%20amounts%20of%20equal%20sized%20%26nbsp%3Bbatches%20(each%20batch%20being%20between%20100%20and%20200%20tubs%20of%20170g)%20depending%20on%20the%20order.%20If%20the%20order%20is%20lower%20than%20100%20than%20a%20batch%20of%20100%20wi%20still%20have%20to%20be%20made.%20Does%20that%20make%20sense%3F%26nbsp%3B%3C%2FP%3E%3CP%3EBasically%20I%20want%20the%20system%20in%20the%20case%20of%20me%20having%20an%20order%20of%20300%20to%20make%202%20batches%20of%20150.%20Does%20that%20make%20sense%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-686952%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-686952%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9832%22%20target%3D%22_blank%22%3E%40Wyn%20Hopkins%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20I%20missed%20that%20message.%20I%20would%20like%20to%20make%20the%20biggest%20batches%20possible.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-689828%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-689828%22%20slang%3D%22en-US%22%3E%3CP%3Esorry%20one%20more%20question%2C%20in%20your%20attached%20example%20you%20had%208.5%20and%205.3%20batches.%20So%20do%20your%20orange%20and%20purple%20batches%20need%20to%20be%20whole%20numbers%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-689838%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-689838%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9832%22%20target%3D%22_blank%22%3E%40Wyn%20Hopkins%3C%2FA%3E%26nbsp%3BThanks%20for%20getting%20back%20to%20me.%20Yes%20they%20would%20be.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-689906%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-689906%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F358835%22%20target%3D%22_blank%22%3E%40Jessica231%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20there's%20probably%20a%20more%20elegant%20formula%20way%20of%20doing%20this%20but%20I've%20approached%20it%20using%20a%20table%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20me%20know%20if%20it%20works%20for%20you%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-689914%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-689914%22%20slang%3D%22en-US%22%3E%3CP%3EOMG%20this%20is%20perfect%20thank%20you%20sooooo%20much!%20I%20wish%20I%20could%20send%20you%20cookies%20!%20ahahhaah%3C%2FP%3E%3CP%3EI%20have%20no%20idea%20about%20what%20the%20very%20intricate%20formula%20is%20but%20it%20is%20exactly%20what%20I%20wanted.%20Eternally%20grateful%20!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-690025%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-690025%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F358835%22%20target%3D%22_blank%22%3E%40Jessica231%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOr%20like%20this%20for%20multiple%20products%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-693111%22%20slang%3D%22en-US%22%3ERe%3A%20Calculating%20equal%20batches%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-693111%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9832%22%20target%3D%22_blank%22%3E%40Wyn%20Hopkins%3C%2FA%3E%26nbsp%3BThank%20you%20very%20much.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Jessica231
Occasional Contributor

Hi guys,

I have a question regarding the formula to use in order to calculate equal batches.
To be clearer, my order being different every day and my batches needing to be equal and containing between 100 and 200 units, an automated formula would save me a lot of time in calculating the numbers every day.
Hope some of you will be able to help.

Thank you in advance

13 Replies
Hi

Could you attach a sample Excel file to help demonstrate what you want to achieve please,

Thanks

Wyn

@Wyn Hopkins Thanks ! I hope this helps.

 

Basically my batches of red and blue always consist of 200 or 190 units so it quite easy to calculate. 

On the other hand orange and purple batch size varies depending on my order. The important thing is for my batches to consist of between 100 and 200 units and be equal. I hope that makes sense. 

As you probably guessed I m very new to this and not exactly well versed in excel terminology. I hope I provided the necessary info. Thanks again

So there's quite a few calculations going on here that I'll need some help to understand

 

Why does the Quantity represent.  Quantity of what?

 

The yellow cell is taking the total Quantity and splitting it by 200 items to get the number of batches of Red items

 

The Green cell is splitting it by 210 items (you mention 190 in your post) to get the number of batches of Blues

 

I'm not clear on what you want the formula to do for Orange or Purple?

image.png

e.g if you have 75 units they won't fit in a 100 unit batch so what happens then?
So some scenarios that may help me understand

if you have 360 units of orange you want to do 3 batches of 120
If you have 300 units of orange you want to do 2 batches of 150 or do you want 3 batches of 100
if you have 330 units of orange = 3 batches of 110 or 2 batch of 165?
If you have 450 units of orange want 3 batches of 150?

@Wyn Hopkins So the quantity represents the amount of tubs ordered. I calculate the quantities in 142g tubs and 170g tubs as this is the unit of measurement for my batches. 

My apologies you are right for the blue it is batches of 210 not 190.

The formula for the orange and purple are meant to calculate the minimum amounts of equal sized  batches (each batch being between 100 and 200 tubs of 170g) depending on the order. If the order is lower than 100 than a batch of 100 wi still have to be made. Does that make sense? 

Basically I want the system in the case of me having an order of 300 to make 2 batches of 150. Does that make sense?

@Wyn Hopkins 

Sorry I missed that message. I would like to make the biggest batches possible. 

sorry one more question, in your attached example you had 8.5 and 5.3 batches. So do your orange and purple batches need to be whole numbers ?

@Wyn Hopkins Thanks for getting back to me. Yes they would be.

Solution

Hi @Jessica231 

 

So there's probably a more elegant formula way of doing this but I've approached it using a table

 

Let me know if it works for you

 

 

OMG this is perfect thank you sooooo much! I wish I could send you cookies ! ahahhaah

I have no idea about what the very intricate formula is but it is exactly what I wanted. Eternally grateful !!!

@Jessica231 

 

Or like this for multiple products

@Wyn Hopkins Thank you very much. 

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
201 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies