Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SupperDuck
 
Posts: n/a
Default Vlookup: Have problem. Not taking the object that i search...

Hi.

I have part codes in my A column.

For example 10 parts in first column. And i have all part codes in column D
and have all prices for all codes in column E

I want to take the prices for that 10 parts and so use the vlookup.

But the codes are not in same style.

I mean in A they are as;

2G15 2144 2111
2G15 2144 2111

In first code, there is only one spece and in second there are 2.

My first question;

TRIM is used to clear the speces in front and back of of the sentence. I
want to clear all spaces in the column (not with find and replace :)) So how
can i?

And i have the main question;

When i use the vlook function;

2t14a500td

can take the value of

2t14b500td or like it. But i want it to take the value of 2t14a500td

Why?

How can i give the correct number?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Vlookup: Have problem. Not taking the object that i search...

The first part is done with SUBSTITUTE

=SUBSTITUTE(A1," ","")

which you can use in another function.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"SupperDuck" wrote in message
...
Hi.

I have part codes in my A column.

For example 10 parts in first column. And i have all part codes in column

D
and have all prices for all codes in column E

I want to take the prices for that 10 parts and so use the vlookup.

But the codes are not in same style.

I mean in A they are as;

2G15 2144 2111
2G15 2144 2111

In first code, there is only one spece and in second there are 2.

My first question;

TRIM is used to clear the speces in front and back of of the sentence. I
want to clear all spaces in the column (not with find and replace :)) So

how
can i?

And i have the main question;

When i use the vlook function;

2t14a500td

can take the value of

2t14b500td or like it. But i want it to take the value of 2t14a500td

Why?

How can i give the correct number?



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
vlookup problem, possibly due to "noise" JPANDRE Excel Worksheet Functions 2 November 16th 05 10:44 AM
VLOOKUP Problem (limitation)? SnotRockit Excel Worksheet Functions 3 November 7th 05 03:06 PM
VBA: Where to find Excel Object model? N. Foldager Excel Discussion (Misc queries) 13 February 6th 05 06:43 PM
VLOOKUP problem Jason Excel Worksheet Functions 2 January 14th 05 10:39 PM
Problem with search Manu Palao Excel Worksheet Functions 2 November 10th 04 05:31 PM


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