Forum Discussion

udit_h's avatar
udit_h
Copper Contributor
Jan 28, 2022

Dividing a number in equal parts, not exceeding 1800 and in multiples of 50 or 100

Hello there,

I am looking for an excel formula to help me resolve the problem statement provided below:

I manufacture steel pipes and have to cut them in such a way that there are minimum number of joints. The max. Length of the pipe can be 1800 mm. I have given a sample spreadsheet below to help you explain certain scenarios. A few things to keep in mind are:

  • Max. Length cannot exceed beyond 1800
  • The length has to be in multiples of 50 or 100
  • The number of pieces have to be minimum. For example, 3000 can be divided into 1800 + 600 + 600 but this will result in 3 pipe pieces. What I need is 1500 + 1500.  

 

size Break up     
1900950950    
200010001000    
250012501250    
300015001500    
4000180011001100   
4200180012001200   
5000180016001600   
5200180017001700   
5400180018001800   
56001800180010001000  
58001800180011001100  
7000180018001800800800 
800018001800180013001300 
880018001800180017001700 
9400180018001800180011001100

 

I did take some help from the discussion mentioned below, but I am still struggling to fulfil my requirement https://techcommunity.microsoft.com/t5/excel/divide-a-quantity-as-whole-number-among-multiple-cells/m-p/154139

 

It will be amazing if you folks out there could help me 🙏🏼

 

Willy Lau JMB17 SergeiBaklan It would mean a lot if you can also review the problem statement mentioned above.

 

No RepliesBe the first to reply

Resources