LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default excel formula to create a cutting list help needed please


I did a re-evaluation of this question.
It appears that you have a 4000 length from which you need the requested
cuts.
If so, put your list of requested cuts in range g5:g9 and run this.
Then run again for the second series of cuts

Sub getcuts()
ml = 4000
cuts = 0
For Each c In Range("g5:g9")
If c 0 And c < (ml - cuts) Then
cuts = cuts + c
ms = ms & "+" & c
c.ClearContents
End If
Next c
MsgBox ms
MsgBox cuts
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"davers" wrote in message
...
I dont know if this is the right place to ask this question but i am
looking
for a simple excel formula to create a cutting list.

ie

1200
1400
1800
2000
600

The above lengths needs to be cut from 4000
so 1200 + 1800 = 4000 and 1200+2000+600 =3200
so i require 2 lengths at 4000, surely its a simple excel formula, any
help
would be much appreciated.



 
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
Create formula which will number a list in Excel 2003 Wessel Excel Discussion (Misc queries) 3 October 26th 06 10:29 AM
Formula needed to create grand totals Daniel LEYVA Excel Worksheet Functions 1 October 14th 06 09:18 AM
Help needed - creating invoice from packing list (both in excel) [email protected] Excel Discussion (Misc queries) 0 August 22nd 06 10:18 AM
Help needed - creating invoice from packing list (both in excel) [email protected] Excel Discussion (Misc queries) 0 August 22nd 06 10:13 AM
RE Excel: Once a list is created, how do you delete it if needed? JNAY Excel Worksheet Functions 2 July 8th 06 05:38 PM


All times are GMT +1. The time now is 04:00 PM.

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"