+ Reply to Thread
Results 1 to 5 of 5

How to fetch a List based on Data Validation

Hybrid View

  1. #1
    Registered User
    Join Date
    08-13-2016
    Location
    NAGPUR
    MS-Off Ver
    MS OFFICE 2007
    Posts
    53

    Lightbulb How to fetch a List based on Data Validation

    Respected Forum.. Good Morning...
    I need your help to fetch a List from Column A & B, based on Data Validation.
    In Column A there is List of Grant Class & In Column B there is List of NON-GRANT Class.
    Now if I selected the List of Grant in Cell C7 the I want the result in D7 to show the List of GRANT Class
    And if if I selected the List of NON-Grant in Cell C8 the I want the result in D8 to show the List of NON-GRANT Class.
    Thanks in Advance..
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,458

    Re: How to fetch a List based on Data Validation

    If you have upgraded to a more recent version, then maybe:
    Formula: copy to clipboard
    =TRANSPOSE(FILTER($A$2:$B$4,$A$1:$B$1=$C7))


    Or:
    Formula: copy to clipboard
    =TRANSPOSE(INDEX($A$2:$B$4,0,MATCH($C7,$A$1:$B$1,0)))
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,998

    Re: How to fetch a List based on Data Validation

    Administrative Note:

    Is your forum profile up-to-date and showing ONLY the oldest Excel PRODUCT that you need this to work for?

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The four most recent Excel products are Excel 2019, Excel 2021, Excel 2024 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,998

    Re: How to fetch a List based on Data Validation

    Or can try below formula, it will work in both either you are using older version or newer version

    Formula: copy to clipboard
    =CHOOSE(MATCH(C7,A1:B1,0),A2:A4,B2:B4)
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,458

    Re: How to fetch a List based on Data Validation

    The OP doesn't show how he wants the output displayed, but it looks as though he may have a list of names. Hence, TRANSPOSE.

    According to our favourite reference site, TRANSPOSE was available in Excel 1997.

    https://bettersolutions.com/excel/fu...-functions.htm

    However, I believe you would need to commit the formula with Ctrl-Shift-Enter (Array Entered) rather than just pressing Enter.

+ 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: 4
    Last Post: 07-20-2023, 07:01 PM
  2. Replies: 5
    Last Post: 06-28-2020, 11:35 AM
  3. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  4. Fetch the data from another sheet based on drop down list
    By sreejeshc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-25-2015, 02:26 AM
  5. Auto-Generate List from reference cells based on data validation list selection
    By BoundCustomDesign in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-13-2014, 11:06 AM
  6. Dependant ActiveX Combo Box list based on Data Validation List
    By spalmer28 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-12-2014, 07:57 AM
  7. Replies: 3
    Last Post: 04-11-2011, 05:52 PM

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