Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
=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
|
|||
|
|||
=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
|
|||
|
|||
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 |
#6
|
|||
|
|||
=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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
replacing #N/A with 0 | Excel Discussion (Misc queries) | |||
Replacing characters | Excel Worksheet Functions | |||
replacing data | Excel Discussion (Misc queries) | |||
Replacing text in Excel files on disk? | Excel Discussion (Misc queries) | |||
Filtering and replacing values through a macro | Excel Worksheet Functions |