+ Reply to Thread
Results 1 to 5 of 5

Dynamic Index/Match formula based on drop down and check boxes

  1. #1
    Registered User
    Join Date
    03-08-2019
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    57

    Exclamation Dynamic Index/Match formula based on drop down and check boxes

    Hi,

    I am struggling with a formula that I believe is actually somewhat simple. I have enclosed a sample workbook for a more detailed explanation.

    Basically, I have a combo box that controls which of 5 check boxes that are either shown or hidden, and how the visible boxes are labeled, based on a VBA.

    Example.png

    I am looking for a formula that - based on the chosen company and the chosen check box (only 1 can be chosen) - can return the name of the chosen group. That is, the formula must recognize which of the 5 check boxes that is chosen, and then combine it with the company name to lookup the group name in a range further down the sheet.

    Any help is very appreciated. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Dynamic Index/Match formula based on drop down and check boxes

    If I'm understanding your goal correctly, then try the following in I9:

    =IFERROR(INDEX(Q26:Q37,MATCH(INDEX(P19:P23,I7),P26:P37,0)+MATCH(TRUE,E7:E11,0)-1),"All unchecked")

    Hopefully that does the trick?
    If your problem has been solved, please use "Thread Tools" to mark the thread as "Solved".

    If you're grateful for this site's existence and would like to contribute to the community, please consider posting something hilarious in our joke thread:
    https://www.excelforum.com/the-water...ke-thread.html

  3. #3
    Registered User
    Join Date
    03-08-2019
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    57

    Re: Dynamic Index/Match formula based on drop down and check boxes

    Thanks CAntosh, worked perfectly!

    Appreciate the help.

  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,719

    Re: Dynamic Index/Match formula based on drop down and check boxes

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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.

  5. #5
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Dynamic Index/Match formula based on drop down and check boxes

    Glad to help, good luck!

+ 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. Dynamic Cascading Drop-Downs Using INDEX & MATCH
    By GeneralDisarray in forum Excel Tips
    Replies: 4
    Last Post: 09-06-2017, 11:13 AM
  2. [SOLVED] create a dynamic table based on selected check boxes
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-13-2015, 07:28 AM
  3. Replies: 6
    Last Post: 09-09-2014, 02:25 PM
  4. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  5. [SOLVED] Control numerical index based on check boxes
    By Excel white-belt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 11:04 AM
  6. Automatic setting of check boxes based on other check boxes?
    By ArchiveMike in forum Excel General
    Replies: 5
    Last Post: 07-31-2012, 09:43 AM
  7. INDEX/MATCH formula in VBA to populate text boxes
    By Amber_D_Laws in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-17-2006, 12:19 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