+ Reply to Thread
Results 1 to 8 of 8

Single answer from variable drop down menus

  1. #1
    Forum Contributor
    Join Date
    08-25-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    125

    Single answer from variable drop down menus

    Hi Eveyone

    Please help me with the formula I need for this table.
    I have tried VLOOKUP but cannot do it with the multiple variables I have .

    I have attached a small spreadsheet to show what i require .

    In cell A8 and A9 I have created a dropdown menus .
    Once those cells have been populated i need an answer in cell F8 .
    I have indicated in red what the answer would be in my example .

    Seems simple , but I do not know how to do it .

    Thanks in advance
    Onesock
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,606

    Re: Single answer from variable drop down menus

    Use index/match combination instead of VLOOKUP, like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    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
    79,339

    Re: Single answer from variable drop down menus

    Either this:

    =SUMPRODUCT((COLOUR=A8)*(LETTER=B8),$B$3:$E$5)

    or this:

    =INDEX($B$3:$E$5,MATCH(A8,COLOUR,0),MATCH(B8,LETTER,0))
    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.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Single answer from variable drop down menus

    Or

    =VLOOKUP(A8,A3:E5,MATCH(B8,A1:E1,),)

    =HLOOKUP(B8,B1:E5,MATCH(A8,A1:A5,),)

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,295

    Re: Single answer from variable drop down menus

    =index(b2:d4,match(a7,a2:a4,1),match(b7,b1:e1,1))
    Attached Files Attached Files

  6. #6
    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
    79,339

    Re: Single answer from variable drop down menus

    Or, for anyone with the latest 365:

    =XLOOKUP(A8,COLOUR,XLOOKUP(B8,LETTER,$B$3:$E$5))

  7. #7
    Forum Contributor
    Join Date
    08-25-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Single answer from variable drop down menus

    Hi Bo_Ry

    Thank you for this .
    I understand the concept now , and it seems to be working fine .

    THANKS !!!

  8. #8
    Forum Contributor
    Join Date
    08-25-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Single answer from variable drop down menus

    Hi Everyone

    Thanks for all the responses .
    Its all working fine

    THANKS !!!

+ 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: 3
    Last Post: 06-14-2016, 12:43 PM
  2. Drop Down, Single Answer, Auto Populate
    By simple? in forum Excel General
    Replies: 4
    Last Post: 10-11-2015, 05:26 AM
  3. [SOLVED] Getting multiple Dropdown menus to give an answer in a specified cell.
    By Mcullin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2013, 12:41 AM
  4. Creating multiple Drop downs menus that are variable
    By Arnoldtp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2012, 09:20 AM
  5. Replies: 0
    Last Post: 04-05-2011, 03:48 PM
  6. drop down menus
    By michael@camsil in forum Excel General
    Replies: 4
    Last Post: 02-04-2011, 12:22 PM
  7. Replies: 2
    Last Post: 11-22-2008, 11:53 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