Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default if statement issues.

I want to write a if statement but can not figure it out.
Here is the formula I have.
=IF(F36<=200,SUM(F36),(L34))

Note L34 = $200.00 This can be adjusted to any dollar amount.

c36 contains 1,2 1=used 2=new
d36 is the age in days
e36 is a dollar amount
f36 is the commision this is the formula
=IF(C36=1,IF(E36<=99.99,25,E36*LOOKUP(D36,{0,61,12 1,181},{0.1,0.15,0.2,0.25})),IF(E36<=99.99,LOOKUP( D36,{1,121,271},{25,50,100}),IF(AND(D36<16,E36*5% 200),200,E36*LOOKUP(D36,{0,61,121,271},{0.1,0.15,0 .2,0.25}))))

h36 this is the formula
=IF(F36<=200,SUM(F36),(L34))

L34 is my max amount=$200.00
I need H36 to only return $200.00 if C36=2 and D36= is between 0-60 and f36
is above the value set in L34. Other wise return the value in f36.
Or is there an easier way to do this?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default if statement issues.

I am trying this fromula in H36
=IF(F36<=200,SUM(F36),(L34)),IF(C36=2,D36<=60) but it is not working Help
please!!!!!!!!!!!!!!!!!!!

"marsjune68" wrote:

I want to write a if statement but can not figure it out.
Here is the formula I have.
=IF(F36<=200,SUM(F36),(L34))

Note L34 = $200.00 This can be adjusted to any dollar amount.

c36 contains 1,2 1=used 2=new
d36 is the age in days
e36 is a dollar amount
f36 is the commision this is the formula
=IF(C36=1,IF(E36<=99.99,25,E36*LOOKUP(D36,{0,61,12 1,181},{0.1,0.15,0.2,0.25})),IF(E36<=99.99,LOOKUP( D36,{1,121,271},{25,50,100}),IF(AND(D36<16,E36*5% 200),200,E36*LOOKUP(D36,{0,61,121,271},{0.1,0.15,0 .2,0.25}))))

h36 this is the formula
=IF(F36<=200,SUM(F36),(L34))

L34 is my max amount=$200.00
I need H36 to only return $200.00 if C36=2 and D36= is between 0-60 and f36
is above the value set in L34. Other wise return the value in f36.
Or is there an easier way to do this?

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default if statement issues.

Hi,

Try this

=IF(AND(C36=2,D36<=60,D36=0,F36L34),200,F36)

However, I need to concede that I'm not entirely clear on what you want to do.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"marsjune68" wrote:

I want to write a if statement but can not figure it out.
Here is the formula I have.
=IF(F36<=200,SUM(F36),(L34))

Note L34 = $200.00 This can be adjusted to any dollar amount.

c36 contains 1,2 1=used 2=new
d36 is the age in days
e36 is a dollar amount
f36 is the commision this is the formula
=IF(C36=1,IF(E36<=99.99,25,E36*LOOKUP(D36,{0,61,12 1,181},{0.1,0.15,0.2,0.25})),IF(E36<=99.99,LOOKUP( D36,{1,121,271},{25,50,100}),IF(AND(D36<16,E36*5% 200),200,E36*LOOKUP(D36,{0,61,121,271},{0.1,0.15,0 .2,0.25}))))

h36 this is the formula
=IF(F36<=200,SUM(F36),(L34))

L34 is my max amount=$200.00
I need H36 to only return $200.00 if C36=2 and D36= is between 0-60 and f36
is above the value set in L34. Other wise return the value in f36.
Or is there an easier way to do this?

Thank you in advance.

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
Formula issues Rakkamac Excel Worksheet Functions 2 November 3rd 08 10:21 AM
I'm having formula issues Leslie Excel Discussion (Misc queries) 3 September 15th 08 08:44 PM
AutoFilter issues WT Excel Discussion (Misc queries) 4 August 14th 08 11:41 PM
Speed issues Antonio Excel Worksheet Functions 4 May 8th 06 08:23 AM
link issues mike Excel Worksheet Functions 0 March 20th 06 10:07 PM


All times are GMT +1. The time now is 05:34 PM.

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

About Us

"It's about Microsoft Excel"