+ Reply to Thread
Results 1 to 7 of 7

How do I return a value from another table that appears as a Drop down List

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Lebanon
    MS-Off Ver
    Excel 2010
    Posts
    29

    How do I return a value from another table that appears as a Drop down List

    I Need A formulla to look for If cell A4 contailns ( Buy USD ) then show me a drop down list
    with all names that are related to buy usd from the sheet ( Names )
    formull must look into sheet ( names ) ( coulimn E) and check all buy usd in column E and set
    their names in a drop down list so I can choose.

    pls check attached excell file for all details and thanks a lot for your help in advance,
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: How do I return a value from another table that appears as a Drop down List

    Set up named ranges for each list of names that Buy USD; Sell USD; Buy EUR etc.
    The column headers for the lists are placed using advanced filter > unique values only > copy and paste values transpose.
    The lists are filled using: =IFERROR(INDEX($C$3:$C$33,AGGREGATE(15,6,(ROW(C$3:C$33)-ROW(C$2))/($E$3:$E$33=I$2),ROWS(C$1:C1))),"")
    The source for the data validation list is then: =INDIRECT(SUBSTITUTE(A4," ","_"))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    03-26-2013
    Location
    Lebanon
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: How do I return a value from another table that appears as a Drop down List

    works exactly as needed, Thanks a lot dear you for help and nice formulla results. thumbs up

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: How do I return a value from another table that appears as a Drop down List

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

  5. #5
    Registered User
    Join Date
    03-26-2013
    Location
    Lebanon
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: How do I return a value from another table that appears as a Drop down List

    hello friend, i have a small issue on this file.
    can you pls open the file and fix it for me
    details needed to be fixed are set in red
    file name Names.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-26-2013
    Location
    Lebanon
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: How do I return a value from another table that appears as a Drop down List

    Sheet Names is working good
    problem on sheet Achat Column H the drop down list that is set to red
    its not working proper;ly

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: How do I return a value from another table that appears as a Drop down List

    The formula for the 'source' of the data validation drop downs is changed to read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that the formula references an inserted range I1:AV1 on the 'Names' sheet which is populated using: =SUMPRODUCT(--(I4:I501<>""))
    The buy_usd, buy_eur and buy_str columns on the 'Name' sheet have been put in as 'named ranges'. Beginning at 13:21 this video shows how to name ranges more quickly, although I imagine 37 columns with 500 cells per column may take a while.
    Let us know if you have any questions.
    Attached Files Attached Files

+ 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. How do I return a value from another table that appears as a list item in Power Query?
    By sexcelhelp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2019, 10:55 AM
  2. [SOLVED] If value appears twice in list, return different value
    By Anarchus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2017, 11:49 PM
  3. [SOLVED] How to use drop down list to return entire table of data?
    By KTBFFH in forum Excel General
    Replies: 10
    Last Post: 06-26-2015, 05:55 PM
  4. Replies: 1
    Last Post: 02-20-2014, 09:16 AM
  5. [SOLVED] If text appears in a table next to a date, return a value
    By dancing-shadow in forum Excel General
    Replies: 3
    Last Post: 11-27-2013, 09:23 AM
  6. Replies: 2
    Last Post: 06-21-2013, 10:04 AM
  7. Replies: 5
    Last Post: 04-23-2013, 05:11 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