# Search an Array for a Value with Multiple Criteria

1. ## Search an Array for a Value with Multiple Criteria

I am creating a Proficiency Gradebook. Student assignment scores are numbers 1-4. I am trying to fiqure out how to use multiple IF statments so that if a student has ANY scores that are less than 3, the overall grade should be "INC". If 2/3rds (66%) of the scores are 4 than the overall grade should be "A". If 1/3rd (33%) of the scores are a 4, than the grade should be B. If none of these conditions apply, then the grade should be "C".

Example

John 4,4,4,4,4,3,3 = A (71% scores are 4 & all scores are above a 3)
Sue 4,4,4,4,3,3,3 = B (57% scores are 4 & all scores are above a 3)
Bob 4,4,3,3,3,3,3 = C (28% scores are 4 & all scores are above a 3)
Frank 4,4,4,4,3,3,1 = INC (not all scores are above a 3)
Jill 0,0,4,4,3,3,1 = INC (not all scores are above a 3)

I have attached a WORKBOOK showing where the problem is.

NDev.

2. ## Re: Search an Array for a Value with Multiple Criteria

Hi NDev,

Welcome to the forum

Please attach a sample workbook with expected output for better understanding

Refer my signature area to know how to attach file.

3. ## Re: Search an Array for a Value with Multiple Criteria

Thanks for the attachment tip.... I am obviously new to threads...

4. ## Re: Search an Array for a Value with Multiple Criteria

May be this...

In P3 Cell
Formula:
`Please Login or Register  to view this content.`

Drag it down...

5. ## Re: Search an Array for a Value with Multiple Criteria

Hi Sixthsense,

I appreciated your quick response! The formula satisfied most of the criteria but not the part if a student scores a 0,1, or 2 on an assignment. Any score valued at less than 3 should result in a grade of INC. I attached a revised workbook with your formula inserted so you could see the issue. I made comments next to the rows that should have a grade score of an "INC". Thanks again for your help on this project.

Ndev

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1