Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default set of numbers ranging from 0 to 240

Hi Experts,

I am trying to find a solution to an Excel 2002 programming problem
and have not found a good source. My problem is that I have a long
set of numbers ranging from 0 to 240 and would like to group the
numbers in individual, non repeating sets that add up to 238 or as
close to 238 as possible while also limiting the total number of sets
( if single number greater than 238 it is its own set). The
preferred output would be individual columns or rows that have the
individual numbers (which add up to 238 or very close) and there would
be enough of these sets to use all the numbers without repeating use
of the numbers. This is an optimization/waste elimination problem.
This will be used to order the optimal amount of steel bars and also
give the cutting list for each bar.

Thank you for any help.

Regards
Ankur

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default set of numbers ranging from 0 to 240

Sounds simple enough, but you will need to give some more information
about the numbers 0 to 240.
Are they unique numbers?
Are all the numbers from 0 to 240 there or will there be numbers skipped?
When adding up how far are you allowed to go over 238 and how far under?
etc.

RBS

"ankur" wrote in message
ups.com...
Hi Experts,

I am trying to find a solution to an Excel 2002 programming problem
and have not found a good source. My problem is that I have a long
set of numbers ranging from 0 to 240 and would like to group the
numbers in individual, non repeating sets that add up to 238 or as
close to 238 as possible while also limiting the total number of sets
( if single number greater than 238 it is its own set). The
preferred output would be individual columns or rows that have the
individual numbers (which add up to 238 or very close) and there would
be enough of these sets to use all the numbers without repeating use
of the numbers. This is an optimization/waste elimination problem.
This will be used to order the optimal amount of steel bars and also
give the cutting list for each bar.

Thank you for any help.

Regards
Ankur


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ranging the filter cells when doing auto filter thread Excel Programming 8 April 25th 07 11:08 PM
Ranging foruma in excel Mark Scott[_2_] Excel Worksheet Functions 5 February 25th 07 06:33 PM
Need to reconcile numbers accounting Harlan Grove code doesn't work for negative numbers [email protected] Excel Programming 1 July 28th 06 07:09 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 1 January 9th 06 01:23 PM


All times are GMT +1. The time now is 05:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"