+ Reply to Thread
Results 1 to 4 of 4

Is it possible to have an Output cell of an ActiveX Combo box link to a named range?

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    Lexington
    MS-Off Ver
    Excel 2010
    Posts
    6

    Is it possible to have an Output cell of an ActiveX Combo box link to a named range?

    =AVERAGEIFS(MFI,DATE,">="&JanStart,DATE,"<="&JanEnd)

    MFI is the named ranged that is referencing a column of data. This works, but I want to be able to change the MFI to a different named ranged.

    So what I am trying to do is using an ActiveX Combo box so I can reference the named ranges that I have set, for example MFI, so each time a user chooses MFI or another named range, it will output to a linked cell (A1). Then the linked cell will be referenced into this forumla.

    =AVERAGEIFS(A1,DATE,">="&JanStart,DATE,"<="&JanEnd)

    Is it possible for A1 to be linked to the named range, so if the user choses MFI in the combo box, it will change all AverageIFS formulas to look at a different named range.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Is it possible to have an Output cell of an ActiveX Combo box link to a named range?

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    10-19-2012
    Location
    Lexington
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Is it possible to have an Output cell of an ActiveX Combo box link to a named range?

    example.xlsx

    Here is the Example sheet. So my goal here is to be able to change the field in the combobox, and when that changes, it pulls the correct data into the months. For example, MFI, IZOD, or FLEX and averages the data for each month.

  4. #4
    Registered User
    Join Date
    10-19-2012
    Location
    Lexington
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Is it possible to have an Output cell of an ActiveX Combo box link to a named range?

    I just figured it out.

    I needed to use the INDIRECT function to reference the cell. It works now

    thanks!

    example.xlsx

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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