Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old April 19th 05, 11:33 AM
Junior Member
 
First recorded activity by ExcelBanter: Apr 2005
Posts: 26
Default Replacing #N/A with a '0' (zero)

Hi all,

I'm using a Vlookup to pull figures over from another sheet. Is there a way that when there isn't any data to pull across, instead of displaying #N/A it could display a zero?

Thanks in advance...

Neil

  #2   Report Post  
Old April 19th 05, 01:45 PM
Bob Phillips
 
Posts: n/a
Default

=IF(ISNA(lookup_formula),0,lookup_formula)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"neilcarden" wrote in message
...

Hi all,

I'm using a Vlookup to pull figures over from another sheet. Is there a
way that when there isn't any data to pull across, instead of displaying
#N/A it could display a zero?

Thanks in advance...

Neil


--
neilcarden



  #3   Report Post  
Old April 19th 05, 01:46 PM
Niek Otten
 
Posts: n/a
Default

=IF(ISNA(YourFormula),0,YourFormula)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"neilcarden" wrote in message
...

Hi all,

I'm using a Vlookup to pull figures over from another sheet. Is there a
way that when there isn't any data to pull across, instead of displaying
#N/A it could display a zero?

Thanks in advance...

Neil


--
neilcarden



  #4   Report Post  
Old April 19th 05, 01:53 PM
Vinaya
 
Posts: n/a
Default


IF(ISERROR(VLOOKUP(C1,$A$1:$B$4,2,0)),0,(VLOOKUP(C 1,$A$1:$B$4,2,0)))

neilcarden wrote:
Hi all,

I'm using a Vlookup to pull figures over from another sheet. Is there a
way that when there isn't any data to pull across, instead of displaying
#N/A it could display a zero?

Thanks in advance...

Neil



  #5   Report Post  
Old April 20th 05, 10:19 AM
Junior Member
 
First recorded activity by ExcelBanter: Apr 2005
Posts: 26
Default

Thanks again you guys!!! Excellent...


  #6   Report Post  
Old April 20th 05, 02:49 PM
galimi
 
Posts: n/a
Default

=if(isna(cell_ref),0,cell_ref)

Replace cell_ref with the one cell range being referenced

http://HelpExcel.com

"neilcarden" wrote:


Thanks again you guys!!! Excellent...


--
neilcarden



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
replacing #N/A with 0 Mark Excel Discussion (Misc queries) 3 April 7th 05 10:02 PM
Replacing characters OhhAhh Excel Worksheet Functions 10 March 4th 05 01:28 AM
replacing data Tammy Excel Discussion (Misc queries) 4 March 3rd 05 08:33 PM
Replacing text in Excel files on disk? Desperate Don Excel Discussion (Misc queries) 0 March 1st 05 05:23 PM
Filtering and replacing values through a macro vic Excel Worksheet Functions 1 January 27th 05 10:53 PM


All times are GMT +1. The time now is 06:19 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017