ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Maximum If Help (https://www.excelbanter.com/excel-worksheet-functions/41305-maximum-if-help.html)

RFJ

Maximum If Help
 
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




Duke Carey

=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






All times are GMT +1. The time now is 01:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com