I am trying to count incoming referrals based on the date of the referral. I have this so far, but it isn't correct yet:
=COUNTIF({OBOT Referrals Date Referral Received}, (@cell >= DATE(2023, 1, 1)), (@cell < DATE(2023, 6, 1)))
@Courtney Coules
Try changing the function to COUNTIFS and throwing an AND function in there:
=COUNTIFS({OBOT Referrals Date Referral Received}, AND(@cell >= DATE(2023, 1, 1), @cell < DATE(2023, 6, 1)))
Alternatively, you could use COUNTIFS, and use the range twice, once for each date criteria:
=COUNTIFS({OBOT Referrals Date Referral Received}, @cell >= DATE(2023, 1, 1), {OBOT Referrals Date Referral Received}, @cell < DATE(2023, 6, 1)))
(When structured this second way, the AND is built into the COUNTIFS function, because all the criteria have to be true in order for the row to be counted.)
Thank you so much!
You're quite welcome! If you could mark my answer as accepted, that would be great!
ref must be one of: categoryID, siteSectionID, category, category/categoryID, category/name, category/description, category/url, category/allowedDiscussionTypes, locale, siteSection, siteSection/basePath, siteSection/contentLocale, siteSection/sectionGroup, siteSection/sectionID, siteSection/name, siteSection/description, siteSection/apps, siteSection/attributes, layoutViewType, discussionID, commentID, page, latest, sort, sortType, lookupSort, discussion, discussion/name, tags, breadcrumbs, discussionApiParams, serverDraftID, serverDraft.