+ Reply to Thread
Results 1 to 3 of 3

Use check boxes to create a new list

Hybrid View

apye Use check boxes to create a... 02-17-2021, 09:23 AM
torachan Re: Use check boxes to create... 02-17-2021, 10:53 AM
ChemistB Re: Use check boxes to create... 02-17-2021, 11:17 AM
  1. #1
    Registered User
    Join Date
    12-21-2020
    Location
    United States
    MS-Off Ver
    Subscription Version 2011
    Posts
    2

    Use check boxes to create a new list

    Hello,

    I'm wanting to use check boxes in an excel spreadsheet to automatically add the data from the line into a new sheet.

    excel check box.PNG

    As seen in the screen shot, I want to have the data for just those lines with a check mark to be copied and pasted into a new sheet.
    Then I can print the of patient files to audit.

    I'm not sure how I should set up the check boxes or what formulas to use.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,410

    Re: Use check boxes to create a new list

    Labour intensive setting up all those checkboxes
    Use a small macro and 'x' in cell.
    The macro reads the number of rows - no on sheet formula to expand or maintain.
    Either run the macro 'TRANSFER' from the macro-reader or press the green button to place the filtered data on sheet 2.
    torachan.
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Use check boxes to create a new list

    I agree with torachan: Checkboxes are a pain to work with.

    I am supplying a formula solution (using torachan's workbook minus macros).
    In Sheet2 A2 copied across and down
    Formula: copy to clipboard
    =IFERROR(INDEX(Sheet1!A$2:A$9, AGGREGATE(15, 6, (ROW(Sheet1!$A$2:$A$9)-ROW($A$2)+1)/(Sheet1!$F$2:$F$9="x"), ROWS($A$2:$A2))),"")
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. Check boxes that delete other check boxes and change the color of another cell.
    By nhamhamilton in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-29-2014, 02:40 PM
  2. Replies: 0
    Last Post: 06-27-2014, 04:16 PM
  3. I need a code for presence check to check multiple text boxes and combo boxes
    By Lee_wwfc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-24-2013, 01:53 PM
  4. Replies: 1
    Last Post: 07-13-2012, 12:11 PM
  5. Check boxes or List boxes?
    By NickH in forum Excel General
    Replies: 3
    Last Post: 03-17-2008, 02:56 PM
  6. [SOLVED] CREATE AN "IF' STATEMENT FOR CHOICES OF CHECK BOXES
    By pjb in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-08-2006, 04:10 PM
  7. Replies: 1
    Last Post: 02-09-2006, 06:35 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