#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Liz Liz is offline
external usenet poster
 
Posts: 133
Default If Formula

Based upon an average of 3 numbers I need to figure out how to calculate a
formula based on the average to perform the following:

If there three month average + 50 was <300 - minimum quota is 300 new lines

If the three month average was HIGHER than 2 of the 3 months, the actual
average was used

If the three month average was LOWER than 2 of the three months -

If the average number was < 1000, I added 50 to the average
If the average number was 1000, I added 150 to the average

Any thoughts would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default If Formula

What happens if multiple criteria are met? What if average equals 1000? What
if average is equal to 2 of the 3 months?? All of these are questions you
need to define better. Assuming you wrote your criteria in order of
importance/judgment, this is what you said, in formula form.

=IF(AVERAGE(A2:A4)+50<300,"300 new
lines",IF(AVERAGE(A2:A4)MEDIAN(A2:A4),AVERAGE(A2: A4),AVERAGE(A2:A4)+IF(AVERAGE(A2:A4)<1000,50,150)) )
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Liz" wrote:

Based upon an average of 3 numbers I need to figure out how to calculate a
formula based on the average to perform the following:

If there three month average + 50 was <300 - minimum quota is 300 new lines

If the three month average was HIGHER than 2 of the 3 months, the actual
average was used

If the three month average was LOWER than 2 of the three months -

If the average number was < 1000, I added 50 to the average
If the average number was 1000, I added 150 to the average

Any thoughts would be appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Liz Liz is offline
external usenet poster
 
Posts: 133
Default If Formula

If the criteria is met we are adding 50 or 150 to the average. The formula
you provided does exactly what I needed. Thank you so much!

"Luke M" wrote:

What happens if multiple criteria are met? What if average equals 1000? What
if average is equal to 2 of the 3 months?? All of these are questions you
need to define better. Assuming you wrote your criteria in order of
importance/judgment, this is what you said, in formula form.

=IF(AVERAGE(A2:A4)+50<300,"300 new
lines",IF(AVERAGE(A2:A4)MEDIAN(A2:A4),AVERAGE(A2: A4),AVERAGE(A2:A4)+IF(AVERAGE(A2:A4)<1000,50,150)) )
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Liz" wrote:

Based upon an average of 3 numbers I need to figure out how to calculate a
formula based on the average to perform the following:

If there three month average + 50 was <300 - minimum quota is 300 new lines

If the three month average was HIGHER than 2 of the 3 months, the actual
average was used

If the three month average was LOWER than 2 of the three months -

If the average number was < 1000, I added 50 to the average
If the average number was 1000, I added 150 to the average

Any thoughts would be appreciated.

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