+ Reply to Thread
Results 1 to 3 of 3

Count all occurences of text in column D based on the text in column A

  1. #1
    Registered User
    Join Date
    09-28-2020
    Location
    London
    MS-Off Ver
    MS 2010
    Posts
    4

    Count all occurences of text in column D based on the text in column A

    Hi All,

    Pretty new to formula's and excel and I have been trying to get my head around how to do this formula. I am also not sure if this is possible in formulas or whether it would need it's own Macro.

    Every time the word 'Dog' appears in Column A, I need to check that row in column D for a specific text and output the count of all the times that text appears. A basic IF statement like below doesn't suffice but I'm really not smart enough to figure it out!

    =IF(A2:A8 = F1, COUNTIF(D2:D8, "Completed"), "No")

    Any help would be much appreciated!
    Attached Files Attached Files
    Last edited by isthtmyname; 09-28-2020 at 05:00 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Count all occurences of text in column D based on the text in column A

    Try this instead:

    =COUNTIFS(A2:A8, F1, D2:D8, "Completed")

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-28-2020
    Location
    London
    MS-Off Ver
    MS 2010
    Posts
    4

    Re: Count all occurences of text in column D based on the text in column A

    Pete,

    Thank you very much I was overthinking this so much and it was so simple! I feel like such an idiot!

+ 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. Count occurences of text based on a lookup
    By waimea in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 07-02-2018, 05:33 AM
  2. Replies: 20
    Last Post: 08-24-2017, 02:40 AM
  3. Replies: 7
    Last Post: 09-14-2016, 09:02 AM
  4. COUNT UNIQUE OCCURENCES IF - in column A based on value of column B
    By butler1012 in forum Hello..Introduce yourself
    Replies: 3
    Last Post: 07-26-2014, 07:59 AM
  5. [SOLVED] Trying to count text in column based on contents of another column
    By SACOOK33 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-16-2013, 08:54 AM
  6. Count number occurences based on criteria Column
    By SamCrome in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2013, 04:32 PM
  7. [SOLVED] How do I count the # of unique occurences of a text in a column?
    By Rob Kaiser in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2005, 02:05 AM

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