#1   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup

HI,for some reason it doesnt work for me today.
TABLE example:
Acc type
73010 ADMIN Travel cost
74000 ADMIN

the other is:
Trx Date Acc # Acc name
01/04/2006 73010-100-CAN-000 Customer DL - Canada#N/A
28/04/2006 74000-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A

Using the formula

=VLOOKUP(LEFT(B78,5),ADMIN!$A$1:$B$32,2,FALSE)

I get #N/A

Wot am i doing wrong?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Vlookup

You get #N/A when using VLOOKUP is the sought value is not present in
the table - perhaps you might need to add some more codes, or check
that you don't have spaces etc at the end of them.

Hope this helps.

Pete

On Apr 17, 9:54 am, Joe wrote:
HI,for some reason it doesnt work for me today.
TABLE example:
Acc type
73010 ADMIN Travel cost
74000 ADMIN

the other is:
Trx Date Acc # Acc name
01/04/2006 73010-100-CAN-000 Customer DL - Canada#N/A
28/04/2006 74000-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A

Using the formula

=VLOOKUP(LEFT(B78,5),ADMIN!$A$1:$B$32,2,FALSE)

I get #N/A

Wot am i doing wrong?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup

thanks, that is not the problem. is like the formula doesnt read the number
right. Maybe diff format??? how can i change this?
thks

"Joe" wrote:

HI,for some reason it doesnt work for me today.
TABLE example:
Acc type
73010 ADMIN Travel cost
74000 ADMIN

the other is:
Trx Date Acc # Acc name
01/04/2006 73010-100-CAN-000 Customer DL - Canada#N/A
28/04/2006 74000-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A

Using the formula

=VLOOKUP(LEFT(B78,5),ADMIN!$A$1:$B$32,2,FALSE)

I get #N/A

Wot am i doing wrong?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup

Is there anything that I might be doing wrong that affects the way Vlookup
picks up the numbers? Ie number or text format

"Joe" wrote:

thanks, that is not the problem. is like the formula doesnt read the number
right. Maybe diff format??? how can i change this?
thks

"Joe" wrote:

HI,for some reason it doesnt work for me today.
TABLE example:
Acc type
73010 ADMIN Travel cost
74000 ADMIN

the other is:
Trx Date Acc # Acc name
01/04/2006 73010-100-CAN-000 Customer DL - Canada #N/A
28/04/2006 74000-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A

Using the formula

=VLOOKUP(LEFT(B78,5),ADMIN!$A$1:$B$32,2,FALSE)

I get #N/A

Wot am i doing wrong?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Vlookup

By using LEFT in your formula, you are returning a string, but perhaps
the codes in your lookup table are numbers. Try this:

=VLOOKUP(VALUE(LEFT(B78,5)),ADMIN!$A$1:$B$32,2,FAL SE)

Hope this helps.

Pete

On Apr 17, 11:26 am, Joe wrote:
Is there anything that I might be doing wrong that affects the way Vlookup
picks up the numbers? Ie number or text format



"Joe" wrote:
thanks, that is not the problem. is like the formula doesnt read the number
right. Maybe diff format??? how can i change this?
thks


"Joe" wrote:


HI,for some reason it doesnt work for me today.
TABLE example:
Acc type
73010 ADMIN Travel cost
74000 ADMIN


the other is:
Trx Date Acc # Acc name
01/04/2006 73010-100-CAN-000 Customer DL - Canada #N/A
28/04/2006 74000-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A


Using the formula


=VLOOKUP(LEFT(B78,5),ADMIN!$A$1:$B$32,2,FALSE)


I get #N/A


Wot am i doing wrong?- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup

tks. it worked
Rgds,
jose

"Joe" wrote:

HI,for some reason it doesnt work for me today.
TABLE example:
Acc type
73010 ADMIN Travel cost
74000 ADMIN

the other is:
Trx Date Acc # Acc name
01/04/2006 73010-100-CAN-000 Customer DL - Canada#N/A
28/04/2006 74000-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A

Using the formula

=VLOOKUP(LEFT(B78,5),ADMIN!$A$1:$B$32,2,FALSE)

I get #N/A

Wot am i doing wrong?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Vlookup

Thanks for feeding back - glad it worked for you.

When you said this in your first post:

"... for some reason it doesnt work for me today ..."

I assumed that it had worked for you before today, but obviously not.

Pete

On Apr 17, 1:54 pm, Joe wrote:
tks. it worked
Rgds,
jose



"Joe" wrote:
HI,for some reason it doesnt work for me today.
TABLE example:
Acc type
73010 ADMIN Travel cost
74000 ADMIN


the other is:
Trx Date Acc # Acc name
01/04/2006 73010-100-CAN-000 Customer DL - Canada#N/A
28/04/2006 74000-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A
30/04/2006 63615-100-IRL-000 Customer DL - Ireland #N/A


Using the formula


=VLOOKUP(LEFT(B78,5),ADMIN!$A$1:$B$32,2,FALSE)


I get #N/A


Wot am i doing wrong?- Hide quoted text -


- Show quoted text -



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
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? bchilt Excel Worksheet Functions 6 January 20th 06 09:21 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 09:16 PM.

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"