Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Returning result as 0 from #N/A

I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
--
JP1912
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Returning result as 0 from #N/A

try

=IF(ISNA(your_Lookup),"",your_Lookup)

Mike

"JP1912" wrote:

I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
--
JP1912

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 523
Default Returning result as 0 from #N/A

Rather than use =VLOOKUP(...)

use =IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...))

"JP1912" wrote:

I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
--
JP1912

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Returning result as 0 from #N/A

On Jun 16, 1:46*pm, JP1912 wrote:
I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? *I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
--
JP1912


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Returning result as 0 from #N/A

Hi
=IF(ISNA(Vlookup(.....),0,Vlookup(.....))

where Vlookup(.....) is your lookup formula. Will return 0 if lookup
returns #N/A. If you want to return blank, use "" instead of 0.

regards
Paul


On Jun 16, 1:46*pm, JP1912 wrote:
I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? *I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
--
JP1912




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Returning result as 0 from #N/A

brilliant...many thanks..!!
--
JP1912


"Mike H" wrote:

try

=IF(ISNA(your_Lookup),"",your_Lookup)

Mike

"JP1912" wrote:

I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
--
JP1912

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Returning result as 0 from #N/A

thanks Sam...spot on....!!
--
JP1912


"Sam Wilson" wrote:

Rather than use =VLOOKUP(...)

use =IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...))

"JP1912" wrote:

I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
--
JP1912

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Returning result as 0 from #N/A

Thanks Paul, got it sorted now...you learn something new every day...I know
how to "ISNA" now....;o)

cheers again...
--
JP1912


" wrote:

Hi
=IF(ISNA(Vlookup(.....),0,Vlookup(.....))

where Vlookup(.....) is your lookup formula. Will return 0 if lookup
returns #N/A. If you want to return blank, use "" instead of 0.

regards
Paul


On Jun 16, 1:46 pm, JP1912 wrote:
I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
--
JP1912



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
=AVERAGE returning a #DIV/0! result Rebekah Excel Worksheet Functions 8 October 5th 07 11:12 AM
Vlookup returning more than one result kshaheen Excel Discussion (Misc queries) 1 June 17th 07 01:50 AM
Returning Forumla For Result MIKE0W Excel Discussion (Misc queries) 1 August 18th 05 05:20 AM
vlookup returning a n/a result jeanette.rimmer Excel Worksheet Functions 4 July 14th 05 01:00 AM
Difficult returning result !!!! stakar[_24_] Excel Programming 3 August 17th 04 04:44 PM


All times are GMT +1. The time now is 08:25 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"