#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Formula Help

Hello,
i have set up a fantasy team within my football club depending on total
goals scored, the table at the top of my design shows all the players and the
goals scored. below is the fantasy team that player 1 made. is there a way of
returning the scores in c16 depending on the player that is listed in b16,
which refers to the main table scores, so it can quickly caculate that total.
thanks, lyndon.

Here is the file:

http://rapidshare.com/files/25304667...Team.xlsx.html
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help

Hi
Try this in C16
=VLOOKUP(B16,$B$2:$C$12,2,FALSE)

to trap for error, this will return blanks if the name is not found in the
list
on the top table of your example
=IFERROR(VLOOKUP(B16,$B$2:$C$12,2,FALSE),"")


--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"dc04wrightl" wrote:

Hello,
i have set up a fantasy team within my football club depending on total
goals scored, the table at the top of my design shows all the players and the
goals scored. below is the fantasy team that player 1 made. is there a way of
returning the scores in c16 depending on the player that is listed in b16,
which refers to the main table scores, so it can quickly caculate that total.
thanks, lyndon.

Here is the file:

http://rapidshare.com/files/25304667...Team.xlsx.html

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Formula Help

Hi,
try
=sumproduct(--(B16=B2:B15),C2:C15)

"dc04wrightl" wrote:

Hello,
i have set up a fantasy team within my football club depending on total
goals scored, the table at the top of my design shows all the players and the
goals scored. below is the fantasy team that player 1 made. is there a way of
returning the scores in c16 depending on the player that is listed in b16,
which refers to the main table scores, so it can quickly caculate that total.
thanks, lyndon.

Here is the file:

http://rapidshare.com/files/25304667...Team.xlsx.html

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Formula Help

Thank you both for your replies, both work :)

"Eduardo" wrote:

Hi,
try
=sumproduct(--(B16=B2:B15),C2:C15)

"dc04wrightl" wrote:

Hello,
i have set up a fantasy team within my football club depending on total
goals scored, the table at the top of my design shows all the players and the
goals scored. below is the fantasy team that player 1 made. is there a way of
returning the scores in c16 depending on the player that is listed in b16,
which refers to the main table scores, so it can quickly caculate that total.
thanks, lyndon.

Here is the file:

http://rapidshare.com/files/25304667...Team.xlsx.html

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 04:43 AM.

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"