Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default use if condition more than 7 times in a cell of office 2003

I have a tax rate slab like
Sl. Income Rate
1 1500 or Less Nil
2 1501 to 2000 18
3 2001 to 3000 25
4 3001 to 5000 30
5 5001 to 6000 40
7 6001 to 7000 45
8 7001 to 8000 50
9 8001 to 9000 90
10 9001 to 15000 110
11 15001 to 25000 130
12 25001 to 40000 150
13 40001 to above 200

Now I want to put a formula to calculate the tax of a person. So I have
write a formula like
=if(a2=1500,"Nil",if(a2<2001,18,if(a2<3001,25,if(a 2<5001,30,if(a2<6001,40,if(a2<7001,45,if(a2<8001,5 0,if(a2<9001,90,if(a2<15001,110,if(a2<25001,130,if (a2<40001,150,200))))))))))))
but problem is that ms excel 2003 not allowed input more than 7 times if
condition at a time in a cell.
So how could I calculate tax as above of a person,
Thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default use if condition more than 7 times in a cell of office 2003

Try this:

Put this table in F1:G13
Income Rate
0 Nil
1501 18
2001 25
3001 30
5001 40
6001 45
7001 50
8001 90
9001 110
15001 130
25001 150
40001 200

Then, this formula returns the rate associated with the value in A2

=VLOOKUP(A2,F2:G13,2,1)

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Montu" wrote in message
...
I have a tax rate slab like
Sl. Income Rate
1 1500 or Less Nil
2 1501 to 2000 18
3 2001 to 3000 25
4 3001 to 5000 30
5 5001 to 6000 40
7 6001 to 7000 45
8 7001 to 8000 50
9 8001 to 9000 90
10 9001 to 15000 110
11 15001 to 25000 130
12 25001 to 40000 150
13 40001 to above 200

Now I want to put a formula to calculate the tax of a person. So I have
write a formula like
=if(a2=1500,"Nil",if(a2<2001,18,if(a2<3001,25,if(a 2<5001,30,if(a2<6001,40,if(a2<7001,45,if(a2<8001,5 0,if(a2<9001,90,if(a2<15001,110,if(a2<25001,130,if (a2<40001,150,200))))))))))))
but problem is that ms excel 2003 not allowed input more than 7 times if
condition at a time in a cell.
So how could I calculate tax as above of a person,
Thanks in advance




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default use if condition more than 7 times in a cell of office 2003

Hi,

I'd guess that you need an extra column where you calculate the tax for each
row if you have to split the income according to rows. otherwise make a
better table and use vlookup on it. make sure you set true/false right! (You
will need "TRUE" this is why it is important to have a perfect table.)

See Excel help on vlookup.

arno


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default use if condition more than 7 times in a cell of office 2003

On Tue, 4 Mar 2008 07:31:04 -0800, Montu wrote:

I have a tax rate slab like
Sl. Income Rate
1 1500 or Less Nil
2 1501 to 2000 18
3 2001 to 3000 25
4 3001 to 5000 30
5 5001 to 6000 40
7 6001 to 7000 45
8 7001 to 8000 50
9 8001 to 9000 90
10 9001 to 15000 110
11 15001 to 25000 130
12 25001 to 40000 150
13 40001 to above 200

Now I want to put a formula to calculate the tax of a person. So I have
write a formula like
=if(a2=1500,"Nil",if(a2<2001,18,if(a2<3001,25,if( a2<5001,30,if(a2<6001,40,if(a2<7001,45,if(a2<8001, 50,if(a2<9001,90,if(a2<15001,110,if(a2<25001,130,i f(a2<40001,150,200))))))))))))
but problem is that ms excel 2003 not allowed input more than 7 times if
condition at a time in a cell.
So how could I calculate tax as above of a person,
Thanks in advance


Set up your table like this and NAME it tbl.

Income Rate
0 0
1500 18
2000 25
3000 30
5000 40
6000 45
7000 50
8000 90
9000 110
15000 130
25000 150
40000 200

Then use this formula:

=VLOOKUP(A1,tbl,2)
--ron
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default use if condition more than 7 times in a cell of office 2003

Hi

Set up your table as follows
0 Nil
1500 18
2000 25
5000 30
6000 45
7000 50
8000 90
9000 110
15000 130
25000 150
40000 200

