+ Reply to Thread
Results 1 to 4 of 4

Using buttons to select different data sets and combine them into a single output

  1. #1
    Registered User
    Join Date
    12-31-2023
    Location
    London, England
    MS-Off Ver
    Excel v2311 Office 365
    Posts
    2

    Using buttons to select different data sets and combine them into a single output

    Hi,

    Excel novice here...

    I want to create a spreadsheet that has food products listed down one side, each with 5 different values allocated to them (calories, fat, salt, sugar, saturates) with a button so I can select whichever ones I want and the TOTAL calories, salt etc appears in a 5 column 'total' table at the side.

    The aim is to see at a glance what the total reference values are for various food combinations.

    TIA

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Using buttons to select different data sets and combine them into a single output

    Welcome to the forum.

    You could probably use the new checkbox feature in 365 (on the Insert ribbon).

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-31-2023
    Location
    London, England
    MS-Off Ver
    Excel v2311 Office 365
    Posts
    2

    Re: Using buttons to select different data sets and combine them into a single output

    Thanks, I'll take a look at the checkboxes and see if I can get something working, if not i will upload it here for troubleshooting.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Using buttons to select different data sets and combine them into a single output

    It depends if you know how to combine lists, but FILTER and SUM should serve you well.

+ 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] Combine multiple csv files and output one single csv file sorted by date
    By sabha in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-02-2023, 02:03 PM
  2. Merging two sets of data into one output
    By dougie8rown in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-03-2021, 10:01 AM
  3. Userforms - Two sets of radio buttons to show one output
    By zaoth in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-20-2014, 01:14 PM
  4. (Urgent) Macro output different for different data sets - Please help
    By supershanks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2013, 07:36 AM
  5. How can I insert multiple sets of option buttons (radio buttons) in Excel 2010?
    By mickwooduclan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2013, 10:01 AM
  6. Replies: 2
    Last Post: 04-15-2013, 08:50 AM
  7. Matching Two sets of Data and Get a New Output Sheet
    By crapmind in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2007, 03:48 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