Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
return a minimum value of 1, except when multiplied by an empty ce
Hi there. i have a sheet containing various stock items, and in order to
calculate the amount per item that is needed per hotel, I have a cell where a per person per day amount (in brackets) is multiplied by a set unit for that ingredient A B C D E Hotel 1 Hotel 2 Hotel 3 1) Item Unit (6.1) (1.38) (9.22) 2) Coco 0.2 1 1 2 3) Custard 0.25 2 2 2 4) Crème 0.1 1 1 1 So for example cell C2 = $C$1*B2 Because the minimum needed for just 1 guest cannot be less than one i have changed all the formulas to be example C2 = Max(1,Sum($C$1*B2)) this is great as it gives me a minimum of 1 for certain items that would normally be rounded off to zero. This is great. However, my problem is that certain items still have UNITS that need to be determined. So example Creme, cell B4 would still be empty as the per person per day amount is still being calculated. I would like these cells to reflect a zero (as they are multiplying empty cells) rather than the minimum of 1. if it is minimum 1 the stores will go ahead and order this, thinking it is correct, rather than if it shows a zero, the store man will realise there is a problem and double check the spread sheets, calculate the missing unit and then order. Hope some-one can assist. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Return the minimum number in a range excluding zero | Excel Worksheet Functions | |||
Select Minimum value and return the name of the supplier | Excel Worksheet Functions | |||
Return minimum POSITVE value from range | Excel Discussion (Misc queries) | |||
How do I get "minimum value" in a range to NOT return zero? | Excel Worksheet Functions | |||
lookup - return minimum value | Excel Worksheet Functions |