Thread: Maximum If Help
View Single Post
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

=MAX(--(grade=1)*salary)

entered as an array formula by pressing Ctrl-Shift-Enter


"RFJ" wrote:

Thanks to the guys who helped on the 'Average If' post. Both worked <G

I now want to find maximum salaries and, unfortunately, I can't tweak the
above solution.

Essentially I have two columns

'Grade' contains the grade (1 to 10) of every employee
'Salary' contains their salary.

I want to calculate the maximum salary for each grade

Can SKS give me the syntax

TIA

Robin