+ Reply to Thread
Results 1 to 4 of 4

Macro for selecting a value from a dropdown and displaying results

  1. #1
    Registered User
    Join Date
    05-05-2011
    Location
    germany
    MS-Off Ver
    Excel 2003
    Posts
    35

    Macro for selecting a value from a dropdown and displaying results

    Hello

    Im not sure how to write a macro for the following

    I have two sheets. One of the sheet (Sheet 1)has some values manually entered in a table format. Another sheet (Sheet 2)has a drop down list with a table to get values automatically populated from Sheet 1. Based on each option of the drop down chosen from Sheet2, the corresponding value available in sheet 1 should get displayed in a table in Sheet 2. I have attached the excel .

    Appreciate ur help!

    Thanks
    Attached Files Attached Files
    Last edited by shilloh; 06-28-2011 at 07:09 AM.

  2. #2
    Registered User
    Join Date
    05-13-2011
    Location
    New Zealander in London
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Macro for selecting a value from a dropdown and displaying results

    A simple VLOOKUP will solve this for you (see attached)
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-05-2011
    Location
    germany
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Macro for selecting a value from a dropdown and displaying results

    Hi

    Thanks for ur quick response. Yes this helps me, however my actual sheet has a huge table with so many values in it . Finding the column, row corresponding to each value appears to be difficult. Is there any alternate?

    I have attached a sample of the table for which i need help.

    Thanks for ur help

    Shilloh
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-05-2011
    Location
    germany
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Macro for selecting a value from a dropdown and displaying results

    Hi

    It works fine, the problem i encoutered was with the sheet name.

    Thanks
    Shilloh

+ 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