Hi, everyone. I need a function to find the median with conditions, and excluding hidden rows. For example, let's say we need to find the median of column B, but only for rows where: column A is either "apple" or "pear", column C is populated, and the row is not hidden/filtered.
I haven't found a way to use =AGGREGATE with extra conditions, and I don't know of a way to use =MEDIAN while excluding hidden rows (though I do know how to use =MEDIAN with other conditions). I'm not very experienced with VBA and would prefer not to use it if I don't have to. Does anybody know how to do this? Let me know if any more information would be helpful.
Edit: Here's a sample worksheet.
test.xlsx
Bookmarks