Is it possible to have the "value if true" or "value if false" be a formula?
If there is data in the "Prepay" column, I'd like the "Total (before tax)" column to calculate with a 3% discount.
Date Received T&S Pest Mgnt T&S Fert Landscape Total (before Tax) Prepay
2.6.12 $620.00 $406.00 $1,026.00 Check
So it would be something like this:
=if(E5>0,[=1.097*sum(B5:C5)],[=sum(B5:C5)]
Thank you!
mweiss1215,
You would just leave out the subsequent = signs, so:
=if(E5>0,1.097*sum(B5:C5),sum(B5:C5))
As a side note, isn't 1.097 increasing it by 9.7% rather than decreasing it by 3%? So this might be more accurate:
=if(E5>0,0.97*sum(B5:C5),sum(B5:C5))
Also, since you're multiplying the same value ( sum(B5:C5) ) by either 1.097 (or 0.97) or 1 (so it returns itself unmodified), you could this condensed version:
=if(E5>0,1.097,1)*sum(B5:C5)
or, using 0.97:
=if(E5>0,0.97,1)*sum(B5:C5)
Last edited by tigeravatar; 02-06-2012 at 01:44 PM.
Hope that helps,
~tigeravatar
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
mweiss1215,
I am unable to duplicate that issue. Attached is an example workbook based on the criteria you described. In columns F and V are the two formulas I suggested and they both calculate properly.
Hope that helps,
~tigeravatar
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks