+ Reply to Thread
Results 1 to 3 of 3

Break out excel file into individual sub files based on checked boxes

  1. #1
    Registered User
    Join Date
    01-13-2018
    Location
    Cork, Ireland
    MS-Off Ver
    2016
    Posts
    1

    Break out excel file into individual sub files based on checked boxes

    Hi,

    First post on this forum so please excuse any poor mannerisms.

    I have a shopping list for 6 housemates (Kevin, Sarah etc.) broken into three categories (Fruit, Meat and Diary).
    Each housemates indicate if they want an item (Banana, Cheese etc.) by checking the boxes.

    Is there a way I can "extract" and save into a new excel file each of the house mates required items?
    So I'd have 6 more files one for each housemate.

    I know for this excise I could just filter and copy,paste but I plan on using this method, if possible, on a much large spreadsheet so copy,paste would be time consuming.

    Kind Regards,
    Dav
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,560

    Re: Break out excel file into individual sub files based on checked boxes

    Hello Alive05 and Welcome to Excel Forum.
    I am going to make a few suggestions.
    1) While it is possible to use check boxes, this tutorial shows how (section heading "How to link a checkbox to a cell"), I think that it would be easier to use an "x".
    2) It will make things easier to put the entire grocery list on one sheet. Sheets have 1,048,576 rows so I think there should be room.
    3) Put each person's shopping list of a separate sheet in the same workbook as opposed to putting them in separate workbooks.
    The attached file gives you an idea of how this would work.
    On the Groceries sheet Kevin's and Sarah's choices are marked.
    On Kevin's sheet (Sarah's sheet is similar) the following array entered formula* get the shopping list items:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *Array entered formulas are confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Let us know if you have any questions.
    Last edited by JeteMc; 01-16-2018 at 10:19 AM. Reason: Correcting error in file as per BSB's post below.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Break out excel file into individual sub files based on checked boxes

    A slight amendment to JetMC's formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB

+ 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. [SOLVED] copy columns from individual files and paste in another excel file
    By kuntalnr in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-04-2015, 10:18 AM
  2. [SOLVED] Break excel 120k lines file into smaller 10k line Microsoft 97 files
    By ejdrouil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2014, 08:06 PM
  3. Break apart excel file based on column A
    By stevetothink in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2013, 02:55 PM
  4. [SOLVED] How to Count Check Boxes and count the total number of boxes checked
    By t04904 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-12-2013, 11:45 AM
  5. Assigning values to total based on check boxes checked
    By AvocadoRivalry in forum Excel General
    Replies: 1
    Last Post: 09-15-2009, 10:11 AM
  6. How do I tally checked check boxes in an Excel spreadsheet?
    By acpharmd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2006, 04:40 PM
  7. In Excel, how to count a list of check boxes some are checked?
    By M. Zak in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-26-2006, 05:55 PM

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