Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Text & Number formats for Vlookups

I have a number of lookups which are looking at codes (item numbers)
downloaded predominantly as CSV files. After I've saved them to excel file
format I then use a series of lookups to extract data for reports.

I am having trouble with some lookups where I have to merge some cells to
achieve a string ( using =trim; =left; =mid; and then merge the cells ie
=A1&A2&A3 to achieve the string I require ) the lookups all rum form these
strings. In some cases thoough. If I format string as a number, some lookups
will work, if I format string as text, others will work but not altogether.
My question is; How can I check that all my strings are in the same format
si i can get them all to work?
Please bear in mind I have some 15 download sheets, each containing some
4,500 codes in each sheets, and then some 30 odd sheets with the lookups to
extract the data I require. I guess I will have to ensure these are all in
the same format as source sheets. If someone can give me a quick fix, would
be appreciated.

Many thanks

Pete

--
I''m just a soul whose intentions are good . . . . . . . . . . .
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Text & Number formats for Vlookups


=VLOOKUP(--(TRIM(A1&A2&A3)),Lookup_Table,2,0)

as an example should make the lookup value a number unless it has invisible
text in it and then it will return a value error



--
Regards,

Peo Sjoblom



"Silverback69" wrote in message
...
I have a number of lookups which are looking at codes (item numbers)
downloaded predominantly as CSV files. After I've saved them to excel file
format I then use a series of lookups to extract data for reports.

I am having trouble with some lookups where I have to merge some cells to
achieve a string ( using =trim; =left; =mid; and then merge the cells ie
=A1&A2&A3 to achieve the string I require ) the lookups all rum form these
strings. In some cases thoough. If I format string as a number, some
lookups
will work, if I format string as text, others will work but not
altogether.
My question is; How can I check that all my strings are in the same format
si i can get them all to work?
Please bear in mind I have some 15 download sheets, each containing some
4,500 codes in each sheets, and then some 30 odd sheets with the lookups
to
extract the data I require. I guess I will have to ensure these are all in
the same format as source sheets. If someone can give me a quick fix,
would
be appreciated.

Many thanks

Pete

--
I''m just a soul whose intentions are good . . . . . . . . . . .



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Text & Number formats for Vlookups


-- Thanks Peo, not sure it's what I'm after but will give it a go at work
tomorrow,

regards

I''''m just a soul whose intentions are good . . . . . . . . . . .


"Peo Sjoblom" wrote:


=VLOOKUP(--(TRIM(A1&A2&A3)),Lookup_Table,2,0)

as an example should make the lookup value a number unless it has invisible
text in it and then it will return a value error



--
Regards,

Peo Sjoblom



"Silverback69" wrote in message
...
I have a number of lookups which are looking at codes (item numbers)
downloaded predominantly as CSV files. After I've saved them to excel file
format I then use a series of lookups to extract data for reports.

I am having trouble with some lookups where I have to merge some cells to
achieve a string ( using =trim; =left; =mid; and then merge the cells ie
=A1&A2&A3 to achieve the string I require ) the lookups all rum form these
strings. In some cases thoough. If I format string as a number, some
lookups
will work, if I format string as text, others will work but not
altogether.
My question is; How can I check that all my strings are in the same format
si i can get them all to work?
Please bear in mind I have some 15 download sheets, each containing some
4,500 codes in each sheets, and then some 30 odd sheets with the lookups
to
extract the data I require. I guess I will have to ensure these are all in
the same format as source sheets. If someone can give me a quick fix,
would
be appreciated.

Many thanks

Pete

--
I''m just a soul whose intentions are good . . . . . . . . . . .




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
Sumproduct with both number and text formats Curtis Excel Worksheet Functions 4 March 13th 07 08:14 PM
Custom number formats in TEXT function MatthewB Excel Worksheet Functions 4 June 28th 06 09:05 PM
Text, Number and Date formats excel 2003 driving experienced user E F Bat Excel Discussion (Misc queries) 1 January 6th 06 07:10 PM
what is the maximum number of vlookups in a given workbook that E. Bartman Excel Worksheet Functions 2 November 4th 05 04:49 PM
Dynamic Column VlookUps Based on Week Number TLK40us Excel Worksheet Functions 3 November 14th 04 03:33 PM


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