+ Reply to Thread
Results 1 to 4 of 4

Dcount that omits hidden cells or cells with specific text i.e. "closed"

  1. #1
    Registered User
    Join Date
    08-08-2023
    Location
    London, England
    MS-Off Ver
    365
    Posts
    2

    Dcount that omits hidden cells or cells with specific text i.e. "closed"

    Hello all,

    I'm new to posting on here but have been using the forum for help for a long time.

    I find myself with an issue that I don't seem to be able to fix. I have a number of DCOUNT functions working in a sheet to summarise entries in a risk register and output how many of each likelihood/impact combination occur (outputted then into a boston square). I have open and closed risks in the register and would like the DCOUNT not to count the closed items when I filter those out i.e. the Boston square only showing the open risks.

    Hopefully I have attached the sheet...
    The data entered on the "Test" tab is summarised in the "BS Sheet" tab using the DCOUNT formula. I would like the output on this tab to ignore, i.e. not count, cells when the status in column B of the "Test Tab" is "Closed".

    Any assistance is greatly welcomed!
    Attached Files Attached Files

  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 2406
    Posts
    44,662

    Re: Dcount that omits hidden cells or cells with specific text i.e. "closed"

    In the file, it's in the yellow shaded cells. One way:

    =LET(A,FILTER(TEST!$C$3:$D$50,TEST!$B$3:$B$50<>"Closed"),SUMPRODUCT((INDEX(A,,1)=K5)*(INDEX(A,,2)=L5)))
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    08-08-2023
    Location
    London, England
    MS-Off Ver
    365
    Posts
    2

    Re: Dcount that omits hidden cells or cells with specific text i.e. "closed"

    Amazing! Thank you for the rapid response. That's exactly what I needed.

  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 2406
    Posts
    44,662

    Re: Dcount that omits hidden cells or cells with specific text i.e. "closed"

    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 click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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: 5
    Last Post: 07-10-2023, 10:51 AM
  2. excel error "formula omits adjacent cells"
    By ML8585 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2019, 12:48 PM
  3. [SOLVED] :confused: Auto pick "specific data" and put it in "specific cells" with date
    By pipsmultan in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 08-27-2014, 03:31 AM
  4. Auto Pick Only "Specific Day & Date" & put in "specific cells" Vertically
    By pipsmultan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2014, 01:24 AM
  5. Replies: 11
    Last Post: 11-21-2013, 01:16 PM
  6. Replies: 4
    Last Post: 02-03-2008, 05:11 PM
  7. Replies: 2
    Last Post: 07-17-2005, 11:05 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