Reply
Tue 30 Sep, 2003 11:02 pm
I am trying to write a formula in excell.
If I am trying to multiply by 0 but I don't want to receive a negative what would be the correct formula?
Column Titles
A1=Total , B1=OOW %, C1=DBR, D1=DBR%, E1=5% of Total, F1 = # of units over 5%, G1=Chg. Back amount = Unit Qty (x) $105
A2=81, B2=67%,C2=4, D2=5%, E2=4, F2=0,G2=-$5.25
F2 Formula is =(J51*5%), F2 Formula is =(L51-N51) ,
G2 Formula is =(O51)*105
Please clarfity how the "mulitply by 0" is utilized.
there are 2 formulas shown for F2 and a value of F2=0. Perhaps (J51*5%) is intended as the formula for E2 instead of F2?
Maybe an IF statement would stop the negative. Something like:
=IF( 'cell with value' = 0 , 0 , 'formula' )
excel
sorry, it should be E2 instead of F2
Excel
what I'm trying to find out is how to write a formula that if multiplied by zero will not give me a negative answer.
I have five columns:
column A1 is total = 81
column A2 is Actuals (DBR) = 4
column A3 is 5% of total =4 the formula is =(A1*5%)
column A4 is # of units over 5% = 0 the formula is =(A2-A3)
column A5 is Chg Back = -5.25 the formula is =(a4*$105)
How can I get column A5 to not show a negative, just a zero if the result is a negative number?
I'm lost. I just set up a test case. Actually, I multiplied a cell containing the value "5" by one containing a zero. As expected, the result was 0, with no minus sign. Are we all missing something in the question?
Exel Help - Seasoned Member
Hello Seasoned Member, I sent you an email to your yahoo address with the file.
Thank you.
I didn't open the attachment, but replied with my new understanding of the question. Basically, I answered the same as a the Grand Duke, but in slightly different language.