Count by date modified
Hi!
I would like a COUNT of Number of Task Items (these are multi-select) of the number of "lodging" for the past 7 days but I want to go by the date modified.
What am I doing wrong?
My formula isn't working:
=COUNTM(COLLECT(Task:Task, Modifiedby:Modified by, @cell >= TODAY(-7), Modifiedby:Modifiedby, @cell <= TODAY(), HAS(Task:Task, "Lodging", @cell)))
I keep getting Unperseable
Best Answer
-
Excellent, i will be happy to help you any time, Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Answers
-
Hope you are fine, i think the problem is the space you left in "Modified by" in your formula, please try the following:
=COUNTM(COLLECT(Task:Task, Modifiedby:Modifiedby, @cell >= TODAY(-7), Modifiedby:Modifiedby, @cell <= TODAY(), HAS(Task:Task, "Lodging", @cell)))
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
That is still giving me the same error....I wasn't sure if it could "count" from days from the auto-date field? Hopefully so!
-
Please try the following new formula:
=COUNTIFS(Task:Task, CONTAINS("Lodging", @cell), Modifiedby:Modifiedby, AND(@cell >= TODAY(-7), @cell <= TODAY()))
the following screenshot shows the result
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
That worked! THANK YOU!! I can never seem to get these right!
Much appreciated!
-
Excellent, i will be happy to help you any time, Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
Check out the Formula Handbook template!