Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Excel SUMIFS throws #Error for two criterias and =MONTH function

I have the following case in Excel where I have hours based on date and task.
enter image description here

Based on an =UNIQUE() I add all my tasks in I column and in J column I am trying to add the hours based the task and the current month defined on I2.

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

That formula will throw me the #Error but I can’t really understand why.

Thank you for your time!

>Solution :

You may try this in Sheets

=sumifs(D:D,C:C,I4,index(month(A:A)),I$2)
  • the parameter month(A3:A) is not applied across the whole A3:A column_range & is same as writing it as month(A3). You may need to wrap it in an arrayformula / index so that it is applied to the whole column_range. Otherwise you will be prompted with Array arguments to SUMIFS are of different size. error

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading