ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to get an exact mactch with Vlookup (https://www.excelbanter.com/excel-worksheet-functions/23663-how-get-exact-mactch-vlookup.html)

Grd

How to get an exact mactch with Vlookup
 
Hi,

I'm using a Vlookup but get a result even if the value I'm looking up is not
the same as the one the table.

I want to get an error if I don't find and exact match. Am I doing something
wrong?

Thanks In advance
Gordon


Hi
Make sure you are including the last argument of the function as FALSE,
otherwise an approximate match will do!

--
Andy.


"Grd" wrote in message
...
Hi,

I'm using a Vlookup but get a result even if the value I'm looking up is
not
the same as the one the table.

I want to get an error if I don't find and exact match. Am I doing
something
wrong?

Thanks In advance
Gordon




JulieD

Hi Gordon

the VLOOKUP function has four parameters, the fourth, if omitted, will allow
the VLOOKUP function do an approximate match ... if you want an exact match
you need to put FALSE or 0 in the fourth parameter.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Grd" wrote in message
...
Hi,

I'm using a Vlookup but get a result even if the value I'm looking up is
not
the same as the one the table.

I want to get an error if I don't find and exact match. Am I doing
something
wrong?

Thanks In advance
Gordon





All times are GMT +1. The time now is 07:38 AM.

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