+ Reply to Thread
Results 1 to 5 of 5

Drop down list to return row number?

  1. #1
    Registered User
    Join Date
    06-18-2004
    Posts
    5

    Drop down list to return row number?

    Hi,

    i am just trying some things out and looking at the dynamic charts. At the moment the user has to select cell H3 and type in a number to select the player which updates the graph.

    What i'd rather have is a drop down list which has all the players names in it and when the use selects this it then updates the graph. I'm guessing i'd have to have a formula in another cell that checks the name in the list and then goes back to the source data and then calls the row number which can then be used to update the graph. Any ideas on how to do this would be greatly appreciated - pref not vba methods!

    I have attached the worksheet as well.

    Thanks
    Attached Files Attached Files

  2. #2
    Ardus Petus
    Guest

    Re: Drop down list to return row number?

    Here is your enhanced WB: http://cjoint.com/?fwr2OOAI7k

    I Added a Data>Validation>List to pick up player
    and modified original $H$3 with a MATCH formula to get index in
    players'list.

    HTH
    --
    AP

    "infojmac" <[email protected]> a écrit
    dans le message de news:
    [email protected]...
    >
    > Hi,
    >
    > i am just trying some things out and looking at the dynamic charts. At
    > the moment the user has to select cell H3 and type in a number to
    > select the player which updates the graph.
    >
    > What i'd rather have is a drop down list which has all the players
    > names in it and when the use selects this it then updates the graph.
    > I'm guessing i'd have to have a formula in another cell that checks the
    > name in the list and then goes back to the source data and then calls
    > the row number which can then be used to update the graph. Any ideas on
    > how to do this would be greatly appreciated - pref not vba methods!
    >
    > I have attached the worksheet as well.
    >
    > Thanks
    >
    >
    > +-------------------------------------------------------------------+
    > |Filename: test.zip |
    > |Download: http://www.excelforum.com/attachment.php?postid=4802 |
    > +-------------------------------------------------------------------+
    >
    > --
    > infojmac
    > ------------------------------------------------------------------------
    > infojmac's Profile:
    > http://www.excelforum.com/member.php...o&userid=10787
    > View this thread: http://www.excelforum.com/showthread...hreadid=544336
    >




  3. #3
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    Well It depends, for what you want the attached should suffice, It uses data validation for the drop down list of player name and then just a vlookup with an exact match for their scores

    Regards

    Dav
    Attached Files Attached Files

  4. #4
    Debra Dalgleish
    Guest

    Re: Drop down list to return row number?

    Jon Peltier has interactive charting examples:

    http://www.peltiertech.com/Excel/Cha...ByControl.html

    infojmac wrote:
    > Hi,
    >
    > i am just trying some things out and looking at the dynamic charts. At
    > the moment the user has to select cell H3 and type in a number to
    > select the player which updates the graph.
    >
    > What i'd rather have is a drop down list which has all the players
    > names in it and when the use selects this it then updates the graph.
    > I'm guessing i'd have to have a formula in another cell that checks the
    > name in the list and then goes back to the source data and then calls
    > the row number which can then be used to update the graph. Any ideas on
    > how to do this would be greatly appreciated - pref not vba methods!
    >
    > I have attached the worksheet as well.
    >
    > Thanks
    >
    >
    > +-------------------------------------------------------------------+
    > |Filename: test.zip |
    > |Download: http://www.excelforum.com/attachment.php?postid=4802 |
    > +-------------------------------------------------------------------+
    >



    --
    Debra Dalgleish
    Contextures
    http://www.contextures.com/tiptech.html


  5. #5
    Registered User
    Join Date
    06-18-2004
    Posts
    5
    Thanks for the help - just recreated it myself on a few other bits of data - very handy.

    Thanks

+ 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