Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Include vs. exclude specific cells in array in google sheets

$
0
0

I want to exclude specific rows in array commands in google sheets.

Here is some sample data:

Exercise typeWeightUnitRepsSuccess?
OHP40kg4yes
Deadlift240kg2no
OHP50kg10yes
Squat110kg12yes
OHP60kg5yes
Squat100kg6no
Squat90kg20yes
Deadlift200kg10yes
Deadlift220kg14no

I can use the command =ArrayFormula(MAX(IF($A$2:$A$999=A2,$B$2:$B$999))) to create the variable PR Max Weight, but I want to use the variable Success? (column E) to filter the command for the variable PR Max Weight such that rows where Success? == "yes" are included in the array, and rows where Success? == "no" are NOT included in the array.

Is this possible? If so, how can it be done? Thanks.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>