Please tell me how to write a query in MS Excel with IF condition to get the following result

If C1>=80 THAN PRINT EX

If C1>=65 AND C1<=79 THAN PRINT A

If C1>=50 AND C1<=64 THAN PRINT B

If C1>=35 AND C1<=49 THAN PRINT C

If C1<35 THAN PRINT F

and in case if result if F than change the color of F into RED