#INVALID DATA TYPE on SUMIFS formula
Hi.
I am using this formula to count the total $ amount of all values in one column if the date in another column falls within a specific year.
=SUMIFS({Incentive Location Audit Range 15}, {Incentive Location Audit Range 7}, YEAR(@cell)= 2023 )
{Incentive Location Audit Range 15} is a currency formatted column (US$ values) on another sheet.
{Incentive Location Audit Range 7} is a date formatted column (eg: 1-Apr-2023) on another sheet.
I have had success with our yearly sumif counts but not this one.
I have tried using "=SUMIF" and tried swapping the range and criteria around but these return a #INVALID OPERATION or #INVALID DATA TYPE error
Appreciate any advice please.
Best Answer
-
Try adjusting the year criteria to
IFERROR(YEAR(@cell), 0) = 2023
Answers
-
Try adjusting the year criteria to
IFERROR(YEAR(@cell), 0) = 2023
-
Hi,
At first that did not work but then I changed the SUMIFS to SUMIF and, using your recommendation, it has worked perfectly. Thank you :)
Help Article Resources
Categories
Check out the Formula Handbook template!