Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Massivemike
 
Posts: n/a
Default Select player from list and get his position in next column

Hi
I am trying to make excell put a player position next to his name when i
select him from a drop down list, I have 30 players and 4 positions, i can
do it with the "IF" but it only lets me do one player. Please Help
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You can use a VLookup formula to return the player position from a list
of players and their positions. There's information on VLookup in
Excel's Help, and he

http://www.contextures.com/xlFunctions02.html

Massivemike wrote:
Hi
I am trying to make excell put a player position next to his name when i
select him from a drop down list, I have 30 players and 4 positions, i can
do it with the "IF" but it only lets me do one player. Please Help



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

It sounds like you could build a table on a different worksheet with those 30
player names in column A and each associated position in column B.

Then you could use a =vlookup() formula to return the position.

Say your name goes in A1, then you could use this in B1:
=if(a1="","",vlookup(a1,sheet2!a:b,2,false))

If you want to read more about =vlookup(), visit Debra Dalgleish's site:
http://www.contextures.com/xlFunctions02.html

You may even want to use data|validation to show the names:
http://www.contextures.com/xlDataVal01.html
(also from Debra's site)

Massivemike wrote:

Hi
I am trying to make excell put a player position next to his name when i
select him from a drop down list, I have 30 players and 4 positions, i can
do it with the "IF" but it only lets me do one player. Please Help


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"