• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Need to make multiple subsets/subtotal of total values

younas

New Member
Hi,

I have a value set of 05 different items and want to make their subsets based on some criteria which i have mentioned in the attached sheet. Please help to make these sets using formulas preferably non-vba but vba will work too in case we have not non-vba solution. Thanks in advance for your great help as always.

Need to make sets of values with the no. of boxes of two sizes i.e. 200 and 100.
I have filled the Set values manually just to explain the required result
I have added 03 sets but they may increase
 

Attachments

  • Make sets out of total units.xlsx
    14.2 KB · Views: 9
There are 02 sizes 200 and 100. If the total of values is 500 then there will be three sets i.e. 200, 200, 100. If the total is 80 then there will be only one set of 100 size.
 
Hii,

Please find the attached solution,,,
try this,hope this will help

IFERROR(IF(LOOKUP(SUM(F3:J3),{1;101},{1;2})=2,1,IF(LOOKUP(SUM(F3:J3),{1;101},{1;2})=1,"")),"")

Regard
rahul shewale
 

Attachments

  • Make sets out of total units.xlsx
    13.2 KB · Views: 8
Please see attached file.

Regards
Bosco
Hi Bosco,

Known values are from column "A" to "E". we need to calculate the values from column "F" to on-wards using formula.

Things we already know:

  1. total units of each item

Things to calculate are
  1. units for each set we make (yellow highlighted).
  2. set boxes (green highlighted). You have done already
 
Last edited:
I want to calculate each Set units (yellow highlighted) using the total units that I already have. I hope this will clarify my question.
 
I think I have done it. Please review the attached and advise if everything is all right.
 

Attachments

  • Make sets out of total units.xlsx
    13.8 KB · Views: 9
Back
Top