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

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
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,216,038
Messages
6,128,450
Members
449,453
Latest member
jayeshw

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