I'm having a hard time getting this excel averageif formula to work.
I'm trying to combine 2 criteria using an external reference.
The first criteria is that the a range in an external worksheet matches a line in the current worksheet (ie that's the external reference)
If there is a match, the averageif calculates only if the figure from the range is less than 300.
I have this so far (that's not working):
=AVERAGEIFS(Mission!$A$1:$A$122,"="&C4,Mission!$C$1:$C$122,"<300")
I also tried: =AVERAGE(IF((Mission!$A$1:$A$122,"="&C4)+(Mission!$C$1:$C$122"<300"),Mission!$C$1:$C$122))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.