SOLVED

Excel math problem

Copper Contributor

I am trying to write an IF function for an invoice. I need to have the subtotal*tax rate - payment, if payment is made = total. Anyone know a formula that would make that work? Any help would be appreciated.

8 Replies
best response confirmed by allyreckerman (Microsoft)
Solution
=IF(A2="Paid",(Subtotal*tax rate) - payment,"Anything")
You just need to replace what is written in this formula for your refereces where their respective values are.
Ok, so I have =IF(D17="Payments",(Subtotal*tax rate) - payment,"Anything") Does that look right?
Yes.
Remember you need to replace the names for proper values or reference
Subtotal cell
Tax Rate cell
Payment Cell

Thank you, I am very new to excel and I am trying to get this invoice to work. I had it working just fine. Until I added the payment part. Somehow I broke the original and its no longer calculating for the subtotal.
No problem. If you face more difficulty, please share it here so we can try to assist you.
Like I said, just trying to fix the subtotal not calculating right.
Is it possible you share some screeshot of your invoice template or even better the template itself?
This way will be easier to reply based on you case
I got it fixed, thanks so much
1 best response

Accepted Solutions
best response confirmed by allyreckerman (Microsoft)
Solution
=IF(A2="Paid",(Subtotal*tax rate) - payment,"Anything")
You just need to replace what is written in this formula for your refereces where their respective values are.

View solution in original post