#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default IF Statement

I have created an Excel Order form. After the Subtotal and Tax have been
calculated, I want the form to automatically put in the handling charges.
The IF Statement that I have used to format the cell is:
=IF((E39+E40)<10.01,3,IF(10.01<25,4,IF(25.01<40,5) ))---where E39 = subtotal
and E40 = tax
Now this formula works great if order is less than 10.01--brings back 3 as
result. And if order is between 10.01 and 25 it brings back 4 as result.
However, it does not work if amount is above 25.01---still brings back 4 as
result when it should bring back 5. I would also like to continue IF
statement in this cell to bring back results up to $100.
Am I doing something wrong here? Why does formula work great up to a point,
but no further??
Could someone please help.

Thank you
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default IF Statement

Thanks. This seems to work. However, I can't go pass an 8th condition. Can I
get more into the cell or is this the limit.
Ex.
=IF((E39+E40)<10.01,3,IF(E39+E40<25,5,IF(E39+E40<4 0,6,IF(E39+E40<55,7,IF(E39+E40<70,8,IF(E39+E40<85, 9,IF(E39+E40<100,10,IF(E39+E40<150,12,IF(E39+E40<2 00,14,IF(E39+E40<300,15,))))))))))

Receive error at 9th
condition...IF(E39+E40<200,14,IF(E39+E40<300,15,)) ))))))))

Last , but not least, I would like every order that is over $300 to have
handling charges equal to 7% of the order (subtot+tax). So would the final
condition read.....IF(E39+E40300,*7%

Would a LOOKUP statement help here?

Again thanks for your help



"Don Guillett" wrote:


if(e39+e40<40,5,if(e39+e40<25,4,etc with ) per if

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Snake_Plisken" wrote in message
...
I have created an Excel Order form. After the Subtotal and Tax have been
calculated, I want the form to automatically put in the handling charges.
The IF Statement that I have used to format the cell is:
=IF((E39+E40)<10.01,3,IF(10.01<25,4,IF(25.01<40,5) ))---where E39 =
subtotal
and E40 = tax
Now this formula works great if order is less than 10.01--brings back 3 as
result. And if order is between 10.01 and 25 it brings back 4 as result.
However, it does not work if amount is above 25.01---still brings back 4
as
result when it should bring back 5. I would also like to continue IF
statement in this cell to bring back results up to $100.
Am I doing something wrong here? Why does formula work great up to a
point,
but no further??
Could someone please help.

Thank you



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default IF Statement

Use the lookup suggestion

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Snake_Plisken" wrote in message
...
Thanks. This seems to work. However, I can't go pass an 8th condition. Can
I
get more into the cell or is this the limit.
Ex.
=IF((E39+E40)<10.01,3,IF(E39+E40<25,5,IF(E39+E40<4 0,6,IF(E39+E40<55,7,IF(E39+E40<70,8,IF(E39+E40<85, 9,IF(E39+E40<100,10,IF(E39+E40<150,12,IF(E39+E40<2 00,14,IF(E39+E40<300,15,))))))))))

Receive error at 9th
condition...IF(E39+E40<200,14,IF(E39+E40<300,15,)) ))))))))

