help with IF function?

Occasional Visitor

I am trying to setup a function for the following:


Calculating a grade based on satisfactory, needs improvement, and unsatisfactory grades. Grades have been entered as s, ni, and u. I would like to calculate at the end whichever letter is most used is the final grade. But I cannot seem to find a function that would work for this. I have tried MAX, and IF. 


The grades are in one row and the end of the row is where I need to enter the function to determine which letter is used most. 

1 Reply

That could be


How it works is here https://exceljet.net/formula/most-frequently-occurring-text