+ Reply to Thread
Results 1 to 7 of 7

Database Solution Help

  1. #1
    Registered User
    Join Date
    06-21-2014
    Location
    Durham, NC
    MS-Off Ver
    2010
    Posts
    4

    Database Solution Help

    Hoping that someone can help me with a database solution.

    I am managing a large amount of data for a summer camp. I have a primary sheet with all data (names, ages, heights, camper group names, camper team names, etc). I then have secondary sheets where I have copied say camper names and teams for easy printing/sorting. I do a lot of different sorting of the data to look up different things for parents, campers, etc. I am hoping that there is a way I can conditionally format the sheets copied from the main dataset to automatically update when I update the main data set. For example, if a camper changes groups, I would love to be able to update it on the main sheet and have it automatically update on all subsequent sheets.

    Any advice would be greatly appreciated.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Database Solution Help

    Hi and welcome to the forum

    I think you need to use a VLOOKUP or INDEX/MATCH for this (Conditional Formatting is a means of making cells change their font and appearance)

    If you can upload a (cleaned) workbook with a small sample of what you have and what you want, Im sure we can come up with something for you
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-21-2014
    Location
    Durham, NC
    MS-Off Ver
    2010
    Posts
    4

    Re: Database Solution Help

    Here is a very small sampling of data. There are 4 tabs in this example, and knowing that all the data might be sorted differently on each tab it would be extremely helpful for tabs 2-4 to change as data in tab 1 changes.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-21-2014
    Location
    Durham, NC
    MS-Off Ver
    2010
    Posts
    4

    Re: Database Solution Help

    Any help would be greatly appreciated!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Database Solution Help

    Ok I see what you mean.

    I could probably put something together for you, but here is another option that will eliminate the need for the other sheets.

    Make sure all the cells in your header row have something in them (you can put a space in cells you neefd to remain "empty"
    Then on the Home tab/Editing (at the end), click Sort & Filter/Filter
    Ypu should see a small drop-down arrow at the top of each column.

    You can use this as a filter to only show certain categories, or you can use it to sort all columns based on the 1 you select.

    Save your file and play around with it, see what you think?

  6. #6
    Registered User
    Join Date
    06-21-2014
    Location
    Durham, NC
    MS-Off Ver
    2010
    Posts
    4

    Re: Database Solution Help

    So there is no way to set it up where data from sheet one is edited simultaneously with data on other sheets without the data necessarily being in the same row? With the quantity of data it just seems like it would be a lot of filtering to do it the way you suggested and is easier visually to keep things in separate sheets. It just becomes a pain to change someones team on the original sheet and then have to make sure that you also change it on a subsequent team rosters sheet.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Database Solution Help

    The only other way I can think of is to use VBA. To do this (once-off)...
    1st, in Teams A2, copy this down and across as far as you need...
    =IF(Master!A6="","",Master!A6)
    Then copy that to the other 2 sheets - adjust the references so theuy match the columns you want

    Now....
    click on the Master Sheet (anywhere)
    click the macro (VBA) recorder - it's the small button directly below the Master tab, and to the right of Ready
    It will ask you for a Name, call it something like TeamSort
    click on Teams, click A1 (Just so you know exactly where the cursor is)
    Perform the sort as you normally would, when finished, click the record button again

    Repeat this for each sheet.
    On Teams sheet, we now need to ctrate a macro button to do the sorting for you.
    On the ribbon, click the Insert tab/click Shapes and select a shape (square is good)
    drag it to thwe size you want, right-click abd click Assign macro
    click the relevant macro name
    Right-click again, select Edit Text, editr as needed
    Repeat for the other sheets

+ 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] Remove one smaller database from larger, master customer database
    By BigJonF in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2013, 02:05 AM
  2. Is 'ranking by' a VBA solution or a manual solution?
    By mtw2018 in forum Excel General
    Replies: 2
    Last Post: 04-10-2012, 01:47 PM
  3. VBA solution required to create a database
    By daisydiane in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2009, 08:53 AM
  4. Replies: 5
    Last Post: 06-11-2006, 04:45 PM
  5. Replies: 2
    Last Post: 03-08-2006, 04:45 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