VAT Contents of Receipts

AllisterB

Board Regular
Joined
Feb 22, 2019
Messages
120
Office Version
  1. 365
Platform
  1. Windows
The attached sheet shows various items that are sold - some are subject to 10% VAT others 0% VAT.

The sales value is received in the third table.

I need a formula that will tell me the VAT content of the receipts for each of the months. i.e. how much VAT is in the $350 received in March.

I would prefer not use an array formula due to the large number of formulae that will be needed.

I have been trying to use SUMPRODUCT but haven't been able to crack it.

Thank You.

Allister

VAT.xlsx
GHIJKLMNOPQRSTUVWXYZAAABACADAEAF
11VAT exclusiveVAT InclusiveReceived
12VATJanFebMarAprMayJanFebMarAprMayJanFebMarAprMay
13A10%10020030040010001102203300440110005010000150
14B0%3003000300000300000000
15C10%20020000022002200022000220
16D10%100100011000011000300030
17E0%20020000200002000800200100
18
190130350200500
Sheet1
Cell Formulas
RangeFormula
R13:V17R13=ROUND(J13*(1+$H13),0)
P13:P17,AF13:AF17,X13:X17P13=SUM(J13:N13)
Z19:AD19,AF19Z19=SUM(Z13:Z18)
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I would prefer not use an array formula due to the large number of formulae that will be needed.

I have been trying to use SUMPRODUCT but haven't been able to crack it.
In most cases it doesn't need Ctrl Shift Enter but sumproduct is still an array formula.

The vat of March receipts would be =SUMPRODUCT(AB13:AB17,$H13:$H17)
 
Upvote 0
Thank YOu

However 10% of the $100 = $10 but I think the answer is 1/11 of $100 (9..09).

How do you do this - does one have to use sumproduct?

Thanks
 
Upvote 0
There are probably many ways but sumproduct would likely be the most efficient with a single formula.

The ideal way would be to have another table in the same format as the existing ones in order to calculate the vat for each individual row / month combination.

I had the earlier formula reversed, that was calculating vat to be added, not deducted. This one should be correct, I'll have another look though to see if there is a more efficient method.

=AB19-SUMPRODUCT(AB13:AB17/(1+$H13:$H17))
 
Upvote 0
Thanks for that - and for looking for a more efficient method

Thank You

Allister
 
Upvote 0
Hi I am using this for a different purpose - this time there is text and other formula in the column between the values of VAT Inclusive values.

How do I exclude any rows where the VAT is not a number and/or where the value in another column on each row is not "Data"

Thanks
 
Upvote 0
Could you post an example sheet of this new layout along with the expected results as you did in post 1 please. Your description is open to interpretation and many wrong answers.
 
Upvote 0
Hi

The attached shows taht teh formula does not work if there is text in the column being addressed (col AD). is thee a way to overcome this. I was trying to get theSUMPRODUCT to look at teh value in Col AA and only included those with "Sales" Value.

Thanks

VAT.xlsx
GHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAH
11VAT exclusiveVAT InclusiveReceived
12VATJanFebMarAprMayJanFebMarAprMaySourceJanFebMarAprMay
13A10%100200300400100011022033004401100Sales05010000150
14B0%3003000300000300Sales000000
15100
16Text
17C10%2002000002200220Sales0022000220
18D0%1001000100000100Sales00300030
19E0%2002000020000200Sales0800200100
20
21450500
22#VALUE!
Sheet1
Cell Formulas
RangeFormula
R13:V14,R17:V19R13=ROUND(J13*(1+$H13),0)
P13:P14,AH17:AH19,X17:X19,P17:P19,AH13:AH14,X13:X14P13=SUM(J13:N13)
AD15AD15=SUM(AD13:AD14)
AH21,AD21AH21=SUM(AH13:AH20)
AD22AD22=AD21-SUMPRODUCT(AD13:AD19/(1+$H13:$H19))
 
Upvote 0
See if this does it, needs to be array confirmed with Ctrl Shift Enter.

=AD21-SUMPRODUCT(IFERROR(AD13:AD19/(1+$H13:$H19),0))
 
Upvote 0
Should'n your Sum in AD15 be removed? In AD22 you calculate the sum AD13:AD14 twice, by having Sum AD15 in the formula! And if you use Sum for calculation, instead of Sumproduct, you want have problem with the Text value in AD16.
 
Upvote 0

Forum statistics

Threads
1,215,174
Messages
6,123,454
Members
449,100
Latest member
sktz

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