With Income in C1, enter in D1
=VLOOKUP(C1,$A$1:$B$11,2,1)

--
Regards
Roger Govier

"Montu" wrote in message
...
I have a tax rate slab like
Sl. Income Rate
1 1500 or Less Nil
2 1501 to 2000 18
3 2001 to 3000 25
4 3001 to 5000 30
5 5001 to 6000 40
7 6001 to 7000 45
8 7001 to 8000 50
9 8001 to 9000 90
10 9001 to 15000 110
11 15001 to 25000 130
12 25001 to 40000 150
13 40001 to above 200

Now I want to put a formula to calculate the tax of a person. So I have
write a formula like
=if(a2=1500,"Nil",if(a2<2001,18,if(a2<3001,25,if(a 2<5001,30,if(a2<6001,40,if(a2<7001,45,if(a2<8001,5 0,if(a2<9001,90,if(a2<15001,110,if(a2<25001,130,if (a2<40001,150,200))))))))))))
but problem is that ms excel 2003 not allowed input more than 7 times if
condition at a time in a cell.
So how could I calculate tax as above of a person,
Thanks in advance



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default use if condition more than 7 times in a cell of office 2003

Thanks for your suggession, but I don't want to use vlookuup formula, because
this formula only find the exact value i.e. 1500 or 2000 or 3000 etc. but I
want to calculate in between value i.e. 1501 to 2000 or 2001 to 3000 etc. So
I thaught that if function can solve this problem. So what should I do ?
Please help me.

"arno" wrote:

Hi,

I'd guess that you need an extra column where you calculate the tax for each
row if you have to split the income according to rows. otherwise make a
better table and use vlookup on it. make sure you set true/false right! (You
will need "TRUE" this is why it is important to have a perfect table.)

See Excel help on vlookup.

arno



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default use if condition more than 7 times in a cell of office 2003

Thanks for your suggession, but I don't want to use vlookuup formula, because
this formula only find the exact value i.e. 1500 or 2000 or 3000 etc. but I
want to calculate in between value i.e. 1501 to 2000 or 2001 to 3000 etc. So
I thaught that if function can solve this problem. So what should I do ?
Please help me.


"Ron Coderre" wrote:

Try this:

Put this table in F1:G13
Income Rate
0 Nil
1501 18
2001 25
3001 30
5001 40
6001 45
7001 50
8001 90
9001 110
15001 130
25001 150
40001 200

Then, this formula returns the rate associated with the value in A2

=VLOOKUP(A2,F2:G13,2,1)

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Montu" wrote in message
...
I have a tax rate slab like
Sl. Income Rate
1 1500 or Less Nil
2 1501 to 2000 18
3 2001 to 3000 25
4 3001 to 5000 30
5 5001 to 6000 40
7 6001 to 7000 45
8 7001 to 8000 50
9 8001 to 9000 90
10 9001 to 15000 110
11 15001 to 25000 130
12 25001 to 40000 150
13 40001 to above 200

Now I want to put a formula to calculate the tax of a person. So I have
write a formula like
=if(a2=1500,"Nil",if(a2<2001,18,if(a2<3001,25,if(a 2<5001,30,if(a2<6001,40,if(a2<7001,45,if(a2<8001,5 0,if(a2<9001,90,if(a2<15001,110,if(a2<25001,130,if (a2<40001,150,200))))))))))))
but problem is that ms excel 2003 not allowed input more than 7 times if
condition at a time in a cell.
So how could I calculate tax as above of a person,
Thanks in advance





  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default use if condition more than 7 times in a cell of office 2003

Thanks for your suggession, but I don't want to use vlookuup formula, because
this formula only find the exact value i.e. 1500 or 2000 or 3000 etc. but I
want to calculate in between value i.e. 1501 to 2000 or 2001 to 3000 etc. So
I thaught that if function can solve this problem. So what should I do ?
Please help me.


"Ron Rosenfeld" wrote:

On Tue, 4 Mar 2008 07:31:04 -0800, Montu wrote:

I have a tax rate slab like
Sl. Income Rate
1 1500 or Less Nil
2 1501 to 2000 18
3 2001 to 3000 25
4 3001 to 5000 30
5 5001 to 6000 40
7 6001 to 7000 45
8 7001 to 8000 50
9 8001 to 9000 90
10 9001 to 15000 110
11 15001 to 25000 130
12 25001 to 40000 150
13 40001 to above 200

