+ Reply to Thread
Results 1 to 18 of 18

Tracking "Countif"

  1. #1
    Registered User
    Join Date
    07-13-2021
    Location
    Austria
    MS-Off Ver
    16
    Posts
    8

    Tracking "Countif"

    Hi there!
    I was googling, but wasn't able to find anything useful. My question is, if there is a possibility to track the "countif"-function. I have a list of people joining a course on different dates. With the countif-function I can count the participants over a certain timeframe. Is there a possibility to track back the result? So, for example, to click the result of 24 people and get the names highlighted?
    Thanks in advance!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    No... certainly not without VBA, but you can use a formula to copy the matching values to an alternative location. If that is what you want, please refer to the yellow banner (top... there are 2 of them at the moment!!) about sample spreadsheets and attach a sample file, with expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    07-13-2021
    Location
    Austria
    MS-Off Ver
    16
    Posts
    8

    Re: Tracking "Countif"

    Hi!
    I have attached the excel-file. How to copy the matching files (Group 1 monthly results with Participants names) to an alternate location?
    Thanks!
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    1. Put real dates in F5 copied and format as mmm.

    2. Your countifs does not work. Use this in F6, copied across:
    =COUNTIFS($B:$B,">="&F$5,$B:$B,"<="&EOMONTH(F$5,0))

    3. Use this in P6, copied across and down:
    =IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$6:$A$30)/(TEXT($B$6:$B$30,"mmyy")=TEXT(F$5,"mmyy")),ROWS(P$6:P6))),"")
    Attached Files Attached Files

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

    Re: Tracking "Countif"

    Another approach would be to use conditional formatting to highlight the names which contribute to the COUNTIFS result. You wouldn't have a separate list of those names.

    Hope this helps.

    Pete

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    That's a good suggestion. Why didn't I think of it??

  7. #7
    Registered User
    Join Date
    07-13-2021
    Location
    Austria
    MS-Off Ver
    16
    Posts
    8

    Re: Tracking "Countif"

    Thanks! Works for Countif. If I copy P6 across and down in your sheet, it says Participant 1 to 8 in P6 to P13 and so on...

  8. #8
    Registered User
    Join Date
    07-13-2021
    Location
    Austria
    MS-Off Ver
    16
    Posts
    8

    Re: Tracking "Countif"

    Hmmm, I tried conditional formating, but doesn't work out... How does that work?

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    Show me. It was working fine in my file, wasn't it??

  10. #10
    Registered User
    Join Date
    07-13-2021
    Location
    Austria
    MS-Off Ver
    16
    Posts
    8

    Re: Tracking "Countif"

    It was correct, but updating cells leads to that...
    Attached Files Attached Files

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    Open this... It looks OK to me.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    07-13-2021
    Location
    Austria
    MS-Off Ver
    16
    Posts
    8

    Re: Tracking "Countif"

    Quote Originally Posted by Glenn Kennedy View Post
    Open this... It looks OK to me.
    Nope... Changing Participant 1 to Date 01.09.2021 ==> P6 to W13 is updating to Participant 1 to 8 through August/March
    Maybe a Problem Englisch/German?

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    OK. Now you have EXPLAINED what the problem is...

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    Works fine for me. It IS a German thing.

    1. Try:
    =IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$6:$A$30)/(TEXT($B$6:$B$30,"MMYY")=TEXT(F$5,"MMYY")),ROWS(P$6:P6))),"")

    or

    =IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$6:$A$30)/(TEXT($B$6:$B$30,"mmjj")=TEXT(F$5,"mmjj")),ROWS(P$6:P6))),"")

    or

    =IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($A$6:$A$30)/(TEXT($B$6:$B$30,"MMJJ")=TEXT(F$5,"MMJJ")),ROWS(P$6:P6))),"")

  15. #15
    Registered User
    Join Date
    07-13-2021
    Location
    Austria
    MS-Off Ver
    16
    Posts
    8

    Re: Tracking "Countif"

    WORKS! Nice! Thanks!
    Last edited by AliGW; 07-13-2021 at 07:37 AM. Reason: PLEASE don't quote unnecessarily!

  16. #16
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    Which one(s) worked?

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

  17. #17
    Registered User
    Join Date
    07-13-2021
    Location
    Austria
    MS-Off Ver
    16
    Posts
    8

    Re: Tracking "Countif"

    Solution 2 and 3! It was the English-German-translation...
    Thanks!

  18. #18
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Tracking "Countif"

    Thanks for the feedback...

+ 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. countif to return "x" for unique & "xx" for duplicate values in a column
    By Shruder in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2018, 05:31 PM
  2. Formula help =countif(A2:A229, "europe",B2:B229,"Green")
    By aledrob in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2016, 11:09 AM
  3. Replies: 35
    Last Post: 01-13-2016, 02:16 AM
  4. [SOLVED] Why does the "CountIF" function fails on value "Monday Week 1"?
    By kashbg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-02-2015, 03:24 PM
  5. COUNTIF column if cell contains both "text1" and "text2"
    By Quuador in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2012, 07:12 AM
  6. How to write cell address of the match in this , =IF(COUNTIF(A:A,B1)>0,"x","")
    By sureng19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-24-2010, 08:03 PM
  7. IF(COUNTIF(Thursday,"John Doe")>1,"error"," ")
    By jayd77 in forum Excel General
    Replies: 3
    Last Post: 10-26-2005, 09:17 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