ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   formula(s) (https://www.excelbanter.com/excel-discussion-misc-queries/153160-formula-s.html)

VAP

formula(s)
 
Is there anyway to not display '#n/a' when use a 'vlookup' formula?(or maybe
display a '0' instead of a 'n/a')

CLR

formula(s)
 
=IF(ISNA(YourVlookupFormula),"",YourVlookupFormula )

or, replace the "" with a zero

Vaya con Dios,
Chuck, CABGx3



"VAP" wrote:

Is there anyway to not display '#n/a' when use a 'vlookup' formula?(or maybe
display a '0' instead of a 'n/a')


VAP

formula(s)
 
Ok it did not work ... it change the one's with information to blank to.

this is my formula

=IF(VLOOKUP(E2,'4 Jan 07'!$D:$L,1,FALSE)=E2,VLOOKUP(E2,'4 Jan
07'!$D:$L,9,FALSE)," ")


were would insert the 'isna" part to my formula?



"CLR" wrote:

=IF(ISNA(YourVlookupFormula),"",YourVlookupFormula )

or, replace the "" with a zero

Vaya con Dios,
Chuck, CABGx3



"VAP" wrote:

Is there anyway to not display '#n/a' when use a 'vlookup' formula?(or maybe
display a '0' instead of a 'n/a')


CLR

formula(s)
 
=IF(ISNA(IF(VLOOKUP(E2,'4 Jan 07'!$D:$L,1,FALSE)=E2,VLOOKUP(E2,'4 Jan
07'!$D:$L,9,FALSE)," ")),"",IF(VLOOKUP(E2,'4 Jan
07'!$D:$L,1,FALSE)=E2,VLOOKUP(E2,'4 Jan 07'!$D:$L,9,FALSE)," ")

Vaya con Dios,
Chuck, CABGx3



"VAP" wrote:

Ok it did not work ... it change the one's with information to blank to.

this is my formula

=IF(VLOOKUP(E2,'4 Jan 07'!$D:$L,1,FALSE)=E2,VLOOKUP(E2,'4 Jan
07'!$D:$L,9,FALSE)," ")


were would insert the 'isna" part to my formula?



"CLR" wrote:

=IF(ISNA(YourVlookupFormula),"",YourVlookupFormula )

or, replace the "" with a zero

Vaya con Dios,
Chuck, CABGx3



"VAP" wrote:

Is there anyway to not display '#n/a' when use a 'vlookup' formula?(or maybe
display a '0' instead of a 'n/a')


Teethless mama

formula(s)
 
Try this:

=IF(COUNTIF('4 Jan 07'!$D:$L,E2),VLOOKUP(E2,'4 Jan 07'!$D:$L,9,FALSE)," ")


"VAP" wrote:

Ok it did not work ... it change the one's with information to blank to.

this is my formula

=IF(VLOOKUP(E2,'4 Jan 07'!$D:$L,1,FALSE)=E2,VLOOKUP(E2,'4 Jan
07'!$D:$L,9,FALSE)," ")


were would insert the 'isna" part to my formula?



"CLR" wrote:

=IF(ISNA(YourVlookupFormula),"",YourVlookupFormula )

or, replace the "" with a zero

Vaya con Dios,
Chuck, CABGx3



"VAP" wrote:

Is there anyway to not display '#n/a' when use a 'vlookup' formula?(or maybe
display a '0' instead of a 'n/a')


Bernard Liengme

formula(s)
 
An alternative is to use COnditional Formatting to hide the #N/A
best wishes
--
Bernard Liengme
http://people.stfx.ca/bliengme

"VAP" wrote in message
...
Is there anyway to not display '#n/a' when use a 'vlookup' formula?(or
maybe
display a '0' instead of a 'n/a')




All times are GMT +1. The time now is 04:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com