I have a sales sheet columns along this format
------------------------------------------------
| A | B | C | D |
------------------------------------------------
| type | Cost | card fee | Total |
------------------------------------------------
| cash | 10.00 | 0.00 | 10.00 |
------------------------------------------------
| visa | 10.00 | 0.50 | 10.50 |
------------------------------------------------
I currently put the values in B and C manually and then (D) sums the Total
What I want to do is have the cardfee (C) column do the calculate the sum B*5% only if (A) is = ‘visa’ but if its anything else (C) can be blank or 0.00
Try the IF function =IF ( condition, if_true, otherwise_value )