Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Formula returning #N/A

In Sheet1 I have the following formula in B149:

=IF(VLOOKUP(A149,MyClinics,3,FALSE),"Yes","No")

MyClinics is a named range on my sheet - Reference List

In My Define Ranges Dialog Box I have:
MyClinics with RefersTo: as:
='Reference List'!$A$115:$E$222

What are the other possibilities as to why I'm getting
nothing but #N/A returned?
TIA,,,


  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

If you're not returning a value using VLOOKUP, use
something simpler and potentially faster. Try:

=IF(COUNTIF('Reference List'!
$A$115:$A$222,A149),"Yes","No")

HTH
Jason
Atlanta, GA

-----Original Message-----
In Sheet1 I have the following formula in B149:

=IF(VLOOKUP(A149,MyClinics,3,FALSE),"Yes","No")

MyClinics is a named range on my sheet - Reference List

In My Define Ranges Dialog Box I have:
MyClinics with RefersTo: as:
='Reference List'!$A$115:$E$222

What are the other possibilities as to why I'm getting
nothing but #N/A returned?
TIA,,,


.

  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Since you seem just need to check whether A149 is in the relevant range...

=ISNUMBER(MATCH(A149,INDEX(MyClinics,0,1),0))+0

or

=ISNUMBER(MATCH(A149,'Reference List'!$A$115:$A$222,0))+0

Custom format the formula cell as:

[0]"No";[=1]"Yes"

wrote:
In Sheet1 I have the following formula in B149:

=IF(VLOOKUP(A149,MyClinics,3,FALSE),"Yes","No")

MyClinics is a named range on my sheet - Reference List

In My Define Ranges Dialog Box I have:
MyClinics with RefersTo: as:
='Reference List'!$A$115:$E$222

What are the other possibilities as to why I'm getting
nothing but #N/A returned?
TIA,,,


  #4   Report Post  
Jim May
 
Posts: n/a
Default

Sorry, but I failed to mention that my cell reference A149 contains PPV
(text)
and MyClinics Column 3 also contains (among others) PPV (text).


"Aladin Akyurek" wrote in message
...
Since you seem just need to check whether A149 is in the relevant range...

=ISNUMBER(MATCH(A149,INDEX(MyClinics,0,1),0))+0

or

=ISNUMBER(MATCH(A149,'Reference List'!$A$115:$A$222,0))+0

Custom format the formula cell as:

[0]"No";[=1]"Yes"

wrote:
In Sheet1 I have the following formula in B149:

=IF(VLOOKUP(A149,MyClinics,3,FALSE),"Yes","No")

MyClinics is a named range on my sheet - Reference List

In My Define Ranges Dialog Box I have:
MyClinics with RefersTo: as:
='Reference List'!$A$115:$E$222

What are the other possibilities as to why I'm getting
nothing but #N/A returned?
TIA,,,




  #5   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Are you saying that you're checking for the presence of A149 in the 3rd
column of MyClinics? If so, using the same logic, we get:

=ISNUMBER(MATCH(A149,INDEX(MyClinics,0,3),0))+0

=ISNUMBER(MATCH(A149,'Reference List'!$C$115:$C$222,0))+0

Again, apply the Yes/No formatting.

Maybe you're up to something entirely different...

Jim May wrote:
Sorry, but I failed to mention that my cell reference A149 contains PPV
(text)
and MyClinics Column 3 also contains (among others) PPV (text).


"Aladin Akyurek" wrote in message
...

Since you seem just need to check whether A149 is in the relevant range...

=ISNUMBER(MATCH(A149,INDEX(MyClinics,0,1),0))+ 0

or

=ISNUMBER(MATCH(A149,'Reference List'!$A$115:$A$222,0))+0

Custom format the formula cell as:

[0]"No";[=1]"Yes"

wrote:

In Sheet1 I have the following formula in B149:

=IF(VLOOKUP(A149,MyClinics,3,FALSE),"Yes","No ")

MyClinics is a named range on my sheet - Reference List

In My Define Ranges Dialog Box I have:
MyClinics with RefersTo: as:
='Reference List'!$A$115:$E$222

What are the other possibilities as to why I'm getting
nothing but #N/A returned?
TIA,,,







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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 08:17 PM.

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

About Us

"It's about Microsoft Excel"