IF AND Syntax

gg

Well-known Member
Joined
Nov 18, 2003
Messages
560
Good Afternoon,
I have a project that requires a grading score based on several criteria. I have to return a "A", "B", "C" or "D" if certain conditions are met.

I have no idea what the syntax should be?

There are 3 criteria's and 4 grades that can be applied.

Criteria 1 Criteria 2 Criteria 3
A <=15 A= 0 A=0
B = 16-100 B = 0 B=1
C = 101-500 C = 1 C=2-5
D > 500 D = >1 D>=5

As mentioned above. I have to return an overall letter grade based on performance measurements of the three criteria.

Does anyone have any idea how to do this?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
How can B be 16-100 and 0 and 1? Can you please provide a sample and expected results?
 
Upvote 0
The first one is easy enough:

A​
B​
C​
1​
Number
Letter
2​
0​
A​
B2: =MID("ABCD", MATCH(A2, {0,16,101,501}), 1)
3​
15​
A​
4​
16​
B​
5​
100​
B​
6​
101​
C​
7​
500​
C​
8​
501​
D​

I don't understand the others.
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,449
Members
449,160
Latest member
nikijon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top