ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Return a value based on two criteria (https://www.excelbanter.com/excel-discussion-misc-queries/138026-return-value-based-two-criteria.html)

cdavidson

Return a value based on two criteria
 
Column A contains various text (e.g. Player, Cut)
Column B contains numeric scores (e.g. -1, 0, 5, 6, 11, etc.)

All I want is a formula which will return the largest value from column B,
where column A contains the text 'Player'

Thanks for the assistance!

Bob Phillips

Return a value based on two criteria
 
=MAX(IF(A1:A200="Player",B1:B100))

This is an array formula, so commit with Ctrl-Shift-Enter, not just Enter.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"cdavidson" wrote in message
...
Column A contains various text (e.g. Player, Cut)
Column B contains numeric scores (e.g. -1, 0, 5, 6, 11, etc.)

All I want is a formula which will return the largest value from column B,
where column A contains the text 'Player'

Thanks for the assistance!





All times are GMT +1. The time now is 07:40 PM.

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