Somethign like this should do the trick, giving you the double amount if < $1, otherwise giving you the non-doubled amount.
=IF(D2<1, D2*2, D2)
("," might have to be ";" depending on Excel's whims and localisation settings :) )
質問
Hello and thank you for your help! I am writing a formula to help me calculate coupon deals for my shopping trip.
My store doubles coupons $.99 or under, so I need a formula that does the following:
If the value in cell D2 is less than $1.00, multiply the value by 2 and spit it out in D3.
I tried writing my own formula but it is not working, obviously :( =PRODUCT(IF(D2<"$1.00")D2 * 2)
Any ideas?
解決
Somethign like this should do the trick, giving you the double amount if < $1, otherwise giving you the non-doubled amount.
=IF(D2<1, D2*2, D2)
("," might have to be ";" depending on Excel's whims and localisation settings :) )
他のヒント
Providing you have the value of the cells formatted with $ a the start, the following should work when entered into cell D3:
=IF((D2<"$1.00"),D2 * 2,D2)
If the cells are formatted as numbers to 2 d.p use the following:
=IF((D2<1.00),D2 * 2,D2)
Thanks