Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Including a range of number in a IF (Logical Test) formula

Isn't there a "RANGE" formula that can be used complimentary with the IF
formula?

I am grading some students' work and am looking to have a IF formula that
divides the students' numeric points earned by the number of possible points
and have the conditions be as follows:

RANGE GRADE
..9-1 A
..8-.89 B
..7-.79 C
..6-.69 D
0-.59 F

What I tried was this:
=IF(C7/C6=RANGE(.9,1),"A",IF(C7/C6=RANGE(.8,.89),"B",IF(C7/C6=RANGE(.7,.79),"C",IF(C7/C6=RANGE(.6,.69),"D","F"))))

However, this did not work because I am either using the RANGE formula
incorrectly or this formula doesn't even exist.

-Zakhary
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Including a range of number in a IF (Logical Test) formula

Try this:

=IF(COUNT(C6:C7)<2,"",LOOKUP(C7/C6,{0,0.6,0.7,0.8,0.9},{"F","D","C","B","A"}))

Biff

"Zakhary" wrote in message
...
Isn't there a "RANGE" formula that can be used complimentary with the IF
formula?

I am grading some students' work and am looking to have a IF formula that
divides the students' numeric points earned by the number of possible
points
and have the conditions be as follows:

RANGE GRADE
.9-1 A
.8-.89 B
.7-.79 C
.6-.69 D
0-.59 F

What I tried was this:
=IF(C7/C6=RANGE(.9,1),"A",IF(C7/C6=RANGE(.8,.89),"B",IF(C7/C6=RANGE(.7,.79),"C",IF(C7/C6=RANGE(.6,.69),"D","F"))))

However, this did not work because I am either using the RANGE formula
incorrectly or this formula doesn't even exist.

-Zakhary



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Including a range of number in a IF (Logical Test) formula

Zakhary

No such function as RANGE

Try this as an alternative.

=LOOKUP(C7/C6,{0,0.6,0.7,0.8,0.9},{"F","D","C","B","A"})


Gord Dibben MS Excel MVP

On Sat, 30 Dec 2006 11:02:00 -0800, Zakhary
wrote:

Isn't there a "RANGE" formula that can be used complimentary with the IF
formula?

I am grading some students' work and am looking to have a IF formula that
divides the students' numeric points earned by the number of possible points
and have the conditions be as follows:

RANGE GRADE
.9-1 A
.8-.89 B
.7-.79 C
.6-.69 D
0-.59 F

What I tried was this:
=IF(C7/C6=RANGE(.9,1),"A",IF(C7/C6=RANGE(.8,.89),"B",IF(C7/C6=RANGE(.7,.79),"C",IF(C7/C6=RANGE(.6,.69),"D","F"))))

However, this did not work because I am either using the RANGE formula
incorrectly or this formula doesn't even exist.

-Zakhary


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Including a range of number in a IF (Logical Test) formula

The only problem with this resolution is thaty it only will include numbers
that are greater than .9, but not equal to. .9 need to be included
--
-Zakhary


"Don Guillett" wrote:

try this idea

IF(C7/C6.9,"A"),IF(C7/C6.8,"B"),ETC


--
Don Guillett
SalesAid Software

"Zakhary" wrote in message
...
Isn't there a "RANGE" formula that can be used complimentary with the IF
formula?

I am grading some students' work and am looking to have a IF formula that
divides the students' numeric points earned by the number of possible
points
and have the conditions be as follows:

RANGE GRADE
.9-1 A
.8-.89 B
.7-.79 C
.6-.69 D
0-.59 F

What I tried was this:
=IF(C7/C6=RANGE(.9,1),"A",IF(C7/C6=RANGE(.8,.89),"B",IF(C7/C6=RANGE(.7,.79),"C",IF(C7/C6=RANGE(.6,.69),"D","F"))))

However, this did not work because I am either using the RANGE formula
incorrectly or this formula doesn't even exist.

-Zakhary






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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
How do I enter formula that adds a range if less than a number or Rose M Excel Worksheet Functions 2 December 21st 05 08:30 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Formula for displaying the lowest number of a range? coal_miner Excel Worksheet Functions 1 April 25th 05 02:54 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"