Countifs with Different Named Ranges

Chris Mondeau
Chris Mondeau ✭✭✭✭✭✭
edited 07/10/20 in Formulas and Functions

Hello again all! I've run into an #INCORRECT ARGUMENT SET when trying to reference two ranges in a countifs() function.

I believe the error is because my Project Range only references to one column, and my {Visits} range includes 12 columns (so for functions that take two ranges: the range sizes don’t match for the function).

{Projects} = Project Column on project visits sheet

{Visits} = Visit 1:Visit 12 columns on the project visits sheet

What I was trying to do do was count all visits in the month of May for the year 2019 that were related to the project in that row. Before I added the additional condition of which project I was referencing the formula worked as expected. Then it broke with the project criteria (do to what I presume was the different range size).

Does anyone have any alternate suggestions to help me out?

Thanks!

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!