Countif formula to return value for a month
Hi
How can I count how many times a certain text is present from reports coming in from different dates?
I have to count how many times the text is there monthly. ( the text is a site name visited )
Thank you for your help
Comments
-
I just capture the name
=COUNTIF(Column1:Column1, "Text Capture")
If you are trying to capture text and capture it based on other criteria .. use the COUNTIFS
Is that what your thinking? If it isn't date dependant then you can just grab it by the text.
If I were trying to count how many times Blue was in a column
Name | Colors | Date
A Blue 01-01-2019
B Red 02-02-2019
C Blue 02-01-2019
=COUNTIF(Colors:Colors, "Blue")
I hope that was right I'm multitasking.
-
You would need to use the COUNTIFS to be able to include both the specific text and the date criteria.
=COUNTIFS([Site Name Column]:[Site Name Column], "Site Name", [Date Column]:[Date Column], AND(@cell >= DATE(yyyy, mm, dd), @cell <= DATE(yyyy, mm, dd)))
Where the first DATE function is the starting date of your date range, and the second DATE function is the ending date of the range.
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!