ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Drop down list to return row number? (https://www.excelbanter.com/excel-discussion-misc-queries/89868-drop-down-list-return-row-number.html)

infojmac

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


+-------------------------------------------------------------------+
|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


Ardus Petus

Drop down list to return row number?
 
Here is your enhanced WB: http://cjoint.com/?fwr2OOAI7k

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

HTH
--
AP

"infojmac" a écrit
dans le message de news:
...

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




Dav

Drop down list to return row number?
 

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


+-------------------------------------------------------------------+
|Filename: test.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4803 |
+-------------------------------------------------------------------+

--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=544336


Debra Dalgleish

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


infojmac

Drop down list to return row number?
 

Thanks for the help - just recreated it myself on a few other bits of
data - very handy.

Thanks


--
infojmac
------------------------------------------------------------------------
infojmac's Profile: http://www.excelforum.com/member.php...o&userid=10787
View this thread: http://www.excelforum.com/showthread...hreadid=544336



All times are GMT +1. The time now is 02:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com