Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

IF AND Formula Google Sheets Help

$
0
0

I'm trying to write a formula that can match 2 criteria and if the match is TRUE then it returns the average of the range provided.

Criteria are:

  • User ID
  • Week number.

So for the user id provided, i want it to match it with the week number and then return the average of that week from the whole range.

I tried below, though I may know what is wrong with it I cannot really find a solution for it.

=IF(and('Stockholm perf'!A5:A32=$A3,'Stockholm perf'!C3:AB3=C$2),AVERAGE('Stockholm perf'!C5:I32),"WRONG")


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>