Calculation for VAT applicable

agnesgough

New Member
Joined
Jan 11, 2011
Messages
11
Hi all

This probably basic for everyone but me!!!

I am trying to write a formulae for quick calculations if a item has vat or not. This is what I have written.

=IF((C2=Nox0.0)ORIF(C2=Yesx0.2))

Any help gratefully appreciated.

Ags
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Thanks for that but mabye I am doing this all wrong. Here is the sheet I am trying to do. I want to be able to select yes/no and then put in the amount under the relevant heading and it then works out the calculation based on the yes/no for the item, vat and total.

So I put in 600 for a database cost and select yes, it then deducts the 20% off the 600 , puts the 20% in the VAT colum and the total ends up as 600. Does that make sense?

<table style="width: 728px; height: 42px;" border="0" cellpadding="0" cellspacing="0"><col style="width: 23pt;" width="30"> <col style="width: 58pt;" span="2" width="77"> <col style="width: 34pt;" width="45"> <col style="width: 73pt;" width="97"> <col style="width: 56pt;" width="74"> <col style="width: 78pt;" width="104"> <col style="width: 48pt;" width="64"> <col style="width: 47pt;" width="63"> <col style="width: 44pt;" width="58"> <col style="width: 44pt;" width="59"> <col style="width: 48pt;" width="64"> <tbody><tr><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td></tr><tr style="height: 15pt;" height="20"> <td style="height: 15pt; width: 23pt;" height="20" width="30">
</td> <td style="width: 58pt;" width="77">Date </td> <td style="width: 58pt;" width="77">VAT</td> <td style="width: 34pt;" width="45">Petrol</td> <td style="width: 73pt;" width="97">Ofice Supplies</td> <td style="width: 56pt;" width="74">Telephone</td> <td style="width: 78pt;" width="104">Gas and Electric</td> <td style="width: 48pt;" width="64">Database</td> <td style="width: 47pt;" width="63">Software</td> <td style="width: 44pt;" width="58">Services</td> <td style="width: 44pt;" width="59">VAT</td> <td style="width: 48pt;" width="64">Total</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" align="right" height="20">1</td> <td class="xl63" align="right">07/06/2011</td> <td class="xl63">No</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td align="right">600</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" align="right" height="20">2</td> <td>
</td> <td class="xl63">Yes</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td align="right">600</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> </tbody></table>
 
Upvote 0
A formula cannot subtract a value from one cell and put it in another. You would need to enter the price without VAT then use formulas to calculate the VAT and the total

Excel Workbook
BCDEFGHIJKLM
1DateVATPetrolOficeSuppliesTelephoneGasDatabaseSoftwareServicesVATTotal
207/06/2011No6000600
3Yes600120720
Sheet9
 
Upvote 0
Hi Peter

Thank you so much. I would offer to have your babies in return but way too busy screaming at my computer :)

THANKS

Ags
 
Upvote 0
What formulae do I use to say if yes use this and if no use this formulae. so a or formulae. Will have a football team if you can help with that :stickouttounge:

Ags
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,310
Members
452,906
Latest member
phanmemchatdakenhupviral

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top