As one of the pieces of logic in a formula I'm attempting, I want a count within a range (column) if the date (formatted as MM/DD/YY) falls within the year 2017. What do I need to change in the formula as shown in my screen shot?
Hi Tyler,
=COUNTIF({NEW ACE MASTER LIST Range 9}, YEAR(@cell) = 2017) will get you out of trouble.
Thanks for the reply, Chris. I've seen that function before in my research, but I still get the #UNPARSEABLE error. See my updated screenshot below according to your suggesting to see if I missed any spaces, commas, etc.
Hi Tyler. My pleasure.
Your formula looks correct. Could you please confirm that your source range inside the { } is definitely a date?
Yes, I've double-checked that the data range is for sure a date. Not only that, I made sure there are dates within 2017 for the formula to count. I'm stumped. (The error is actually #INVALID DATA TYPE. In my previous comment, I said it was #UNSPARSEABLE.)
Oh OK, that changes things. Can you also confirm that the column your formula lives in is also a date format?
I tried your suggestion of changing the formula column to a DATE type of column, but the error is #INVALID REF now (not sure why the error type keeps changing).
The invalid Ref error states that the existing range doesn't exist. I would double check your reference to the other sheet, and even recreate it to see if that solves your problem.
https://help.smartsheet.com/articles/2476176-formula-error-messages#invalidref
Hi all, and thanks in advance! I wanted to know if there was any way to create "padding" in Smartsheet. Basically I have account numbers, and a handful are still 2-digit, so they appear as TDL-17, TDL-67, etc. Most of the accounts are 3-digit numbers like TDL-180. I want something that will recognize whether it is 2 or 3…
I'm wondering if anyone has worked out a dynamic formula to return the date of the 'next' Thursday of the month. I have a worksheet where I need to send out a reminder to a contacts in a contact column in the worksheet each Thursday of the current month if a criteria has not been met. When criteria has been met, then…
Hello, I have the formula to check a box for line items with the current month. =IF(AND(YEAR(Date@row ) = YEAR(TODAY()), MONTH(Date@row ) = MONTH(TODAY())), 1, 0) Trying to set up a report for all items with the previous month (i.e. 1 month prior to current). How can I modify to check the box?