Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Nested "If Statement"

I am trying to write a "Nested If Statement". The purpose is to pick
the correct grade if it fails within a cetain range. I have dont
everything write. However, I discovered that I cant write more than 7
statements.

The grading system is more than 10 grades.

Please help..

Thank you

EZZAT
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Nested "If Statement"

One way:

=LOOKUP(F5,{0,40,45,50,55,60,72,76,79,82,85,89,92, 95,99},{"O","N","M","L","K","J","I","H","G","F","E ","D","C","B","A"})

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"The Greek" wrote in message
...
I am trying to write a "Nested If Statement". The purpose is to pick
the correct grade if it fails within a cetain range. I have dont
everything write. However, I discovered that I cant write more than 7
statements.

The grading system is more than 10 grades.

Please help..

Thank you

EZZAT



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Nested "If Statement"

Thank Sandy, The problem I have is that the score are in decimal and
will be falling in ranges, they are not absolute integers. Otherwise
I would have used the lookup formula.

Anyway idea..


On Mar 15, 9:44*pm, "Sandy Mann" wrote:
Or to make it easier to maintain, with the scores in K1:K15 and the grades
in L1:L15 try:

=LOOKUP(F5,K1:K15,L1:L15)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk

"Sandy Mann" wrote in message

...



One way:


=LOOKUP(F5,{0,40,45,50,55,60,72,76,79,82,85,89,92, 95,99},{"O","N","M","L","*K","J","I","H","G","F"," E","D","C","B","A"})


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



Replace @mailinator.com with @tiscali.co.uk


"The Greek" wrote in message
...
I am trying to write a "Nested If Statement". *The purpose is to pick
the correct grade if it fails within a cetain range. *I have dont
everything write. *However, I discovered that I cant write more than 7
statements.


The grading system is more than 10 grades.


Please help..


Thank you


EZZAT- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Nested "If Statement"

Thank Sandy, The problem I have is that the score are in decimal and
will be falling in ranges, they are not absolute integers.


That should not be a problem. From XL Help on LOOKUP:

*If LOOKUP can't find the lookup_value, it matches the largest value in
lookup_vector that is less than or equal to lookup_value.*

It will therefore work with your decimal numbers.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"The Greek" wrote in message
...
Thank Sandy, The problem I have is that the score are in decimal and
will be falling in ranges, they are not absolute integers. Otherwise
I would have used the lookup formula.

Anyway idea..


On Mar 15, 9:44 pm, "Sandy Mann" wrote:
Or to make it easier to maintain, with the scores in K1:K15 and the grades
in L1:L15 try:

=LOOKUP(F5,K1:K15,L1:L15)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk

"Sandy Mann" wrote in message

...



One way:


=LOOKUP(F5,{0,40,45,50,55,60,72,76,79,82,85,89,92, 95,99},{"O","N","M","L","*K","J","I","H","G","F"," E","D","C","B","A"})


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



Replace @mailinator.com with @tiscali.co.uk


"The Greek" wrote in message
...
I am trying to write a "Nested If Statement". The purpose is to pick
the correct grade if it fails within a cetain range. I have dont
everything write. However, I discovered that I cant write more than 7
statements.


The grading system is more than 10 grades.


Please help..


Thank you


EZZAT- Hide quoted text -


- Show quoted text -






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
Nested If Statement "FALSE" Return Margie Excel Worksheet Functions 8 August 17th 07 11:37 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
nested "If statement" using text RonB Excel Worksheet Functions 2 February 15th 07 05:10 PM
embedding "ISERROR" function into an "IF" statement [email protected] Excel Worksheet Functions 8 January 4th 07 12:01 AM
Nested "IF" Statement lajohn63 Excel Worksheet Functions 1 October 6th 06 10:56 AM


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