Income tax calculation

I posted a problem and got a solution through email. But it doesn't work.

Problem was:

Please help me to calculate tax in excel First 250000 0% Next 400000 10% Next 500000 15% Next 600000 20% Next 3000000 25% 4750000 30% if total amount is above forty sevel lac fifty thousand then 30% tax on rest of the amount

and solution was:

excel-formula-for-calculating-slabs

 

Goto Developer -Visual basic- tools - references - tick visual basic for apllications [VBA] then

insert module.  

Paste following code in module

Function Tax2015(Inco)
    Select Case Inco
          Case Is < 250000
                Tax2015 = 0
           Case Is <= 500000
                  Tax2015 = (Inco - 250000) * 0.1
           Case Is <= 1000000
                   Tax2015 = 25000 + (Inco - 500000) * 0.2
           Case Is > 1000000
                    Tax2015 = 125000 + (Inco - 1000000) * 0.3
           Case Else
                 
     End Select
       
End Function

any where you can  type  =Tax2015 (A5)  a5 is cel where taxabale income is there

I hope this helpsl

I think there is some error in this formula. Would you please check it again

 

Please help me get out from this problme. I can't work with it

 

 

Regards

Rakib

Replies (4)

I have given solution in ur other post.

The above solution is for  India for AY 2015-16

and Not to your problem

Directly in excel sheet  it is slightly cumbersome

=IF(D12>4750000,(D12-4750000)*0.3+985000,IF(D12>1750000,(D12-1750000)*0.25+235000,IF(D12>1150000*(D12-650000)*0.2+115000,(D12-650000)*0.15,IF(D12>250000,(D12-250000)*0.1,0))))

I hope this helps

Sorry some mistake

=IF(D12>4750000,(D12-4750000)*0.3+985000,IF(D12>1750000,(D12-1750000)*0.25+235000,IF(D12>1150000,(D12-1150000)*0.2+115000,IF(D12>650000,(D12-650000)*0.15+40000,IF(D12>250000,(D12-250000)*0.1,0)))))

i hope this helps

 

In case you are new to VBA then step by step method

1] Step 1:- Click on file -- options-- Customize ribbon -- check the developer tab on right

   Now you will see the developer tab in main XL sheet

2] Step 2:-  Click on developer tab -- visual basic -- Vb window will open [ur xl sheet is minimised]

     In VB window click Tools--reference--check on the Visual basic for apllications and the object library.

3] Step 3 :- on the left is the object browser. Click and highlight ur xl sheet. Then click insert and then module. 

4] Step 4:-  Paste the following code in the module

Function Taxs(Inco)
    Select Case Inco
          Case Is < 250000
                Taxs = 0
           Case Is <= 650000
                  Taxs = (Inco - 250000) * 0.1
           Case Is <= 1150000
                   Taxs = 40000 + (Inco - 650000) * 0.15
           Case Is <= 1750000
                    Taxs = 115000 + (Inco - 1150000) * 0.2
            Case Is <= 4750000
                    Taxs = 235000 + (Inco - 1750000) * 0.25
            Case Is > 4750000
                    Taxs = 985000 + (Inco - 4750000) * 0.3
           Case Else
                 
     End Select
       
End Function


5] Step 5:- close the vba window or minimise

6] step 6 :-  in ur excel sheet  type  =Taxs(A5)  WHERE A5 CONTAINS TAXABLE INCOME

I have made it as clear as possible.
hope this helps   Cheers

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
30 October 2026
Asst Manager Accounts

Goodwin Pumps India Pvt Ltd

Chengalpattu

CA Inter

View Details
Company
21 October 2026
CA INTER/ BCOM WITH EXPERIENCE

CA S KUMAR GUPTA & CO

Amritsar

CA Inter

View Details
Company
ARTICLESHIP 17 October 2026
Articled Assistant

RRPM & Associates LLP

Chennai

CA Inter

View Details
Company
ARTICLESHIP 20 October 2026
CA ARTICLE

AMKN & CO

Noida

CA Inter

View Details
Company
ARTICLESHIP 22 October 2026
Articleship intern

Srinath Manikanta

Hyderabad

CA Inter

View Details
Company
10 November 2026
Direct Tax Manager

CAAQ CONSULTANCY PVT LTD

New Delhi

CA Final

View Details
Company
ARTICLESHIP 23 October 2026
Articled Trainee

J Y & CO

Hyderabad

CA Inter

View Details
Company
13 November 2026
Accountant

New Mobile India

Muzaffarpur

B.Com

View Details