#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default If formula

Im trying to update a formula for our employee bonus system, but Im afraid
Ive got in a bit of a muddle.
We currently have
=IF(x<60,0,(2.5*(x-60)))

Where x is the number of points they achieve in a week. They get paid £2.50
for every point over 60points.
I want to change it so that up to 150 points they get paid £2.10 for every
point over 60, but it cuts off at 150 points.
Then shown on a separate line (so they can see the distinction) I want to
show £2.15 for every point between 150 & 175 points.
Then again on a separate line £2.20 for any points over 200
I really have no idea how to go about this €“ I think this forum helped me
set up the original formula 3 years ago!
Can anyone help?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default If formula

Try this:
If A is your points column, pase this formula in column B:

=IF(A1<=60,0,IF(AND(A160,A1<=150),(2.1*(A1-60)),(2.1*90)))

This will calculate your point bonus between 60 and 150 points.
For the next column, modify the formula so it reads:

=IF(A1<=150,0,IF(AND(A1150,A1<=175),(2.15*(A1-150)),(2.15*25))

Notice that I've just changed the numbers to reflect the point bonus between
150 and 175 points. Do the same thing for the next colum, Change your
starting and ending values, and the pound bonus.

-- Anne Murray
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default If formula

Thank you for your help. It works perfectly for the first column, but when i
put 185 points in to test the second column I get a return of 'false'
instead of 75.25

"FinRazel" wrote:

Try this:
If A is your points column, pase this formula in column B:

=IF(A1<=60,0,IF(AND(A160,A1<=150),(2.1*(A1-60)),(2.1*90)))

This will calculate your point bonus between 60 and 150 points.
For the next column, modify the formula so it reads:

=IF(A1<=150,0,IF(AND(A1150,A1<=175),(2.15*(A1-150)),(2.15*25))

Notice that I've just changed the numbers to reflect the point bonus between
150 and 175 points. Do the same thing for the next colum, Change your
starting and ending values, and the pound bonus.

-- Anne Murray

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default If formula

The 2nd formula isn't legal. The parentheses don't match, so you shouldn't
have been able to get an answer. I don't know how you changed it to get an
answer, but it should just have an extra closing parenthesis at the end, so
that the syntax loks the same as the first formula.
--
David Biddulph

"Mattymoo" wrote in message
...
Thank you for your help. It works perfectly for the first column, but
when i
put 185 points in to test the second column I get a return of 'false'
instead of 75.25

"FinRazel" wrote:

Try this:
If A is your points column, pase this formula in column B:

=IF(A1<=60,0,IF(AND(A160,A1<=150),(2.1*(A1-60)),(2.1*90)))

This will calculate your point bonus between 60 and 150 points.
For the next column, modify the formula so it reads:

=IF(A1<=150,0,IF(AND(A1150,A1<=175),(2.15*(A1-150)),(2.15*25))

Notice that I've just changed the numbers to reflect the point bonus
between
150 and 175 points. Do the same thing for the next colum, Change your
starting and ending values, and the pound bonus.

-- Anne Murray



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default If formula

That's right, I lost the last parenthesis when copy-pasting, my bad.
--
Anne Murray


"David Biddulph" wrote:

The 2nd formula isn't legal. The parentheses don't match, so you shouldn't
have been able to get an answer. I don't know how you changed it to get an
answer, but it should just have an extra closing parenthesis at the end, so
that the syntax loks the same as the first formula.
--
David Biddulph

"Mattymoo" wrote in message
...
Thank you for your help. It works perfectly for the first column, but
when i
put 185 points in to test the second column I get a return of 'false'
instead of 75.25

"FinRazel" wrote:

Try this:
If A is your points column, pase this formula in column B:

=IF(A1<=60,0,IF(AND(A160,A1<=150),(2.1*(A1-60)),(2.1*90)))

This will calculate your point bonus between 60 and 150 points.
For the next column, modify the formula so it reads:

=IF(A1<=150,0,IF(AND(A1150,A1<=175),(2.15*(A1-150)),(2.15*25))

Notice that I've just changed the numbers to reflect the point bonus
between
150 and 175 points. Do the same thing for the next colum, Change your
starting and ending values, and the pound bonus.

-- Anne Murray






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default If formula

Perfect

thank you very much

Pauline

"FinRazel" wrote:

That's right, I lost the last parenthesis when copy-pasting, my bad.
--
Anne Murray


"David Biddulph" wrote:

The 2nd formula isn't legal. The parentheses don't match, so you shouldn't
have been able to get an answer. I don't know how you changed it to get an
answer, but it should just have an extra closing parenthesis at the end, so
that the syntax loks the same as the first formula.
--
David Biddulph

"Mattymoo" wrote in message
...
Thank you for your help. It works perfectly for the first column, but
when i
put 185 points in to test the second column I get a return of 'false'
instead of 75.25

"FinRazel" wrote:

Try this:
If A is your points column, pase this formula in column B:

=IF(A1<=60,0,IF(AND(A160,A1<=150),(2.1*(A1-60)),(2.1*90)))

This will calculate your point bonus between 60 and 150 points.
For the next column, modify the formula so it reads:

=IF(A1<=150,0,IF(AND(A1150,A1<=175),(2.15*(A1-150)),(2.15*25))

Notice that I've just changed the numbers to reflect the point bonus
between
150 and 175 points. Do the same thing for the next colum, Change your
starting and ending values, and the pound bonus.

-- Anne Murray




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 10:53 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"