I have attached a picture of a “Spoilage Percentage Table” my company uses to determine the amount overage needed to account for spoilage when ordering printing paper. For example, if we have a job where the “Function” will be ‘Spiral Bind,’ and the customer wants 15,000 pieces, looking at the table – we would multiply 15,000 by the 3.5% and then add the extra 525 sheets of paper to the original order of 15,000 sheets.
(15,000x15%) + 15,000 = 15,525
My question: Would it be logical to create a userform with just a ‘Drop Down List’ showing the functions (as listed in the table) and a ‘Scroll Bar’ with a ‘#1Text Box’ - where when I select an item from the drop down list and move the scroll bar to let’s say 15,000…another ‘#2Text Box’ shows the final spoilage count needed (in this case 15,525)?
No matter where I moved the scroll bar – whatever amount was selected, the correct percentage would automatically be selected for that function and amount of sheets and the total amount of spoilage sheets would be calculated into the ‘#2Text Box’.
Believe it or not, my original plan was to use ‘Option Buttons’ with a formula that would stretch from here to the moon until I found out Excel is limited to 7nested functions to a formula. Here is an example…
=IF(AND(B30,F21<1001),(F21*15%)+F21,IF(AND(B30,F21>1000,F21<2500),(F21*10%)+F21,IF(AND(B30,F21>2500,F21<5000),F21*7%)+F21))…
This is why I came to the conclusion VBA would be a better way to go. Any help would be appreciated, thnx.
Bookmarks