Now I want to put a formula to calculate the tax of a person. So I have
write a formula like
=if(a2=1500,"Nil",if(a2<2001,18,if(a2<3001,25,if( a2<5001,30,if(a2<6001,40,if(a2<7001,45,if(a2<8001, 50,if(a2<9001,90,if(a2<15001,110,if(a2<25001,130,i f(a2<40001,150,200))))))))))))
but problem is that ms excel 2003 not allowed input more than 7 times if
condition at a time in a cell.
So how could I calculate tax as above of a person,
Thanks in advance


Set up your table like this and NAME it tbl.

Income Rate
0 0
1500 18
2000 25
3000 30
5000 40
6000 45
7000 50
8000 90
9000 110
15000 130
25000 150
40000 200

Then use this formula:

=VLOOKUP(A1,tbl,2)
--ron

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default use if condition more than 7 times in a cell of office 2003

Thanks for your suggession, but I don't want to use vlookuup formula, because
this formula only find the exact value i.e. 1500 or 2000 or 3000 etc. but I
want to calculate in between value i.e. 1501 to 2000 or 2001 to 3000 etc. So
I thaught that if function can solve this problem. So what should I do ?
Please help me.


"Roger Govier" wrote:

Hi

Set up your table as follows
0 Nil
1500 18
2000 25
5000 30
6000 45
7000 50
8000 90
9000 110
15000 130
25000 150
40000 200

With Income in C1, enter in D1
=VLOOKUP(C1,$A$1:$B$11,2,1)

--
Regards
Roger Govier

"Montu" wrote in message
...
I have a tax rate slab like
Sl. Income Rate
1 1500 or Less Nil
2 1501 to 2000 18
3 2001 to 3000 25
4 3001 to 5000 30
5 5001 to 6000 40
7 6001 to 7000 45
8 7001 to 8000 50
9 8001 to 9000 90
10 9001 to 15000 110
11 15001 to 25000 130
12 25001 to 40000 150
13 40001 to above 200

Now I want to put a formula to calculate the tax of a person. So I have
write a formula like
=if(a2=1500,"Nil",if(a2<2001,18,if(a2<3001,25,if(a 2<5001,30,if(a2<6001,40,if(a2<7001,45,if(a2<8001,5 0,if(a2<9001,90,if(a2<15001,110,if(a2<25001,130,if (a2<40001,150,200))))))))))))
but problem is that ms excel 2003 not allowed input more than 7 times if
condition at a time in a cell.
So how could I calculate tax as above of a person,
Thanks in advance

  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default use if condition more than 7 times in a cell of office 2003

Pls. read carefully what so many people wrote. You need vlookup with FALSE
and a corresponding table.




  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default use if condition more than 7 times in a cell of office 2003

On Tue, 4 Mar 2008 21:37:06 -0800, Montu wrote:

Thanks for your suggession, but I don't want to use vlookuup formula, because
this formula only find the exact value i.e. 1500 or 2000 or 3000 etc. but I
want to calculate in between value i.e. 1501 to 2000 or 2001 to 3000 etc. So
I thaught that if function can solve this problem. So what should I do ?
Please help me.


From what you wrote to me and others, I can only assume that you did not even
bother to try my suggestion. And you clearly don't understand how to use
VLOOKUP.

You have concluded that the IF function would solve your problem and are
unwilling to even try out other suggestions.

Since you won't even do us the courtesy of trying our suggestions, go spend
your money on Excel 2007 which will allow more nested IF's than seven.
--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Office 2007 compatibility pack on Office 2003 (slow network file fox_mulder33 Setting up and Configuration of Excel 0 January 2nd 08 03:28 PM
IF condition using GMT and BST times Bhupinder Rayat Excel Worksheet Functions 4 June 12th 07 02:57 PM
display revised total in Office 2003 when cell data changes Kerry_y Excel Discussion (Misc queries) 1 November 15th 06 05:43 PM
Upgrading from Office 2003 Small Bus to Office 2003 Pro Kelly Setting up and Configuration of Excel 0 September 25th 06 06:07 PM
Office 2000/Office 2003 Excel not printing landscape vise versa BAHTTEXT in English text Setting up and Configuration of Excel 1 April 17th 06 01:37 PM


All times are GMT +1. The time now is 07:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"