A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#N/A



 
 
Thread Tools Display Modes
  #1  
Old November 5th, 2006, 09:08 PM posted to microsoft.public.excel.worksheet.functions
caldog
external usenet poster
 
Posts: 40
Default #N/A

I am pulling some stat information off the web, into Excel spreadsheet. My
problem is there will be at times that a player will not play, and when this
happens my formula keeps coming up with a #N/A error.

My code is as follows:

=IF([Game Stats-1.xls]Game-1'!$I$6="MY TEAM
ROSTER",IF(ISERROR(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE)),"",(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))/$A$2))


The {[Game Stats-1.xls]Game-1'!$I$6="MY TEAM ROSTER"} is for me to look for
the team name that I’m tracking.

The {ISERROR(VLOOKUP($A$2,[Game Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))}
is for me to see if a particular player has played in this game. I’m looking
for a player number in roster column for that game, if player did not play,
then put down a zero under that game, then see next line.

The {(VLOOKUP($A$2,[Game Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))/$A$2))}
this part of the function will fill in the number for that particular
category if player has played this game.

$A$2 is the player number location on my spreadsheet. $J$8:$J$25 is the
range of player numbers that have played in the game.

Example: Say player number 23 played in the game, what I want my formula to
do is take player number (from my spreadsheet) and divide by player number
(from web information) to come up with one. Likewise if player number 23 did
not play then a zero would be inputted.

Any help in figuring out why I am getting a #N/A formula error every time a
player HAS NOT played would be greatly appreciated.

Steve


  #2  
Old November 6th, 2006, 12:33 AM posted to microsoft.public.excel.worksheet.functions
Sasa Stankovic
external usenet poster
 
Posts: 36
Default #N/A

hy,
maybe you should try with "tolls" - "formula auditing" - "evaluate formula"
this way excel will guide you untill process of calculating your result is
done.
For VLOOKUP error handling you can use ISNA function.

"caldog" wrote in message
...
I am pulling some stat information off the web, into Excel spreadsheet. My
problem is there will be at times that a player will not play, and when
this
happens my formula keeps coming up with a #N/A error.

My code is as follows:

=IF([Game Stats-1.xls]Game-1'!$I$6="MY TEAM
ROSTER",IF(ISERROR(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE)),"",(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))/$A$2))


The {[Game Stats-1.xls]Game-1'!$I$6="MY TEAM ROSTER"} is for me to look
for
the team name that I'm tracking.

The {ISERROR(VLOOKUP($A$2,[Game Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))}
is for me to see if a particular player has played in this game. I'm
looking
for a player number in roster column for that game, if player did not
play,
then put down a zero under that game, then see next line.

The {(VLOOKUP($A$2,[Game Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))/$A$2))}
this part of the function will fill in the number for that particular
category if player has played this game.

$A$2 is the player number location on my spreadsheet. $J$8:$J$25 is the
range of player numbers that have played in the game.

Example: Say player number 23 played in the game, what I want my formula
to
do is take player number (from my spreadsheet) and divide by player number
(from web information) to come up with one. Likewise if player number 23
did
not play then a zero would be inputted.

Any help in figuring out why I am getting a #N/A formula error every time
a
player HAS NOT played would be greatly appreciated.

Steve




  #3  
Old November 6th, 2006, 12:44 AM posted to microsoft.public.excel.worksheet.functions
caldog
external usenet poster
 
Posts: 40
Default #N/A

Sasa before posting to this fourm I tried that option. but it was no help at
all.

I know what the problem is, Vlookup in not able to locate the number, but
what I don't know is how to is create a formula to overcome this problem.

Steve



"Sasa Stankovic" wrote:

hy,
maybe you should try with "tolls" - "formula auditing" - "evaluate formula"
this way excel will guide you untill process of calculating your result is
done.
For VLOOKUP error handling you can use ISNA function.

"caldog" wrote in message
...
I am pulling some stat information off the web, into Excel spreadsheet. My
problem is there will be at times that a player will not play, and when
this
happens my formula keeps coming up with a #N/A error.

My code is as follows:

=IF([Game Stats-1.xls]Game-1'!$I$6="MY TEAM
ROSTER",IF(ISERROR(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE)),"",(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))/$A$2))


The {[Game Stats-1.xls]Game-1'!$I$6="MY TEAM ROSTER"} is for me to look
for
the team name that I'm tracking.

The {ISERROR(VLOOKUP($A$2,[Game Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))}
is for me to see if a particular player has played in this game. I'm
looking
for a player number in roster column for that game, if player did not
play,
then put down a zero under that game, then see next line.

The {(VLOOKUP($A$2,[Game Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))/$A$2))}
this part of the function will fill in the number for that particular
category if player has played this game.

$A$2 is the player number location on my spreadsheet. $J$8:$J$25 is the
range of player numbers that have played in the game.

Example: Say player number 23 played in the game, what I want my formula
to
do is take player number (from my spreadsheet) and divide by player number
(from web information) to come up with one. Likewise if player number 23
did
not play then a zero would be inputted.

Any help in figuring out why I am getting a #N/A formula error every time
a
player HAS NOT played would be greatly appreciated.

Steve





  #4  
Old November 6th, 2006, 02:11 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default #N/A

Instead of:
=IF([Game Stats-1.xls]Game-1'!$I$6="MY TEAM

ROSTER",IF(ISERROR(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE)),"",(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))/$A$2))

With Game Stats-1.xls simultaneously open,

Try this simpler alternative in the destination sheet:
=IF('[Game Stats-1.xls]Game-1'!$I$6="MY TEAM
ROSTER",IF(ISNA(MATCH($A$2,'[Game Stats-1.xls]Game-1'!$J$8:$J$25,0)),"",1),"")

Believe it achieves your underlying intents
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #5  
Old November 6th, 2006, 02:29 AM posted to microsoft.public.excel.worksheet.functions
caldog
external usenet poster
 
Posts: 40
Default #N/A

Max

Thanks so much that works just perfectly.

Steve

"Max" wrote:

Instead of:
=IF([Game Stats-1.xls]Game-1'!$I$6="MY TEAM

ROSTER",IF(ISERROR(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE)),"",(VLOOKUP($A$2,[Game
Stats-1.xls]Game-1'!$J$8:$J$25,1,FALSE))/$A$2))

With Game Stats-1.xls simultaneously open,

Try this simpler alternative in the destination sheet:
=IF('[Game Stats-1.xls]Game-1'!$I$6="MY TEAM
ROSTER",IF(ISNA(MATCH($A$2,'[Game Stats-1.xls]Game-1'!$J$8:$J$25,0)),"",1),"")

Believe it achieves your underlying intents
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #6  
Old November 6th, 2006, 02:46 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default #N/A

Steve, you're welcome !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"caldog" wrote in message
...
Max

Thanks so much that works just perfectly.

Steve



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:54 PM.


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