#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default #N/A Error

formula in question
=IF($D$23="","",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))

my problem is D23 has another vlookup equation in that cell, so when it
doesn't display any information i get a #N/A. is there a symbol i can
use to tell excel that when it doesn't find a result but finds an
equation to print "0"

i.e.
=IF($D$23="FUNC","0",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))


Thanks in Advance
J.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default #N/A Error

so inputed the formula:
=IF($D$23="","",IF(ISERROR(VLOOKUP($D$23,'Registra tion
Page'!A1012:Y2010,21,FALSE)),0,VLOOKUP($D$23,'Regi stration
Page'!A1012:Y2010,21,FALSE)))

it does blank the cell, but when D23 does show a result instead of the
formula, the cell remains blank


Dave Peterson wrote:
In xl2003 and befo

=if($d$23="","",if(iserror(vlookup(...)),0,vlookup (...)))

in xl2007:

=if($d$23="","",iferror(vlookup(...),0))


wrote:

formula in question
=IF($D$23="","",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))

my problem is D23 has another vlookup equation in that cell, so when it
doesn't display any information i get a #N/A. is there a symbol i can
use to tell excel that when it doesn't find a result but finds an
equation to print "0"

i.e.
=IF($D$23="FUNC","0",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))

Thanks in Advance
J.


--

Dave Peterson


  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default #N/A Error

Try with an ISNA trap for D23, something like this:
=IF(ISNA($D$23),0,VLOOKUP($D$23,'Registration Page'!A1012:Y2010,21,FALSE))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote in message
ups.com...
formula in question
=IF($D$23="","",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))

my problem is D23 has another vlookup equation in that cell, so when it
doesn't display any information i get a #N/A. is there a symbol i can
use to tell excel that when it doesn't find a result but finds an
equation to print "0"

i.e.
=IF($D$23="FUNC","0",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))


Thanks in Advance
J.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default #N/A Error

result remains #N/A

thanks for the quick response

Max wrote:
Try with an ISNA trap for D23, something like this:
=IF(ISNA($D$23),0,VLOOKUP($D$23,'Registration Page'!A1012:Y2010,21,FALSE))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote in message
ups.com...
formula in question
=IF($D$23="","",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))

my problem is D23 has another vlookup equation in that cell, so when it
doesn't display any information i get a #N/A. is there a symbol i can
use to tell excel that when it doesn't find a result but finds an
equation to print "0"

i.e.
=IF($D$23="FUNC","0",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))


Thanks in Advance
J.




  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default #N/A Error

Looks like you want the other vlookup trapped as well,
not just the one present in D23

Try:
=IF(ISNA($D$23),0,IF(ISNA(VLOOKUP($D$23,'Registrat ion
Page'!A1012:Y2010,21,FALSE)),0,VLOOKUP($D$23,'Regi stration
Page'!A1012:Y2010,21,FALSE)))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Tokeroo" wrote in message
ups.com...
result remains #N/A

thanks for the quick response



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 492
Default #N/A Error

Wrap the VLOOKUP in ISNA,
=IF(ISNA(your vlookup formula),"Error Message or whatever",Your vlookup
formula)
eg
=IF(ISNA(VLOOKUP(E2,A1:B12,2,FALSE)),"",VLOOKUP(E2 ,A1:B12,2,FALSE))
Regards,
Alan
wrote in message
ups.com...
formula in question
=IF($D$23="","",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))

my problem is D23 has another vlookup equation in that cell, so when it
doesn't display any information i get a #N/A. is there a symbol i can
use to tell excel that when it doesn't find a result but finds an
equation to print "0"

i.e.
=IF($D$23="FUNC","0",VLOOKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE))


Thanks in Advance
J.



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default #N/A Error

so this finally worked, i figured i post this for you guys as well,
thanks for your time.

=IF(ISERROR(IF($D$23="","",VLOOKUP($D$23,'Registra tion
Page'!A1012:Y2010,21,FALSE))),0,IF($D$23="","",VLO OKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE)))

  #9   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default #N/A Error

Try also this revised* version using ISNA (as posted in the other branch):
=IF(ISNA($D$23),0,IF(ISNA(VLOOKUP($D$23,'Registrat ion
Page'!A1012:Y2010,21,FALSE)),0,VLOOKUP($D$23,'Regi stration
Page'!A1012:Y2010,21,FALSE)))

*its shorter than the one you posted below, and it uses the more appropriate
ISNA trap instead of ISERROR
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Tokeroo" wrote in message
ups.com...
so this finally worked, i figured i post this for you guys as well,
thanks for your time.

=IF(ISERROR(IF($D$23="","",VLOOKUP($D$23,'Registra tion
Page'!A1012:Y2010,21,FALSE))),0,IF($D$23="","",VLO OKUP($D$23,'Registration
Page'!A1012:Y2010,21,FALSE)))



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
error bars display Amy Charts and Charting in Excel 1 December 22nd 06 11:22 PM
Error bars-repost NTE Charts and Charting in Excel 3 December 11th 05 06:45 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
error "module not found" Amit Excel Discussion (Misc queries) 1 May 13th 05 01:24 PM
#REF error Christen Excel Worksheet Functions 5 November 3rd 04 07:29 PM


All times are GMT +1. The time now is 01:51 PM.

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

About Us

"It's about Microsoft Excel"