IF Statement for VAT

G

Guest

Hi

I have a spreadsheet that i input prices onto and want to have the option of
specifying whether to apply VAT or not. i have 4 colums A,B,C,D. A is the
price of the part, B is either Y or N for VAT, C is the VAT amount and D is
the total with the part and VAT if applicable. is there an IF statement that
can generate this info if i put in the price and either Y or N for VAT?

Many Thanks

Phill
 
B

Bob Phillips

=A1+IF(B1="Y",C1)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 
S

Sandy Mann

Assuming that you want to calculate the VAT and it is 17.5% then in C2
enter:

=IF(UPPER(B2)="Y",ROUND(A2*17.5%,2),"")

and in D2:

=A2+IF(C2<>"",C2,0)

If you perferyou can replace the "" with 0

--
HTH

Sandy
In Perth, the ancient capital of Scotland

(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
 

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