+ Reply to Thread
Results 1 to 7 of 7

How to make Checkbox & Formulas to work like Autofilter?

  1. #1
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    How to make Checkbox & Formulas to work like Autofilter?

    hey guys, how can I use checkboxes & formulas for it to work like an Autofilter? For eg, if I uncheck something, it should act like an Autofilter that unchecks the same thing & the total count should then reduce. Attached a worksheet to illustrate.
    Attached Files Attached Files
    Last edited by benishiryo; 05-01-2012 at 09:40 AM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to make Checkbox & Formulas to work like Autofilter?

    In L4, paste in this formula and copy down

    =IF(I4,G4,"")
    HTH
    Regards, Jeff

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: How to make Checkbox & Formulas to work like Autofilter?

    hi jeffreybrown,

    thks for the response. that'll only work for the checkbox that is unchecked. it does not affect other green highlighted cells. Like "Lawyer" should be 2 & "Sports" should be 4.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to make Checkbox & Formulas to work like Autofilter?

    I reckon this oughta do it.
    Attached Files Attached Files
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: How to make Checkbox & Formulas to work like Autofilter?

    hi JosephP

    that seems awesome. my actual data has 7-8 categories & more than 40 checkboxes, but your formula should be able to fit in nicely. Thanks alot!

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to make Checkbox & Formulas to work like Autofilter?

    Just as a note, this is worth looking at as an Alternative to checkboxes.

  7. #7
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: How to make Checkbox & Formulas to work like Autofilter?

    hey jeffreybrown,

    appreciate the link. well, it does get very troublesome when there's alot of checkboxes to maintain. but it's somethin the bosses want. thanks anyway man.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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