While giving cell range instead of a date value, it's showing error.

  • next time pls share a copy of your sheet – MARK MY ANSWER Jan 11 at 10:31

=AVERAGEIFS(Sheet12!R:R, Sheet12!A:A, N5,
                         Sheet12!B:B, ">="&DATE(2018, 9, 16),
                         Sheet12!B:B, "<="&DATE(2018, 10, 3))


  • can we use cell reference instead of date. for an example in place of q:q,">="&Date(2018, 9, 16), can I write q:q,>=q1 – Gaurav Jan 11 at 11:51
  • @Gaurav yes you can: =AVERAGEIFS(Sheet12!R:R, Sheet12!A:A, N5, Sheet12!B:B, ">="&A1, Sheet12!B:B, "<="&A2) – MARK MY ANSWER Jan 11 at 11:56
  • while applying this formula, it's giving #ERROR! I am applying this formula in a google sheet – Gaurav Jan 11 at 12:01
  • It's done....Thanks for your help – Gaurav Jan 11 at 12:08

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.