Formula for adding taxes & tpt vaue

RAMU

Active Member
Joined
Dec 11, 2009
Messages
321
Dear All,

I have two workbooks, one is containing taxes & TPT (transportation) cost of 60 items like mentioned below:
workbook1

BCDEF
1ITEMEDCSTVATTPT
2A 2%20
3B13.50% 3
4C
5D 2%20
6E4 5
7F13.50% 3

<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"></colgroup><tbody>
</tbody>

And the other workbook is containing a value like the following:
workbook2

ABCD
1ITEMQTYVALUETOTAL VALUE
2A502000
3B1005000
4B1004050
5C40600
6C40540
7E20300
8B1005000
9A502500

<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 89px"></colgroup><tbody>
</tbody>
Now I want a formula in column D of workbook2 that will add the taxes automatically with value ( sequence would be same as mentioned in the column of workbook1), then TPT cost will be added on after calculating its total cost. In workbook1 TPT is mentioned per unit basis. Ultimately TOTAL VALUE will show the result.

Please help.

Thanks in advance
RAMU
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Dear All,

I have two workbooks, one is containing taxes & TPT (transportation) cost of 60 items like mentioned below:
workbook1

BCDEF
1ITEMEDCSTVATTPT
2A 2%20
3B13.50% 3
4C
5D 2%20
6E4 5
7F13.50% 3

<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"></colgroup><tbody>
</tbody>

And the other workbook is containing a value like the following:
workbook2

ABCD
1ITEMQTYVALUETOTAL VALUE
2A502000
3B1005000
4B1004050
5C40600
6C40540
7E20300
8B1005000
9A502500

<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 89px"></colgroup><tbody>
</tbody>
Now I want a formula in column D of workbook2 that will add the taxes automatically with value ( sequence would be same as mentioned in the column of workbook1), then TPT cost will be added on after calculating its total cost. In workbook1 TPT is mentioned per unit basis. Ultimately TOTAL VALUE will show the result.

Please help.

Thanks in advance
RAMU

Given your data:


Excel 2003
BCDEF
1ITEMEDCSTVATTPT
2A2%20
3B13.50%3
4C
5D2%20
6E45
7F13.50%3
Taxes & TPT


You can use this formula:


Excel 2003
BCDE
1ITEMQTYVALUETOTAL VALUE
2A502000103000
3B1005000567800
4B1004050459975
5C4060024000
6C4054021600
7E2030030100
8B1005000567800
9A502500128500
Value
Cell Formulas
RangeFormula
E2=D2*C2*(1+SUM(OFFSET(INDEX('Taxes & TPT'!C:C,MATCH(B2,'Taxes & TPT'!B:B,0)),0,0,1,3)))+C2*INDEX('Taxes & TPT'!F:F,MATCH(B2,'Taxes & TPT'!B:B,0))
 
Upvote 0
Lil misunderstanding. In E2 value will be 3040. See its value is 2000. therefore taxes will be added 2% only. 2% of 2000 is 40. And TPT is 20 per unit. so tpt cost will be 50*20 = 1000. so total taxes & TPT amount is 1040. Now 1040 will be added with 2000. So Total value will be 3040.

Regards
RAMU
 
Upvote 0
Lil misunderstanding. In E2 value will be 3040. See its value is 2000. therefore taxes will be added 2% only. 2% of 2000 is 40. And TPT is 20 per unit. so tpt cost will be 50*20 = 1000. so total taxes & TPT amount is 1040. Now 1040 will be added with 2000. So Total value will be 3040.

Regards
RAMU
Try this:

=D2*(1+SUM(OFFSET(INDEX('Taxes & TPT'!C:C,MATCH(B2,'Taxes & TPT'!B:B,0)),0,0,1,3)))+C2*INDEX('Taxes & TPT'!F:F,MATCH(B2,'Taxes & TPT'!B:B,0))



Excel 2003
BCDE
1ITEMQTYVALUETOTAL VALUE
2A5020003040
3B10050005975
4B10040504896.75
5C40600600
6C40540540
7E203001600
8B10050005975
9A5025003550
Sheet2
Cell Formulas
RangeFormula
E2=D2*(1+SUM(OFFSET(INDEX('Taxes & TPT'!C:C,MATCH(B2,'Taxes & TPT'!B:B,0)),0,0,1,3)))+C2*INDEX('Taxes & TPT'!F:F,MATCH(B2,'Taxes & TPT'!B:B,0))
 
Upvote 0
Dear Friend,

I was wrong. Your formula is perfect based on my statement. Actually If a product has multiple taxes like ED & CST then First it will add the value & ED value first, then CST or VAT will be calculated on that value.

Suppose product G has 13.5% ED, 2% CST & TPT 50, then first it will calculate the ED value like X*13.5% ( X = value ) = Y, then CST will be calculated like Y*2% =Z, then TPT : qty*50 = V. Ultimately Total value will come (X + Y + Z + V).

Think Now I am clear.
Regards
RAMU
 
Upvote 0
Dear friends,

Please help me to solve it.

Thanks
RAMU
Try this:


Excel 2003
BCDE
1ITEMQTYVALUETOTAL VALUE
2A5020003040
3B10050005975
4B10040504896.75
5C40600600
6C40540540
7E203001600
8B10050005975
9A5025003550
Sheet2
Cell Formulas
RangeFormula
E2=D2*(1+INDEX('Taxes & TPT'!C:C,MATCH(B2,'Taxes & TPT'!B:B,0)))*(1+INDEX('Taxes & TPT'!D:D,MATCH(B2,'Taxes & TPT'!B:B,0)))*(1+INDEX('Taxes & TPT'!E:E,MATCH(B2,'Taxes & TPT'!B:B,0)))+C2*INDEX('Taxes & TPT'!F:F,MATCH(B2,'Taxes & TPT'!B:B,0))


And just for future reference, when there are ambiguous calculations in the sheet (like whether taxes are taxed, or if they are all added together and taxed on the value alone), you may want to include samples for those cases, and give us explanations of what you expect the answer to be (it will save us trouble).
 
Upvote 0
Dear Friend,

Shall try to remember your suggestion. Your formula works perfect. thanx

RAMU
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,387
Members
448,957
Latest member
Hat4Life

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