Max value

Closed
nate - 11 Feb 2011 à 15:00
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 14 Feb 2011 à 08:56
Hello,

What formula can I use in Excel to find the max value for POR, BAR and DAR? see below..

Thanks


A B
1 POR 2
2 BAR 3
3 BAR 4
4 POR 9
5 POR 3
6 DAR 7
Related:

1 response

TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 555
14 Feb 2011 à 08:56
Hi Nate,

Try this:

=MAX(($A$1:$A$6="POR")*($B$1:$B$6))
This is an array formula and needs to be confirmed by hitting Ctrl+Shift+Enter. This will put curly brackets around the formula.

Drag the formula down 2 times and replace the word "POR" by "BAR" and "DAR".

Best regards,
Trowa