COUNTIFS using today's month

Hi

I'm currently trying to count the number of jobs, matching a specific work type when the received date matches today's month. I am referenced another sheet (Job Log) also.

The formular I am currently using is:

=COUNTIFS({Job Log l Job Type}, [Job Type]@row, {Job Log l Office}, "Birmingham", [{Job Log l Date Received}, IFERROR(MONTH(@cell), 0) = MONTH(TODAY()))

but, I'm getting a #UNPARESABLE error.

I have also tried the following formula:

=COUNTIFS({Job Log l Job Type}, [Job Type]@row, {Job Log l Office}, "Birmingham", {Job Log l Date Received}, MONTH(TODAY()))

This is returning a 0 but, for this particular one, I was expecting a 3 to be returned.


TIA

Cheryl

Tags:

Best Answer

  • Leibel S
    Leibel S ✭✭✭✭✭✭
    Answer ✓

    @Cheryl Collins

    Seems like you have an extra brackets (just before {Job Log l Date Received}):

    =COUNTIFS({Job Log l Job Type}, [Job Type]@row, {Job Log l Office}, "Birmingham", [{Job Log l Date Received}, IFERROR(MONTH(@cell), 0) = MONTH(TODAY()))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!