+ Reply to Thread
Results 1 to 6 of 6

Count the Occurrences of a value based on a date in adjacent column

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    465

    Count the Occurrences of a value based on a date in adjacent column

    In column A I have dates, in column B I have text.

    I want to lookup/count the amount of times that text shows up in the current calendar year.

    I have a sample attached.

    Thanks for help on this.

    Nick
    Attached Files Attached Files

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Count the Occurrences of a value based on a date in adjacent column

    You can do in a pivot table if that suits.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    465

    Re: Count the Occurrences of a value based on a date in adjacent column

    Thanks kersplash, I need to work it into a single cell formula.

  4. #4
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Count the Occurrences of a value based on a date in adjacent column

    In cell B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For this to work you need to remove the ":" after "Red" in cell A2
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,729

    Re: Count the Occurrences of a value based on a date in adjacent column

    Similar to Geoff's.

    Remove ":"
    Put Today's date in cell C1 [Ctrl + ;]

    Then
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  6. #6
    Registered User
    Join Date
    06-07-2013
    Location
    Kathmandu, Nepal
    MS-Off Ver
    Excel 2019
    Posts
    25

    Re: Count the Occurrences of a value based on a date in adjacent column

    This attachment could be your solution
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 04-01-2016, 03:27 PM
  2. Replies: 3
    Last Post: 12-16-2015, 05:56 PM
  3. Replies: 4
    Last Post: 07-28-2015, 01:33 PM
  4. [SOLVED] Count duplicate occurrences based on another column
    By SHUTTEHFACE in forum Excel General
    Replies: 20
    Last Post: 03-31-2015, 11:59 AM
  5. Count occurrences based on criteria in another column
    By nwapple in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2013, 09:53 PM
  6. Replies: 1
    Last Post: 02-09-2012, 05:13 PM
  7. Replies: 5
    Last Post: 09-18-2011, 10:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1