+ Reply to Thread
Results 1 to 9 of 9

Summary Of Text Values By Each Branch Within Filtered Table

  1. #1
    Registered User
    Join Date
    12-10-2019
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Summary Of Text Values By Each Branch Within Filtered Table

    I have a filtered table where I want to summarise how many unique branches have more than 2 people that have completed training:
    Capture.JPG

    A1 Automotive 0
    BCA 1
    Islinglington 3
    Opel 0

    The result here would be 1 branche has 1 or more "Completed" please remember the data is within a filtered table so i would need the figure to change accordingly ?

    Hope this makes sense

  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,984

    Re: Summary Of Text Values By Each Branch Within Filtered Table

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 pictures.

    Please read the yellow banner at the top of the screen. Act on its guidelines and post a SMALL sample sheet.
    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
    12-10-2019
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Re: Summary Of Text Values By Each Branch Within Filtered Table

    Thanks im new in here, I have attched some sample data now...
    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,984

    Re: Summary Of Text Values By Each Branch Within Filtered Table

    Hi. Use this:

    =SUMPRODUCT((FREQUENCY((COUNTIFS($B$2:$B$67,$B$2:$B$67,$C$2:$C$67,$C$2:$C$67)>=2)*MATCH($B$2:$B$67&" ",$B$2:$B$67&" ",0),ROW(INDIRECT("1:10000")))>0)+0)-1
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-10-2019
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Re: Summary Of Text Values By Each Branch Within Filtered Table

    Thanks Glenn, this works great in a normal unfiltered table, however when I apply the filter then it still counts all the hidden data, any ideas ?

  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,984

    Re: Summary Of Text Values By Each Branch Within Filtered Table

    Red face and titters...

    I didn't see the word filtered!! I'll have another look.

  7. #7
    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,984

    Re: Summary Of Text Values By Each Branch Within Filtered Table

    OK. Version 2!!!

    =SUM(IF(FREQUENCY(IF(SUBTOTAL(3,OFFSET($C$2,ROW($B$2:$B$67)-MIN(ROW($B$2:$B$67)),)),IF(COUNTIFS($B$2:$B$67,$B$2:$B$67,$C$2:$C$67,$C$2:$C$67)>=2,MATCH($B$2:$B$67&"",$B$2:$B$67&"",0))),ROW($B$2:$B$67)-MIN(ROW($B$2:$B$67))+1),1))

    It is an array formula. Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-10-2019
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Re: Summary Of Text Values By Each Branch Within Filtered Table

    Glenn, It works !

    Thank you so much...

    Paul

  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,984

    Re: Summary Of Text Values By Each Branch Within Filtered Table

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Create Summary table from dynamic values
    By abhi900 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-12-2019, 03:29 AM
  2. Copy Cell Values from a Filtered Table
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-12-2018, 01:42 PM
  3. Replies: 0
    Last Post: 02-11-2017, 05:56 AM
  4. counting text within a filtered table
    By Justin280090 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-05-2016, 01:10 AM
  5. [SOLVED] summary of stock at only 1 branch
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-21-2016, 02:59 PM
  6. vba code for automating branch wise day wise amount to summary file
    By pranithpm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2014, 04:18 AM
  7. Paste values on filtered table
    By akotronis in forum Excel General
    Replies: 0
    Last Post: 10-01-2012, 06:42 AM

Tags for this Thread

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