Excel formula for Tax calculation in india

RK Singh

New Member
Joined
May 22, 2020
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
Sir
excel formula round(if($c9<=250000,0,if($c9<=500000,($c9-250000)*5%,if($c9<=750000,($c9-500000)*10%+12500,if($c9<=1000000,($c9-750000)*15%+37500,if($c9<=1250000,($c9-750000)*20%+75000,if($c9<=1500000,($c9-1250000)*20%+125000,($c9-150000)*30%+187500))))),0)
which is not working. Please help with intimation to me at "taxation_mkp@itiltd.co.in".
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Income Tax Calculator with Old & New Tax Slabxls.xls
ABCDE
2Income Tax Calculatior OlD Vs NEW Tax Regime
3
4Particulars / IncomeGrossEligibleNet
5Gross Income
6i-Salary7,39,413.007,39,413.007,39,413.00
7ii-Perquisite50,661.0050,661.0050,661.00
8iii-Income From Other Sources---
9Total7,90,074.007,90,074.007,90,074.00
10Exemption
11i-Intt. from H.Loan--
12ii-Leave encashment--
13iii-VRS--
14iv-Gratuity--
15v-Professional Tax--
16vi-Any Other Exem. U/s 10--
17vii-Standard Deduction50,000.0050,000.0050,000.00
18Total50,000.0050,000.0050,000.00
19Net Total Income7,40,074.007,40,074.007,40,074.00
20Savings
21i-U/s 80C1,79,855.001,50,000.001,50,000.00
22ii-U/s 80D--
23iii-U/s 80DD--
24iv-U/s 80E--
25v-U/s 88E--
26vi-U/s 80G200.00200.00200.00
27vii-U/s 80U--
28viii-Other (s) if any--
29Total1,80,055.001,50,200.001,50,200.00
30Net Taxable Income5,60,019.005,89,874.005,89,874.00
31
32Tax Calculation
33Tax at OLD RateTax at NEW Rate
34Tax24,504.00Tax70,515.00
35Rebate U/s 807A-Rebate U/s 807 A
36Net Tax24,504.00Net Tax70,515.00
37Cess980.16Cess
38Total Tax25,484.16Total Tax70,515.00
Tax Calculation
Cell Formulas
RangeFormula
D22:E28,E21,D11:E17,D6:E8D6=C6
C9:E9C9=SUM(C5:C8)
C18:E18C18=SUM(C11:C17)
C19:E19C19=SUM(C9-C18)
D21D21=IF($C$21<150000,$C$21,150000)
C29:E29C29=SUM(C21:C28)
C30:E30C30=SUM(C19-C29)
E34E34=ROUND(IF($C9<=250000,0,IF($C9<=500000,($C9-250000)*5%,IF($C9<=1000000,($C9-500000)*20%+12500,($C9-1000000)*30%+112500))),0)
E36,C36E36=SUM(E34-E35)
C34C34=ROUND(IF($C30<=250000,0,IF($C30<=500000,($C30-250000)*5%,IF($C30<=1000000,($C30-500000)*20%+12500,($C30-1000000)*30%+112500))),0)
C35C35=ROUND(IF($C$30<=350000,MIN(2500,$C$30),0),0)
C37C37=SUM(C36*0.04)
C38,E38C38=SUM(C36+C37)
 
Upvote 0
Income Tax Calculator with Old & New Tax Slabxls.xls
ABCD
3Income Tax SlabRate %TaxRate
4Up to Rs. 2,50,0000Nil0
5Rs. 2,50,001 - Rs. 5,00,0005%2,50,000 * 5%5%
65,00,001 - 7,50,00010%12,500+(5,00,000) * 10%10%
77,50,001 - 10,00,00015%37,500+(7,50,000) * 15%15%
810,00,001 - 12,50,00020%75,000+(10,00,000) * 20%20%
912,50,001 - 15,00,00025%1,25,000+(12,50,000) * 25%25%
1015,00,001 and above30%1,87,500+(15,00,000) * 30%30%
New Tax Slab 2020-21
 
Upvote 0
Based on the above tax slab to calculate tax at new tax rates, please build an excel formula to help me.
 
Upvote 0
You can calculate the Tax in a variety of ways including arithmetic, sumproduct, and Vlookup.
You can name the ranges or reference the ranges in the sheet.
I named the array of values for the Tax Brackets and the array of rate differentials.
You could also include a column to calculate the rate differential.
Named ranges:
Bracket aB = ={0;250000;500000;1000000}
Rate Differentials aR ={0;0.05;0.15;0.1}

You can use the same logic with your new brackets and rates.

T201904b.xlsm
ABCDE
1Amount790,074.00BracketsRate
2Tax70,514.80
370,514.8000%
470,514.80250,0005%
5500,00020%
61,000,00030%
7
Tax_
Cell Formulas
RangeFormula
B2B2=SUMPRODUCT(--(B1>D3:D6),B1-D3:D6,E3:E6-E2:E5)
B3B3=SUMPRODUCT(--(B1>aB),B1-aB,aR)
B4B4=(B1>D4)*(B1-D4)*E4+(B1>D5)*(B1-D5)*(E5-E4)+(B1>D6)*(B1-D6)*(E6-E5)
Named Ranges
NameRefers ToCells
rB=Tax_!$D$3:$D$6B2
rL=Tax_!$D$3:$F$9B2
 
Upvote 0
T201904b.xlsm
ABCDE
1Amount800,000.00BracketsRate
2Tax45,000.00
345,000.0000%
4250,0005%
5500,00010%
6750,00015%
71,000,00020%
81,250,00025%
91,500,00030%
Tax_ 2
Cell Formulas
RangeFormula
B2B2=SUMPRODUCT(--(B1>D3:D9),B1-D3:D9,E3:E9-E2:E8)
B3B3=SUMPRODUCT(--(B1>aB),B1-aB,aR)
Named Ranges
NameRefers ToCells
'Tax_ 2'!rB='Tax_ 2'!$D$3:$D$7B2
'Tax_ 2'!rL='Tax_ 2'!$D$3:$F$13B2


It is often useful to review the logic and calculations by using Excel's Formula Evaluation.

N.B. The named ranges are based on the new brackets and rates. Ignore the named range reference cited in the post; XL2BB included names that are not relevant to the post.
 
Last edited:
Upvote 0
You can calculate the Tax in a variety of ways including arithmetic, sumproduct, and Vlookup.
You can name the ranges or reference the ranges in the sheet.
I named the array of values for the Tax Brackets and the array of rate differentials.
You could also include a column to calculate the rate differential.
Named ranges:
Bracket aB = ={0;250000;500000;1000000}
Rate Differentials aR ={0;0.05;0.15;0.1}

You can use the same logic with your new brackets and rates.

T201904b.xlsm
ABCDE
1Amount790,074.00BracketsRate
2Tax70,514.80
370,514.8000%
470,514.80250,0005%
5500,00020%
61,000,00030%
7
Tax_
Cell Formulas
RangeFormula
B2B2=SUMPRODUCT(--(B1>D3:D6),B1-D3:D6,E3:E6-E2:E5)
B3B3=SUMPRODUCT(--(B1>aB),B1-aB,aR)
B4B4=(B1>D4)*(B1-D4)*E4+(B1>D5)*(B1-D5)*(E5-E4)+(B1>D6)*(B1-D6)*(E6-E5)
Named Ranges
NameRefers ToCells
rB=Tax_!$D$3:$D$6B2
rL=Tax_!$D$3:$F$9B2
Sir
Sorry, I am unable to understand the array formula
Bracket aB = ={0;250000;500000;1000000}
Rate Differentials aR ={0;0.05;0.15;0.1}
may rate slab is 0-250000,0%,250000-500000,5%,500000-750000,10%,750000-1000000,15%,1000000-1250000,20%,1250000-1500000,25%,1500000+,30%

Please share in details. If possible upload excel file for example.
Thanks
R K Singh
 
Upvote 0
please solve another issue to find out how many invoices issued using different series numbers like as:

S1500001,S1500002,S1500003 = From S1500001 To S1500003 = 03
S2100005,S2100006,S2100007,S2100008 = From S2100005 To S21000007 = 04

please help to build excel forumla.

Thanks & Regards,
 
Upvote 0
Did you try the suggestions? You could use the formula =SUMPRODUCT(--(B1>D3:D9),B1-D3:D9,E3:E9-E2:E8).
If you choose, you can use Name Manager and name the ranges or name the arrays. I left it up to you in the second example to create and name the array.
It is often useful to review the logic and calculations by using Excel's Formula Evaluation.
We can calculate Tax with arithmetic, Sumproduct, Vlookup, etc.. We can name the ranges or reference the ranges in the sheet. I named the array of values for the Tax Brackets (aB_) and the array of rate differentials (aR_). We could alternatively calculate the rate differential in a distinct column. We can look at the data and type the array information or we can use a formula like B10 (highlight the range D11:D17, press F9, copy the array, and then name that array with Name Manager).

Since you didn't try the second example that I posted above. I edited this post and we post the information again.
I also completed the arithmetic versions.
You can try whichever alternative that you prefer. Since I am posted 2 distinct examples, the second set of named arrays are aB_ and aR_.
You can click on the icon below the F(x) and the paste the information into a clean sheet.
Cells D7 and D18 have a number; it is a very large number. It was named BigNum.

Named ranges:
Bracket aB_ = {{0;250000;500000;750000;1000000;1250000;1500000}
Rate Differentials aR_ ={0;0.05;0.05;0.05;0.05;0.05;0.05}

Tax 2021.xlsm
ABCDEFG
1Income790,074.00BracketsRate
2Tax70,514.80E2 is blank
3or70,514.8000%
4or70,514.80250,0005%12,500.00
5or70,514.80500,00020%58,014.80
61,000,00030%0.00
71.E+30870,514.80
8
9Income1,500,000.00BracketsRate
10Tax187,500.00E10 is blank
11or187,500.0000%
12or187,500.00250,0005%12,500.00
13or187,500.00500,00010%25,000.00
14750,00015%37,500.00
151,000,00020%50,000.00
161,250,00025%62,500.00
171,500,00030%0.00
181.E+308187,500.00
19
1a
Cell Formulas
RangeFormula
B2B2=SUMPRODUCT(--(B1>D3:D6),B1-D3:D6,E3:E6-E2:E5)
B3B3=SUMPRODUCT(--(B1>aB),B1-aB,aR)
B4B4=(B1>D4)*(B1-D4)*E4+(B1>D5)*(B1-D5)*(E5-E4)+(B1>D6)*(B1-D6)*(E6-E5)
B5B5=G7
D7,D18D7=BigNum
G4:G6G4=MAX(0,MIN($B$1,D5)-D4)*E4
G7G7=SUM(G4:G6)
B10B10=SUMPRODUCT(--(B9>D11:D17),B9-D11:D17,{0;0.05;0.05;0.05;0.05;0.05;0.05})
B11B11=SUMPRODUCT(--(B9>aB_),B9-aB_,aR_)
B12B12=(B9>D12)*(B9-D12)*E12+(B9>D13)*(B9-D13)*(E13-E12)+(B9>D14)*(B9-D14)*(E14-E13)+(B9>D15)*(B9-D15)*(E15-E14)+(B9>D16)*(B9-D16)*(E16-E15)+(B9>D17)*(B9-D17)*(E17-E16)
B13B13=G18
G12:G17G12=MAX(0,MIN($B$9,D13)-D12)*E12
G18G18=SUM(G12:G17)
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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