Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JACOB
 
Posts: n/a
Default VLOOKUP WITH ALPHA NUMERIC

i HAVE ALOOK UP RANGE THAT HAS IN THE 1ST COLUMN NUMBERS & OR NUMBERS &
LETTERS THE vLOOK UP ONLY GIVES ME THE NUMBERS IT GIVE n?A ON THE ALPHA OR
ALPHA NUMERIC
I HAVE THEM FORMATTED AS GENERAL IN BOTH LOCATIONS

  #2   Report Post  
arno
 
Posts: n/a
Default

Hi Jacob,

stop SHOUTING at people, be friendy.

I HAVE THEM FORMATTED AS GENERAL IN BOTH LOCATIONS


well, you must have the same format on both sides. you can check that
with simple formulas. eg. if a1 and b1 should be the same, then write
into c1 the formula

=a1=b1

if the result is "FALSE" then you can edit the formula in c1, select
c1, press F2, higlight "a1" with the mouse, press F9 which will show
you the value it uses, highlight "b1" with the mouse and press F9, then
you shoud see a difference. Eg.

="22"=22 == text 22 and number 22 do not match
="33"="33 " == some databaseprogramm fill fields with blanks,
use trim-functions
etc. etc.

try this an post your results (contents of formulas showing "false")
then we can fix your problem.

arno

  #3   Report Post  
JACOB
 
Posts: n/a
Default

Sorry I do most of my tables in caps

I tried and it came back as "FALSE"
I formatted the cell as TEXT on Both (I used only one cell to test)
and it still came back "FALSE"
Jacob

"arno" wrote:

Hi Jacob,

stop SHOUTING at people, be friendy.

I HAVE THEM FORMATTED AS GENERAL IN BOTH LOCATIONS


well, you must have the same format on both sides. you can check that
with simple formulas. eg. if a1 and b1 should be the same, then write
into c1 the formula

=a1=b1

if the result is "FALSE" then you can edit the formula in c1, select
c1, press F2, higlight "a1" with the mouse, press F9 which will show
you the value it uses, highlight "b1" with the mouse and press F9, then
you shoud see a difference. Eg.

="22"=22 == text 22 and number 22 do not match
="33"="33 " == some databaseprogramm fill fields with blanks,
use trim-functions
etc. etc.

try this an post your results (contents of formulas showing "false")
then we can fix your problem.

arno


  #4   Report Post  
arno
 
Posts: n/a
Default

Sorry I do most of my tables in caps
no worries, but this increases your chances of getting an answer cause
caps is considered as unfriendly, netiquette bla bla.

I tried and it came back as "FALSE"
I formatted the cell as TEXT on Both (I used only one cell to test)
and it still came back "FALSE"


this is why you should _post_ this

="22"=22

stuff!

arno

  #5   Report Post  
KL
 
Posts: n/a
Default

....or instead of converting all your data you can try and use my solution
posted below :-))

Regards,
KL

"arno" wrote in message
...
Sorry I do most of my tables in caps

no worries, but this increases your chances of getting an answer cause
caps is considered as unfriendly, netiquette bla bla.

I tried and it came back as "FALSE"
I formatted the cell as TEXT on Both (I used only one cell to test)
and it still came back "FALSE"


this is why you should _post_ this

="22"=22

stuff!

arno





  #6   Report Post  
arno
 
Posts: n/a
Default

Hi KL,
...or instead of converting all your data you can try and use my
solution posted below :-))


I do not agree. I always set the datatypes right once, then I never
have to think about it again. Pls. note that the data can be a
datasource for other databases etc. etc. Then you always have to manage
the problem within the formulas. The best is always to set everything
as early as possible - eg. in the sql-statement you use to query the
data which solves the problem even before the data arrives in excel.
This problem arises very very often so I solve it where it starts.

BTW your formula is _wrong_ because if you search for 1a you will find
it in
1a
xxxx1a
1axxxx
etc
etc.

arno

  #7   Report Post  
KL
 
Posts: n/a
Default

Hi Jacob,

Try doing something like this:

=VLOOKUP("*"&A1&"*",TEXT(B1:G100,"0"),2,0)

This is an ARRAY formula (Ctrl+Shift+Enter)

Regards,
KL


"JACOB" wrote in message
...
i HAVE ALOOK UP RANGE THAT HAS IN THE 1ST COLUMN NUMBERS & OR NUMBERS &
LETTERS THE vLOOK UP ONLY GIVES ME THE NUMBERS IT GIVE n?A ON THE ALPHA OR
ALPHA NUMERIC
I HAVE THEM FORMATTED AS GENERAL IN BOTH LOCATIONS



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
The colums changed from alpha to numeric how do you make it alpha worldmade Excel Discussion (Misc queries) 2 May 26th 05 03:44 PM
Alpha & Numeric Counts in Excel Programmer wanna be Excel Discussion (Misc queries) 3 April 5th 05 11:12 AM
Convert Alpha to Numeric Vicki Excel Discussion (Misc queries) 2 March 21st 05 12:01 PM
Summing part of an Alpha Numeric String Arturo Excel Worksheet Functions 2 February 23rd 05 09:59 PM
Count unique alpha numeric "characters" in a common cell WIM4246 Excel Worksheet Functions 4 December 11th 04 02:27 AM


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

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"