Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default finding exact matches using vlookup

I am getting #N/A errors even when I have an apparently exact match in my
table array to the lookup value. I know that excel requires the formats to
be exactly the same and I can force the match if I copy the lookup value from
my table array and paste it into the worksheet. Is there an easy way to
"fix" my table array. The table array is a reference worksheet I have
created which has worked in the past.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default finding exact matches using vlookup

are you working with dates?

"Ekazakoff" wrote in message
...
I am getting #N/A errors even when I have an apparently exact match in my
table array to the lookup value. I know that excel requires the formats
to
be exactly the same and I can force the match if I copy the lookup value
from
my table array and paste it into the worksheet. Is there an easy way to
"fix" my table array. The table array is a reference worksheet I have
created which has worked in the past.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 299
Default finding exact matches using vlookup

If there are numbers involved it might be that either the lookup value or
the lookup column are text values

=ISTEXT(A1)

will return TRUE if a value is text thus you can check if that's the case

You could have invisible characters in the string, test with

=LEN(A1)

if that matches what you can count it is OK, if the resulting character
count is greater than what you can count you have invisible characters

To convert text numbers to number numbers, select the cell(s), do datatext
to columns and click finish or copy an empty cell, select the cell(s) in
question and do editpaste special and select add



--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com




"Ekazakoff" wrote in message
...
I am getting #N/A errors even when I have an apparently exact match in my
table array to the lookup value. I know that excel requires the formats
to
be exactly the same and I can force the match if I copy the lookup value
from
my table array and paste it into the worksheet. Is there an easy way to
"fix" my table array. The table array is a reference worksheet I have
created which has worked in the past.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default finding exact matches using vlookup

I did find I have hidden characters. How do I get rid of them?
"Ekazakoff" wrote:

I am getting #N/A errors even when I have an apparently exact match in my
table array to the lookup value. I know that excel requires the formats to
be exactly the same and I can force the match if I copy the lookup value from
my table array and paste it into the worksheet. Is there an easy way to
"fix" my table array. The table array is a reference worksheet I have
created which has worked in the past.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 299
Default finding exact matches using vlookup

You can run a macro

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


same site has instructions on how to install macros

if the extra character is a space you can use

=VLOOKUP(A2,TRIM(range),column_index,FALSE)

replace A2 with your lookup value and range with your lookup table

entered with ctrl + shift & enter


--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com



"Ekazakoff" wrote in message
...
I did find I have hidden characters. How do I get rid of them?
"Ekazakoff" wrote:

I am getting #N/A errors even when I have an apparently exact match in my
table array to the lookup value. I know that excel requires the formats
to
be exactly the same and I can force the match if I copy the lookup value
from
my table array and paste it into the worksheet. Is there an easy way to
"fix" my table array. The table array is a reference worksheet I have
created which has worked in the past.





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
Finding text strings in complex situations Hardel Excel Discussion (Misc queries) 6 July 25th 06 01:55 PM
using vlookup - how do I match 2 spreadsheets w/o same exact numb. klondike47 Excel Worksheet Functions 1 February 5th 05 11:01 PM
Use of the DSUM formula to find exact matches in datatables Rob Henson Excel Worksheet Functions 1 January 27th 05 02:14 AM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Can vlookup return multiple matches in a single cell? cchristensen Excel Discussion (Misc queries) 3 December 2nd 04 01:56 AM


All times are GMT +1. The time now is 07:19 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"