Use AVERAGEIF with "OR" expression?
I'm trying to use AVERAGEIF to average all cells B26:W26 if cells B29:W29 contain either "Friday", "Saturday", or "Sunday". I can't figure out how to do this and I've spent the past thirty minutes searching discussions and google so I apologize if the answer is out there and I've just been searching for it the wrong way.
I've tried:
AVERAGEIFS(LIFE LOG::B26:W26,LIFE LOG::B29:W29,"=Friday",LIFE LOG::B29:W29,"=Saturday",LIFE LOG::B29:W29,"=Sunday")
... but I realized that that only includes a cell in the average if ALL those conditions are met for each cell compared, which is of course impossible.
I've also tried:
AVERAGEIF(LIFE LOG::B29:W29,"=Friday OR =Saturday OR =Sunday",LIFE LOG::B26:W26)
... but that doesn't work.
I've also tried using the OR(...) function in the condition argument but that only works with boolean values, not strings.
Is there a way to achieve what I'm hoping to achieve (ideally, without creating a new row with number values or checkboxes to reflect whether whether the column is a "Friday", "Saturday", or "Sunday" column or something like that -- I'm trying to avoid further complexity as this table is fairly large and complex already)?
Thanks for any help with this!
MacBook Pro with Retina display, macOS Sierra (10.12.2), 2016 MacBook Pro 15" with touch bar