Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default If Satement formula

I have a commission base of £40000 to £80000 I have tried to put a statement
together but end up with negative or positive valves if go above or below
range
eg
"=IF($I$16=80000,(40000*$K$16),IF(I16<80000,( I16-40000*K16),IF(I16<40000,(0))))
using excel 2003 SP3
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default If Satement formula

Bit of a guess as you didn't explain the rules

=IF($I$16=80000,40000*$K$16,IF(I16<80000,($I$16-40000)*K16,IF($I$16<40000,0)))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"floreman" wrote in message
...
I have a commission base of £40000 to £80000 I have tried to put a
statement
together but end up with negative or positive valves if go above or below
range
eg
"=IF($I$16=80000,(40000*$K$16),IF(I16<80000,( I16-40000*K16),IF(I16<40000,(0))))
using excel 2003 SP3



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default If Satement formula

Hi

=IF(I16<40000,0,IF(I16<80000,(I16-40000*$K$16),40000*K16))

Regards,
Per

"floreman" skrev i meddelelsen
...
I have a commission base of £40000 to £80000 I have tried to put a
statement
together but end up with negative or positive valves if go above or below
range
eg
"=IF($I$16=80000,(40000*$K$16),IF(I16<80000,( I16-40000*K16),IF(I16<40000,(0))))
using excel 2003 SP3


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default If Satement formula

HI Bob

This came back with a negative when I put in £100000 revenue figure i.

What I am trying to do is that people earn commission on
£0-£40000,£40000-£80000 and above £80000 @ 30%,35% & 40% so my problem is
with the middle formula getting a multiple if statement to look at what can
be earned between 40000 to 80000 eg 10000 comms @ 30%
50000 comms 40000@ 30% 10000@35% an so on I hope this explains better.

Regards

Mike

"Bob Phillips" wrote:

Bit of a guess as you didn't explain the rules

=IF($I$16=80000,40000*$K$16,IF(I16<80000,($I$16-40000)*K16,IF($I$16<40000,0)))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"floreman" wrote in message
...
I have a commission base of £40000 to £80000 I have tried to put a
statement
together but end up with negative or positive valves if go above or below
range
eg
"=IF($I$16=80000,(40000*$K$16),IF(I16<80000,( I16-40000*K16),IF(I16<40000,(0))))
using excel 2003 SP3




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default If Satement formula

HI
What I am trying to do is that people earn commission on
£0-£40000,£40000-£80000 and above £80000 @ 30%,35% & 40% so my problem is
with the middle formula getting a multiple if statement to look at what can
be earned between 40000 to 80000 eg 10000 comms @ 30%
50000 comms 40000@ 30% 10000@35% an so on I hope this explains better.

Regards

Mike


"Per Jessen" wrote:

Hi

=IF(I16<40000,0,IF(I16<80000,(I16-40000*$K$16),40000*K16))

Regards,
Per

"floreman" skrev i meddelelsen
...
I have a commission base of £40000 to £80000 I have tried to put a
statement
together but end up with negative or positive valves if go above or below
range
eg
"=IF($I$16=80000,(40000*$K$16),IF(I16<80000,( I16-40000*K16),IF(I16<40000,(0))))
using excel 2003 SP3





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default If Satement formula

Hi
This formula should do what you need. I have 30%, 35% and 40% in A1:A3, but
that can be changed as needed. The formula should be entered as one line.

=IF(I16<=40000,I16*$A$1,IF(I16<=80000,40000*$A$1+( (I16-40000)*$A$2),40000*$A$1+40000*$A$2+((I16-80000)*$A$3)))

Best regards,
Per

"floreman" skrev i meddelelsen
...
HI
What I am trying to do is that people earn commission on
£0-£40000,£40000-£80000 and above £80000 @ 30%,35% & 40% so my problem is
with the middle formula getting a multiple if statement to look at what
can
be earned between 40000 to 80000 eg 10000 comms @ 30%
50000 comms 40000@ 30% 10000@35% an so on I hope this explains better.

Regards

Mike


"Per Jessen" wrote:

Hi

=IF(I16<40000,0,IF(I16<80000,(I16-40000*$K$16),40000*K16))

Regards,
Per

"floreman" skrev i meddelelsen
...
I have a commission base of £40000 to £80000 I have tried to put a
statement
together but end up with negative or positive valves if go above or
below
range
eg
"=IF($I$16=80000,(40000*$K$16),IF(I16<80000,( I16-40000*K16),IF(I16<40000,(0))))
using excel 2003 SP3




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



All times are GMT +1. The time now is 08:46 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"