5

I'm trying to put together a COUNTIFS formula for my Sheet Summary that will count the number of items that are shown as Completed in the status column along with what year they were completed in.  Looking at other discussions, I found this:

=COUNTIFS([NVAP Phase/Status]:[NVAP Phase/Status], "Completed", [NVAP Completed Date]:[NVAP Completed Date], YEAR(@cell) = 2019)

This formula produces an "#INVALID DATA TYPE" error message, which is at least a change from the dreaded "#UNPARSEABLE" that I've been getting so far.

Any help on how to put together a formula that might work here?

Functionality
Industry
Department

Comments

Andree_Stara

Hi Raquel,

The formula is correct but it seems like the column type isn't. Have you double-checked that the Date Column is a Date Column Type?

.

More info

#INVALID DATA TYPE

Cause

The formula contains or references an incompatible data type, such as =INT("Hello")

Resolution

Make sure the formula references the correct data type.

.

Can you describe your process in more detail and maybe share the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, [email protected])

Did that work?

Hope that helps!

Have a fantastic day!

Best,

Andrée Starå

Workflow Consultant / CEO @ WORK BOLD

work-bold

If Andree's suggestion is not the issue, then you may also want to check both of your ranges. If that error is present in any cell for either of the ranges, it will be returned by the formula.

Thanks Andree and Paul!  I double checked that the Date column was set to the right column type, and Paul's suggestion that one of the cells in the range needed to be checked was correct - there was one cell in the Date column that was blank, and as soon as I put a date in it the formula worked.  Thanks again!