My sheet looks something like this: https://docs.google.com/spreadsheets/d/1IbHLts4V4hyc2bo_TfgZzZhFiMXkD5FSlPlpSm7xloY/edit?usp=sharing

enter image description here

How would I make a formula for the max/min columns, to get the maximum/minimum value for each row, but only including columns that have the value "bar"? (highlighted in green for clarity)

1 Answer 1


You need following formulas: MAXIFS and MINIFS.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.