It already is (I tried to illustrate that by means of examples and outputs)Originally Posted by sleazyfish
It already is (I tried to illustrate that by means of examples and outputs)Originally Posted by sleazyfish
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
I take that back - the above was not an accurate solution... is the below better ?
So waste is determined by: waste height * width + waste width * complete units (as determined by height)![]()
I4: =INDEX(F$4:F$7,MATCH(MIN(IF(($F$4:$F$7>=$C$4)*($G$4:$G$7>=$D$4),MOD($F$4:$F$7,$C$4)*$D$4+MOD($G$4:$G$7,$D$4)*INT($F$4:$F$7/$C$4))),MOD($F$4:$F$7,$C$4)*$D$4+MOD($G$4:$G$7,$D$4)*INT($F$4:$F$7/$C$4),0)) confirmed with CTRL + SHIFT + ENTER and copied to J4
Example:
250/175 would return 1250/350 rather than 500/230 given the former leaves no waste whatsoever
Last edited by DonkeyOte; 09-08-2010 at 08:51 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks