+ Reply to Thread
Results 1 to 2 of 2

Find offset cell vaule based on selected value in a ComboBox

  1. #1
    Registered User
    Join Date
    12-11-2015
    Location
    Norway
    MS-Off Ver
    2013
    Posts
    23

    Find offset cell vaule based on selected value in a ComboBox

    Hi.

    You guys have been most helpful so far on my projcet, so I'm hoping for a posistive answer here as well.

    I have a userform in my main sheet. The userform contains among othertings, a ComboBox. To fill the ComboBox I use the range F2:F100 from another sheet. That range displays the value of every 13th cell in column B: B3, B16 ,B29, B42 and so on. The reason I display the values in row F is to get one coherent list in the ComboBox. The selected value of the ComboBox is transfered into my main sheet when I press my OK button.

    Here comes the tricky part I haven't figuret out yet.

    I also want to transfer the value of the respective cell six cells below the selected value in the ComboBox.

    So, in the ComboBox I select "Example". That value is found in F3, but it is really the value of B16. I then want the value in B22 to be transfered as well.

    How do I find that value?

    I understand that It can be done with some combination of INDEX,MATCH or OFFSET,MATCH, or maybe another lookup funcotin, but my knowledge is to short.

    I have tried, but..
    Please Login or Register  to view this content.

    This is the relevat part of the userform:
    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: Find offset cell vaule based on selected value in a ComboBox

    Try something like this:

    Please Login or Register  to view this content.
    Test2 should get the value that you want.
    If it doesn't work then please attach your sample workbook.

+ 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. Replies: 9
    Last Post: 11-16-2017, 10:15 PM
  2. userform merge vaule of combobox and sheet cell value
    By russkris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2016, 03:47 PM
  3. vba code to filter pivot table column labels based on cell vaule
    By nailler167 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2013, 09:12 PM
  4. automatic copying of data from one tab to another based on certain cell vaule
    By Gwdp_66 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2011, 02:48 AM
  5. Find Last Cell In range, and changing another Cell based on offset text
    By radar_jynx in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-05-2009, 04:52 AM
  6. vba help pls - find min based on a condition and return val of an offset cell
    By Impakt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2005, 08:06 PM
  7. Find Min based on condition & return val of offset cell
    By impakt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2005, 09:12 AM

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