Last , but not least, I would like every order that is over $300 to have
handling charges equal to 7% of the order (subtot+tax). So would the final
condition read.....IF(E39+E40300,*7%

Would a LOOKUP statement help here?

Again thanks for your help



"Don Guillett" wrote:


if(e39+e40<40,5,if(e39+e40<25,4,etc with ) per if

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Snake_Plisken" wrote in
message
...
I have created an Excel Order form. After the Subtotal and Tax have been
calculated, I want the form to automatically put in the handling
charges.
The IF Statement that I have used to format the cell is:
=IF((E39+E40)<10.01,3,IF(10.01<25,4,IF(25.01<40,5) ))---where E39 =
subtotal
and E40 = tax
Now this formula works great if order is less than 10.01--brings back 3
as
result. And if order is between 10.01 and 25 it brings back 4 as
result.
However, it does not work if amount is above 25.01---still brings back
4
as
result when it should bring back 5. I would also like to continue IF
statement in this cell to bring back results up to $100.
Am I doing something wrong here? Why does formula work great up to a
point,
but no further??
Could someone please help.

Thank you




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default IF Statement

LOOKUP works perfectly. Again though I need to resolve the issue of orders
over $300. I need the result to be 7% of total. I tried to use multiplication
at the end of string (......,*7%) and also (........,*1.7) neither worked.
Any suggestions?

Thanks

"Don Guillett" wrote:

Use the lookup suggestion

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Snake_Plisken" wrote in message
...
Thanks. This seems to work. However, I can't go pass an 8th condition. Can
I
get more into the cell or is this the limit.
Ex.
=IF((E39+E40)<10.01,3,IF(E39+E40<25,5,IF(E39+E40<4 0,6,IF(E39+E40<55,7,IF(E39+E40<70,8,IF(E39+E40<85, 9,IF(E39+E40<100,10,IF(E39+E40<150,12,IF(E39+E40<2 00,14,IF(E39+E40<300,15,))))))))))

Receive error at 9th
condition...IF(E39+E40<200,14,IF(E39+E40<300,15,)) ))))))))

Last , but not least, I would like every order that is over $300 to have
handling charges equal to 7% of the order (subtot+tax). So would the final
condition read.....IF(E39+E40300,*7%

Would a LOOKUP statement help here?

Again thanks for your help



"Don Guillett" wrote:


if(e39+e40<40,5,if(e39+e40<25,4,etc with ) per if

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Snake_Plisken" wrote in
message
...
I have created an Excel Order form. After the Subtotal and Tax have been
calculated, I want the form to automatically put in the handling
charges.
The IF Statement that I have used to format the cell is:
=IF((E39+E40)<10.01,3,IF(10.01<25,4,IF(25.01<40,5) ))---where E39 =
subtotal
and E40 = tax
Now this formula works great if order is less than 10.01--brings back 3
as
result. And if order is between 10.01 and 25 it brings back 4 as
result.
However, it does not work if amount is above 25.01---still brings back
4
as
result when it should bring back 5. I would also like to continue IF
statement in this cell to bring back results up to $100.
Am I doing something wrong here? Why does formula work great up to a
point,
but no further??
Could someone please help.

Thank you






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default IF Statement

Just *insert* the actual formula you want to use:

Instead of:
IF(E39+E40300,*7%
USE:
IF(E39+E40300,(E39+E40)*7%

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Snake_Plisken" wrote in message
...
LOOKUP works perfectly. Again though I need to resolve the issue of orders
over $300. I need the result to be 7% of total. I tried to use
multiplication
at the end of string (......,*7%) and also (........,*1.7) neither worked.
Any suggestions?

Thanks

"Don Guillett" wrote:

Use the lookup suggestion

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Snake_Plisken" wrote in message
...
Thanks. This seems to work. However, I can't go pass an 8th condition.
Can
I
get more into the cell or is this the limit.
Ex.
=IF((E39+E40)<10.01,3,IF(E39+E40<25,5,IF(E39+E40<4 0,6,IF(E39+E40<55,7,IF(E39+E40<70,8,IF(E39+E40<85, 9,IF(E39+E40<100,10,IF(E39+E40<150,12,IF(E39+E40<2 00,14,IF(E39+E40<300,15,))))))))))

Receive error at 9th
condition...IF(E39+E40<200,14,IF(E39+E40<300,15,)) ))))))))

