Petty cash hell

M

maisy1

Hi,
I am trying to get my spread sheet to work out tax only if it is
deductable. So one column is titled gross, one is titled net and one is
titled tax. I want to be able to type in the gross cost in the gross
column, if i pay tax on the item i want to put a "Y" in the tax column
(Yes tax has been paid) and then the net ammount would be
automatically calculated and put in the net column. If I put a "n" in
it (No tax has not been paid) then the net column stays the same as the
gross amount.

Can you help?
 
V

VBA Noob

Something like

=IF(B2="N",A2,A2*10)

Change *10 to your tax amount

The reverse would be

=IF(B2="y",A2*10,A2)

VBA Noo
 
M

maisy1

Thank you so much for that - It not only worked, but also stopped me
from throwing the laptop across the room!! You are a star.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top