Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
subtracting 2 cells but only if 1st cell is greater than 0
In cell e11 I would like to subtract cell d11-c11 unless the calue in c11 is
, or = to 0, in which case, I would like e11 to be 0. i have tried severeral =if and sumif formulas and can't get anything to work. Any suggestions? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
subtracting 2 cells but only if 1st cell is greater than 0
hi
if i understand your post, you want c11 subtracted from d11 if c11 is greater than or equal to 0 otherwize 0. try this..... =IF(OR(C110,C11=0),D11-C11,0) post back if i misunderstood. Regards FSt1 "Maureen" wrote: In cell e11 I would like to subtract cell d11-c11 unless the calue in c11 is , or = to 0, in which case, I would like e11 to be 0. i have tried severeral =if and sumif formulas and can't get anything to work. Any suggestions? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
subtracting 2 cells but only if 1st cell is greater than 0
You could simplify =IF(OR(C110,C11=0),D11-C11,0) to =IF(C11=0,D11-C11,0),
but I think the OP wanted =IF(C110,D11-C11,0). -- David Biddulph "FSt1" wrote in message ... hi if i understand your post, you want c11 subtracted from d11 if c11 is greater than or equal to 0 otherwize 0. try this..... =IF(OR(C110,C11=0),D11-C11,0) post back if i misunderstood. Regards FSt1 "Maureen" wrote: In cell e11 I would like to subtract cell d11-c11 unless the calue in c11 is , or = to 0, in which case, I would like e11 to be 0. i have tried severeral =if and sumif formulas and can't get anything to work. Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
formula help - subtracting numbers in two colums but using a specificnumber if one column is greater than another | Excel Worksheet Functions | |||
Subtracting From 2 Cells | Excel Worksheet Functions | |||
Subtracting 2 Now() Cells | Excel Worksheet Functions | |||
I want the greater number of 2 cells to show in a separate cell | Excel Discussion (Misc queries) | |||
I want the greater number of 2 cells to show in a separate cell | Excel Discussion (Misc queries) |