+ Reply to Thread
Results 1 to 6 of 6

Create Formula to show for filtered tick boxes

Hybrid View

  1. #1
    Registered User
    Join Date
    03-03-2025
    Location
    England
    MS-Off Ver
    Desktop and 365
    Posts
    3

    Create Formula to show for filtered tick boxes

    Hi,

    Very new to this so apologies if wrong thread or format.

    I have a list of data that is currently done by a tick box column. I have worked out how to calculate the percentage of ticks or crosses with COUNTIF, but what i want to do is make this dynamic and change dependent on the filtering of the column.

    Can anyone please help, and be kind.... ive been thrown in the deep end with running reports for a new role :D

    Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,494

    Re: Create Formula to show for filtered tick boxes

    Courtesy of ChatGPT:

    Formula: copy to clipboard
    =SUMPRODUCT((A1:A100="x")*SUBTOTAL(103, OFFSET(A1:A100, ROW(A1:A100)-ROW(A1), 0, 1)))
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-03-2025
    Location
    England
    MS-Off Ver
    Desktop and 365
    Posts
    3

    Re: Create Formula to show for filtered tick boxes

    It's not working with that -

    I have the tick boxes from K2-K335 with a COUNTIF total at the bottom - I have other columns that can filter, and am wanting the COUNTIF total to change dependent on the filter of TRUE or FALSE of the tick boxes

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,494

    Re: Create Formula to show for filtered tick boxes

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.

  5. #5
    Registered User
    Join Date
    03-03-2025
    Location
    England
    MS-Off Ver
    Desktop and 365
    Posts
    3

    Re: Create Formula to show for filtered tick boxes

    FIXED IT!! after way too long i have found that the solution is

    =IFERROR(SUMPRODUCT(SUBTOTAL(103, OFFSET(K2:K335, ROW(K2:K335)-ROW(K2), 0, 1)), --(K2:K335=TRUE)) / SUMPRODUCT(SUBTOTAL(103, OFFSET(K2:K335, ROW(K2:K335)-ROW(K2), 0, 1))), 0)

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,494

    Re: Create Formula to show for filtered tick boxes

    Glad you have a solution.


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

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon (Next to Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Tick boxes to create a RAG rating
    By burnsie in forum Excel General
    Replies: 4
    Last Post: 03-31-2022, 10:24 AM
  2. Using tick boxes to create a "quote" on another worksheet
    By Kar8n in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-07-2015, 08:41 AM
  3. Excel VBA to generate check boxes and restrict user to tick on the 3 boxes in a row
    By rhodalynn.rona in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-06-2012, 05:55 AM
  4. Replies: 2
    Last Post: 02-02-2012, 07:58 AM
  5. Excel 2007 : one tick box selects multiple tick boxes
    By brentroberts in forum Excel General
    Replies: 2
    Last Post: 12-31-2011, 09:29 PM
  6. How to add tick boxes
    By djt in forum Excel General
    Replies: 6
    Last Post: 08-26-2008, 06:37 PM
  7. Tick Boxes
    By djfatboyfats in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-04-2008, 08:31 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