I need to average cells which are labeled in a different column. Combining the averageifs function I think does not work with "or" criteria, so I tried this [but it's not working].
Is there a way to do this?
My effort:
=AVERAGE(IF(OR(DG2:DG1364=1212)+(DG2:DG1364=1222)),DJ2:DJ1364)
So I need to average column DJ, only for the rows whose DG column values equal 1212 or 1222. I need to use "or" not "and".
Thank you...!
Is there a way to do this?
My effort:
=AVERAGE(IF(OR(DG2:DG1364=1212)+(DG2:DG1364=1222)),DJ2:DJ1364)
So I need to average column DJ, only for the rows whose DG column values equal 1212 or 1222. I need to use "or" not "and".
Thank you...!