I don't know what exactly I am doing wrong but I have tried many different ideas and I am not sure what to do. What I want done is to be able to take the Max/Min/Median of a column but only depending on certain values of the neighboring column's cell.
For example
A B
23 0
15 7
19 4
59 0
10 0
75 8
How can I have excel find the MAX value in A depending on if the neighboring B value is above 0? So it will essentially ignore any A value if the B value is 0. I know it can be done because I can just do an IF statement for each cell but I do not know how to combine the IF statement to work properly within another function. I assume once I figure it out I can easily apply it to other formulas (Min/Median/Percentile) and such. Any help would be greatly appreciated.
Bookmarks