#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default vlook

hi,

could you help me with this form ? :
=VLOOKUP(L9999;[CORA1.xls]Sheet1!$C$954:$H$1130;6;FALSE)
The value looked up is for example "CORDOBA" but it sometimes not found due
value in cell is "CORDOBA " ( same text but followed by blank spaces ).
How can I solve this ?

thks and regards
Jorge
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default vlook

One option would be to trim the lookup column with the TRIM function, then
copying and pasting values back into the lookup column.

Dave
--
Brevity is the soul of wit.


"kiki" wrote:

hi,

could you help me with this form ? :
=VLOOKUP(L9999;[CORA1.xls]Sheet1!$C$954:$H$1130;6;FALSE)
The value looked up is for example "CORDOBA" but it sometimes not found due
value in cell is "CORDOBA " ( same text but followed by blank spaces ).
How can I solve this ?

thks and regards
Jorge

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default vlook

Apply the TRIM function, like this:

=VLOOKUP(TRIM(L9999);[CORA1.xls]Sheet1!$C$954:$H$1130;6;FALSE)

Hope this helps.

Pete

kiki wrote:

hi,

could you help me with this form ? :
=VLOOKUP(L9999;[CORA1.xls]Sheet1!$C$954:$H$1130;6;FALSE)
The value looked up is for example "CORDOBA" but it sometimes not found due
value in cell is "CORDOBA " ( same text but followed by blank spaces ).
How can I solve this ?

thks and regards
Jorge


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default vlook

Hi Jorge:

Try one of these CSE (control shift enter) formulas:

=VLOOKUP($E$1,LEFT($B$1:$C$2,LEN($E$1)),1,FALSE)

=VLOOKUP($E$1,TRIM($B$1:$C$2),1,FALSE)


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"kiki" wrote:

hi,

could you help me with this form ? :
=VLOOKUP(L9999;[CORA1.xls]Sheet1!$C$954:$H$1130;6;FALSE)
The value looked up is for example "CORDOBA" but it sometimes not found due
value in cell is "CORDOBA " ( same text but followed by blank spaces ).
How can I solve this ?

thks and regards
Jorge

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
Need Help about vlook vlook fomula Excel Worksheet Functions 1 January 20th 07 02:42 PM
use vlook to show the value of a cell using a formula David Excel Discussion (Misc queries) 5 October 21st 06 12:01 AM
Subject: vlook up 1/25/2006 1:39 PM PST arcticale Excel Discussion (Misc queries) 1 January 27th 06 06:10 PM
vlook up arcticale Excel Discussion (Misc queries) 1 January 25th 06 09:36 PM
How do I use drop down list selections/values in a vlook up formu. CL Excel Discussion (Misc queries) 2 January 19th 05 10:39 PM


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