Last , but not least, I would like every order that is over $300 to have
handling charges equal to 7% of the order (subtot+tax). So would the
final
condition read.....IF(E39+E40300,*7%

Would a LOOKUP statement help here?

Again thanks for your help



"Don Guillett" wrote:


if(e39+e40<40,5,if(e39+e40<25,4,etc with ) per if

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Snake_Plisken" wrote in
message
...
I have created an Excel Order form. After the Subtotal and Tax have
been
calculated, I want the form to automatically put in the handling
charges.
The IF Statement that I have used to format the cell is:
=IF((E39+E40)<10.01,3,IF(10.01<25,4,IF(25.01<40,5) ))---where E39 =
subtotal
and E40 = tax
Now this formula works great if order is less than 10.01--brings back
3
as
result. And if order is between 10.01 and 25 it brings back 4 as
result.
However, it does not work if amount is above 25.01---still brings
back
4
as
result when it should bring back 5. I would also like to continue IF
statement in this cell to bring back results up to $100.
Am I doing something wrong here? Why does formula work great up to a
point,
but no further??
Could someone please help.

Thank you






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default IF Statement

You have to refer to E39+E40 in every clause, e.g.

=IF(E39+E40<10.01,3,IF(E39+E40<25,4,IF(E39+E40<40, 5,6)))

or you could try LOOKUP...with a table or hard-coded into the formula like
this

=LOOKUP(E39+E40,{0,10.01,25,40;3,4,5,6})

"Snake_Plisken" wrote:

I have created an Excel Order form. After the Subtotal and Tax have been
calculated, I want the form to automatically put in the handling charges.
The IF Statement that I have used to format the cell is:
=IF((E39+E40)<10.01,3,IF(10.01<25,4,IF(25.01<40,5) ))---where E39 = subtotal
and E40 = tax
Now this formula works great if order is less than 10.01--brings back 3 as
result. And if order is between 10.01 and 25 it brings back 4 as result.
However, it does not work if amount is above 25.01---still brings back 4 as
result when it should bring back 5. I would also like to continue IF
statement in this cell to bring back results up to $100.
Am I doing something wrong here? Why does formula work great up to a point,
but no further??
Could someone please help.

Thank you

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default IF Statement

Thanks. This seems to work. However, I can't go pass an 8th condition. Can I
get more into the cell or is this the limit.
Ex.
=IF((E39+E40)<10.01,3,IF(E39+E40<25,5,IF(E39+E40<4 0,6,IF(E39+E40<55,7,IF(E39+E40<70,8,IF(E39+E40<85, 9,IF(E39+E40<100,10,IF(E39+E40<150,12,IF(E39+E40<2 00,14,IF(E39+E40<300,15,))))))))))

Receive error at 9th
condition...IF(E39+E40<200,14,IF(E39+E40<300,15,)) ))))))))

Last , but not least, I would like every order that is over $300 to have
handling charges equal to 7% of the order (subtot+tax). So would the final
condition read.....IF(E39+E40300,*7%

Would a LOOKUP statement help here?

Again thanks for your help



"daddylonglegs" wrote:

You have to refer to E39+E40 in every clause, e.g.

=IF(E39+E40<10.01,3,IF(E39+E40<25,4,IF(E39+E40<40, 5,6)))

or you could try LOOKUP...with a table or hard-coded into the formula like
this

=LOOKUP(E39+E40,{0,10.01,25,40;3,4,5,6})

"Snake_Plisken" wrote:

I have created an Excel Order form. After the Subtotal and Tax have been
calculated, I want the form to automatically put in the handling charges.
The IF Statement that I have used to format the cell is:
=IF((E39+E40)<10.01,3,IF(10.01<25,4,IF(25.01<40,5) ))---where E39 = subtotal
and E40 = tax
Now this formula works great if order is less than 10.01--brings back 3 as
result. And if order is between 10.01 and 25 it brings back 4 as result.
However, it does not work if amount is above 25.01---still brings back 4 as
result when it should bring back 5. I would also like to continue IF
statement in this cell to bring back results up to $100.
Am I doing something wrong here? Why does formula work great up to a point,
but no further??
Could someone please help.

Thank you

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
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
3 ifs in one statement JBS Excel Worksheet Functions 3 June 29th 06 11:15 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


All times are GMT +1. The time now is 10:06 AM.

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"