Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 14
Unhappy Help with IF function

I am trying to award points for performance using an IF function.
So, if they score less than 90%, 0 points, 90-94%=5 points, 94-95%=7 points and 95%=10 points.
I have tried to start this formula, but I am stuck. So any help would be great!
Here is whaty I wrote so far:
=IF((B8<=90%),0),(IF(AND(B890%,B8<=94%),5),(IF(AN D(B894%, B8=95%),7),((IF( B895%, 10, "no")))))

All help greatly received
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Jooniper View Post
I am trying to award points for performance using an IF function.
So, if they score less than 90%, 0 points, 90-94%=5 points, 94-95%=7 points and 95%=10 points.
I have tried to start this formula, but I am stuck. So any help would be great!
Here is whaty I wrote so far:
=IF((B8<=90%),0),(IF(AND(B890%,B8<=94%),5),(IF(AN D(B894%, B8=95%),7),((IF( B895%, 10, "no")))))

All help greatly received
Does this do what you need?

=IF(AND(B8=0%,B8<90%),0,IF(AND(B8=90%,B8<=94%),5 ,IF(AND(B894%,B8<=95%),7,IF(B895%,10))))
  #3   Report Post  
Junior Member
 
Posts: 14
Red face

Quote:
Originally Posted by Spencer101 View Post
Does this do what you need?

=IF(AND(B8=0%,B8<90%),0,IF(AND(B8=90%,B8<=94%),5 ,IF(AND(B894%,B8<=95%),7,IF(B895%,10))))
YES! That is absolutely fantastic. Thank you very much for your help
  #4   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Jooniper View Post
YES! That is absolutely fantastic. Thank you very much for your help
Glad to help :)
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Help with IF function

Hi Jooniper,

Am Wed, 22 Aug 2012 09:19:21 +0000 schrieb Jooniper:

I am trying to award points for performance using an IF function.
So, if they score less than 90%, 0 points, 90-94%=5 points, 94-95%=7
points and 95%=10 points.
I have tried to start this formula, but I am stuck. So any help would be
great!
Here is whaty I wrote so far:
=IF((B8<=90%),0),(IF(AND(B890%,B8<=94%),5),(IF(AN D(B894%,
B8=95%),7),((IF( B895%, 10, "no")))))


try:
=VLOOKUP(B8,{0,0;0.9,5;0.94,7;0.95,10},2,1)
but watch your language specific seperators


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 829
Default Help with IF function

"Jooniper" wrote:
I am trying to award points for performance using an
IF function. So, if they score less than 90%, 0 points,
90-94%=5 points, 94-95%=7 points and 95%=10 points.
I have tried to start this formula, but I am stuck.

[....]
=IF((B8<=90%),0),(IF(AND(B890%,B8<=94%),5),(IF(AN D(B894%,
B8=95%),7),((IF( B895%, 10, "no")))))


Your ranges are ambiguous. If 94%, do you want to award 5 or 7 points?

=IF(B8<90%,0,IF(B8<94%,5,IF(B8<=95%,7,10)))

Caveat: A cell might appear to be 94%, but it is actually less (as little
as 93.5%) due to formatting. I presume that B8 is rounded to 2 decimal
places. If not, you might want to replace B8 with ROUND(B8,2) in the
formula above. Or you might not. It depends on your intent. Do you want
93.9999999999999% to be awarded 5 or 7 points, assuming 94% is awarded 7
points?

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
User Function Question: Collect Condition in Dialog Box - But How toInsert into Function Equation? SteveM Excel Programming 1 January 3rd 08 03:45 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Excel - User Defined Function Error: This function takes no argume BruceInCalgary Excel Programming 3 August 23rd 06 08:53 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Adding a custom function to the default excel function list DonutDel Excel Programming 3 November 21st 03 03:41 PM


All times are GMT +1. The time now is 12:37 AM.

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"