Sorry, wrong of me....
Below does not work when there is na. Can I correct it?
=IF(--F8="#N/A";1;0)
f8 is by the way a Vlookup that has catched a number.
sverre
> br
> sverre
Niek Otten - 27 Oct 2006 12:07 GMT
Use the ISNA() function to test for #NA

Signature
Kind regards,
Niek Otten
Microsoft MVP - Excel
| Sorry, wrong of me....
|
[quoted text clipped - 8 lines]
| > br
| > sverre
Ron Coderre - 27 Oct 2006 12:13 GMT
Try this:
=IF(ISNA(F8);1;0)
or
=--ISNA(F8)
Does that help?
***********
Regards,
Ron
XL2002, WinXP
> Sorry, wrong of me....
>
[quoted text clipped - 8 lines]
> > br
> > sverre
sverre - 27 Oct 2006 14:55 GMT
Yes
Works fine.
Thanks
Sverre
"Ron Coderre" skrev:
> Try this:
>
[quoted text clipped - 21 lines]
> > > br
> > > sverre