Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2006

Tip: Looking for answers? Try searching our database.

how do i get exact matches in a vlookup fomrula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shark1966 - 30 Sep 2006 04:25 GMT
in my vlookup formula, I am finding values that shouldn't have values are
returning the value for the closest match.
Biff - 30 Sep 2006 05:11 GMT
Set the 4th argument to FALSE or 0:

=VLOOKUP(A1,B1:C10,2,FALSE)

=VLOOKUP(A1,B1:C10,2,0)

Biff

> in my vlookup formula, I am finding values that shouldn't have values are
> returning the value for the closest match.
shark1966 - 30 Sep 2006 14:13 GMT
That worked great! Thanks. I am now receiving #N/A where there are no values.
How can I force the N/A to 0???

> Set the 4th argument to FALSE or 0:
>
[quoted text clipped - 6 lines]
> > in my vlookup formula, I am finding values that shouldn't have values are
> > returning the value for the closest match.
Dave Peterson - 30 Sep 2006 14:20 GMT
=if(iserror(vlookup(...)),0,vlookup(...))

If you're using xl2007:
=iferror(vlookup(...),0)

> That worked great! Thanks. I am now receiving #N/A where there are no values.
> How can I force the N/A to 0???
[quoted text clipped - 9 lines]
> > > in my vlookup formula, I am finding values that shouldn't have values are
> > > returning the value for the closest match.

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.