• 541K Members
• 6,947 Online
• 644K Conversations
SOLVED

Highlighted
New Contributor

# IF Function

I'm trying to figure out what the function or formula might be if I wanted a cell to display a letter if an adjacent cell displayed a certain number.  For instance, I'm a teacher and I want a column of cells to behave according to the grade percentage of an adjacent cell. An example would be - If Cell A2 is less than 89.5, or equal to 79.5 display a "B". But I'd also like that cell to display a "C" if it were less than 79.5 or equal to 69.5.  I hope this wasn't confusing. Look forward to your responses!

Kind regards,

Lonnie

Highlighted
Solution

# Re: IF Function

Hi, You could nest IF formulas:

`=IF(A2<69.5,"D",IF(A2<79.5,"C",IF(A2<89.5,"B","A")))`

(I am assuming anything less than the range for C is a D and anything above the range for B is A in the Example above.

Related Conversations
Make Share function in Edge more useful
HotCakeX in Discussions on
2 Replies
function talking to table storage
donquijote in Compute on
0 Replies
Calculated column help
gopalaraoa in SharePoint on
1 Replies
Excel If Functions