#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Vlookup Problems

I have two tables with store sales data, the common field is the store
number. In both tables the store number is formatted as General.
When I attempt a vlookup I get NA's, yet when I do a 'Find' it works
fine. How can this be?

TIA

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 638
Default Vlookup Problems

I've run into that numerous times. I have now started using a Text
function within the Vlookup function and haven't had any problems.
=VLOOKUP(TEXT(A2,"@"),'Sheet3'!A:B,2,FALSE)

Tony Bender wrote:
I have two tables with store sales data, the common field is the store
number. In both tables the store number is formatted as General.
When I attempt a vlookup I get NA's, yet when I do a 'Find' it works
fine. How can this be?

TIA


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Vlookup Problems

You probably have text values, you can't change that by just changing the
format, it will still be text.
Also look for trailing leading spaces.

To test if there are extra characters use

=LEN(lookup_value)


then test one of the values that find finds

=LEN(Sheet2!A4)


the formulas should return the same number


If you get the same number then the values in the lookup table are text,
then you can wrap the lookup value in the TEXT function like in the example
that was posted to this thread


--


Regards,


Peo Sjoblom



"Tony Bender" wrote in message
ups.com...
I have two tables with store sales data, the common field is the store
number. In both tables the store number is formatted as General.
When I attempt a vlookup I get NA's, yet when I do a 'Find' it works
fine. How can this be?

TIA



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Vlookup Problems

Look at Debra Dalgleish's site for troubleshooting your =vlookup() formula:
http://contextures.com/xlFunctions02.html#Trouble

Tony Bender wrote:

I have two tables with store sales data, the common field is the store
number. In both tables the store number is formatted as General.
When I attempt a vlookup I get NA's, yet when I do a 'Find' it works
fine. How can this be?

TIA


--

Dave Peterson
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
Problems with VLOOKUP Johosh Excel Worksheet Functions 2 September 9th 07 10:12 PM
VLOOKUP Problems trafficbroker Excel Worksheet Functions 5 March 22nd 06 02:30 PM
VLookup Problems Pritch14 Excel Worksheet Functions 2 August 15th 05 01:54 PM
VLookUp Problems tiab86 Excel Worksheet Functions 3 July 27th 05 02:19 PM
VLOOKUP : problems ! Ken Excel Worksheet Functions 2 January 27th 05 01:21 AM


All times are GMT +1. The time now is 06:53 AM.

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

About Us

"It's about Microsoft Excel"