Help to count data
We have lot of tasks completed on different months on that how to calculate number of tasks completed on specific month for example on Month July 2023 with a condition that value shows Current=YES.
Best Answer
-
Try this:
=COUNTIFS(Current2:Current10, "Yes", Date2:Date10, AND(YEAR(@cell) = 2023, MONTH(@cell) = 7))
You will have to set your ranges to be applicable with your data but it should work otherwise.
Answers
-
Try this:
=COUNTIFS(Current2:Current10, "Yes", Date2:Date10, AND(YEAR(@cell) = 2023, MONTH(@cell) = 7))
You will have to set your ranges to be applicable with your data but it should work otherwise.
-
@SJM1609 Thanks! Is there any way to calculate it dynamically without specifying Year & Month on formula? means anyway to calculate by using current date on formula and calculating the values.
-
Hi @Hariharan ,
Try this:
=COUNTIFS(Current1:Current9, "Yes", Date1:Date9, IF(ISDATE(@cell), MONTH(@cell)) = MONTH(TODAY()))
Again, you will have to set your ranges to be applicable with your data but it should work otherwise.
Feedback is appreciated! :)
Help Article Resources
Categories
Check out the Formula Handbook template!