If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 IF and #N/A
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## IF and #N/A

#1
June 23rd 08, 02:19 AM posted to microsoft.public.excel.newusers
 John Calder external usenet poster Posts: 176
IF and #N/A

Hi

I run Excel 2K

I have a VLOOKUP table that returns the value of #N/A in some cells. This is
not a problem.

I am looking to have a formula in an adjacent cell that looks at the #N/A
and returns somthing like this:

=IF(L112=#N/A,"NO","YES)

(I have tired this but it returns the value of #N/A)

I have also tried =IF(VALUE(L112)=#N/A,"NO,"YES) but thie returns #VALUE!

I have also tried putting the #N/A in inverted commas ("#N/A") but this also
does not work.

Any Ideas?

Thanks

John

#2
June 23rd 08, 02:43 AM posted to microsoft.public.excel.newusers
 Dave Peterson external usenet poster Posts: 35,220
IF and #N/A

You can use:

=if(isna(l112),"no","yes")

John Calder wrote:
>
> Hi
>
> I run Excel 2K
>
> I have a VLOOKUP table that returns the value of #N/A in some cells. This is
> not a problem.
>
> I am looking to have a formula in an adjacent cell that looks at the #N/A
> and returns somthing like this:
>
> =IF(L112=#N/A,"NO","YES)
>
> (I have tired this but it returns the value of #N/A)
>
> I have also tried =IF(VALUE(L112)=#N/A,"NO,"YES) but thie returns #VALUE!
>
> I have also tried putting the #N/A in inverted commas ("#N/A") but this also
> does not work.
>
> Any Ideas?
>
> Thanks
>
> John

--

Dave Peterson
#3
June 23rd 08, 03:06 AM posted to microsoft.public.excel.newusers
 John Calder external usenet poster Posts: 176
IF and #N/A

Thanks Dave !

"Dave Peterson" wrote:

> You can use:
>
> =if(isna(l112),"no","yes")
>
>
>
> John Calder wrote:
> >
> > Hi
> >
> > I run Excel 2K
> >
> > I have a VLOOKUP table that returns the value of #N/A in some cells. This is
> > not a problem.
> >
> > I am looking to have a formula in an adjacent cell that looks at the #N/A
> > and returns somthing like this:
> >
> > =IF(L112=#N/A,"NO","YES)
> >
> > (I have tired this but it returns the value of #N/A)
> >
> > I have also tried =IF(VALUE(L112)=#N/A,"NO,"YES) but thie returns #VALUE!
> >
> > I have also tried putting the #N/A in inverted commas ("#N/A") but this also
> > does not work.
> >
> > Any Ideas?
> >
> > Thanks
> >
> > John

>
> --
>
> Dave Peterson
>

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

All times are GMT +1. The time now is 10:47 PM.