EmpCode
|
Name
|
Address
|
Monthly Salary
|
Income Tax
|
Social Tax
|
Net Salary
|
A001
|
Hari Sharma
|
Banepa
|
22500
|
3375
|
225
|
18900
|
A002
|
Ramita Gurung
|
Kathmandu
|
27000
|
4050
|
270
|
22680
|
A003
|
Anjana Giri
|
Bhaktapur
|
30000
|
6000
|
300
|
23700
|
A004
|
Sarita Ghimire
|
Sanga
|
20000
|
0
|
200
|
19800
|
- If the employee salary less than or equal to 250000, no income tax will be charged.
- If the employee salary greater than 250000 and less than 350000, 15% income tax will be charged.
- If the employee salary greater than or equal to 350000, 20% income tax will be charged.
Salary-(Income tax+Social Tax)
The trick is for the formula "how to write formula for IF Conditions" Let's start again as when you compare the question condition with your natural language. Write a question in your Language and convert it into an algorithm like code for it to solve.
=IF(E5*12<=250000,0,IF(AND(E5*12>250000,E5*12<350000),E5*15%,IF(E5*12>=350000,E5*20%)))
The above formula type in F5 Cell as you see in the figure below.
Let's compare this question to the natural language so that we are able to write algorithm code then accurate formula.
First Condition
If the employee salary less than or equal to 250000, no income tax will be charged.If Salary <=250000, income tax will be zero (0)
Second Condition
If the employee salary greater than 250000 and less than 350000, 15% income tax will be charged.
Third Condition
If the employee salary greater than or equal to 350000, 20% income tax will be charged.
Social Tax:
To calculate this cell you type the "=E5*1%" formula in G5 Cell. It's simple to calculate by multiplying the Monthly salary by 1%.
Net Salary:
To calculate this cell you type the "=(E5-(F5+G5))" formula in G5 Cell. It's simple to calculate by Subtracting the Monthly from the Total Tax.
If you have any queries, related to this question, ask me in the comment section without any hesitation. I would like to say thank you if this post is helpful for you or if I solve your problem through this question.
No comments:
Post a Comment