Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Finding if a date falls in a range in a referenced sheet

✭✭
edited 03/04/25 in Formulas and Functions

I am working in a separate sheet for calculating metrics. I want to count the number of items in a referenced date range in another sheet that meet certain year criteria. For example, I want to find the dates in the referenced range (a row defined as type DATE) that fall in calendar year 2023.

I am using:

=COUNTIF({P&M Requests Date Requested}, YEAR(@row)=2023)

I get an #UNPARSEABLE error.

P&M Requests Date Requested is a date column in another sheet. YEAR will not accept a range as an argument, so I am trying to grab each row (containing a full date) where the year is 2023.

Is there a way to do this that I am missing? I have been playing with variations on this formula for hours.

Thanks ahead of time for any help.

Emily

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions