S Sarfraz Khan Member Aug 2, 2015 #1 Dear Sir, If Dr Amt is in Plus sign and Cr amt is in minus sign then formula should be Dr + Cr = 0 If Dr Amt is in Plus sign and Cr amt is ALSO in plus sign then formula should be Dr - Cr = 0 How to apply the formula. Attachments plusminshelp.xlsx 8.1 KB · Views: 2
Dear Sir, If Dr Amt is in Plus sign and Cr amt is in minus sign then formula should be Dr + Cr = 0 If Dr Amt is in Plus sign and Cr amt is ALSO in plus sign then formula should be Dr - Cr = 0 How to apply the formula.
Chihiro Excel Ninja Aug 2, 2015 #2 Use IF statement. But you didn't specify what should happen if Dr amount is negative. =IF(AND(B3>0,C3>0),B3-C3,B3+C3)
Use IF statement. But you didn't specify what should happen if Dr amount is negative. =IF(AND(B3>0,C3>0),B3-C3,B3+C3)
srinidhi Active Member Aug 2, 2015 #4 If Dr is always +, then here is a shorter formula =IF(C3<0,B3+C3,B3-C3)