Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tonerockyhorror
 
Posts: n/a
Default Cell Word Alphabetization


I am working on doing a vlookup for values on another that may or may
not be in a different order. Vlookup won't pick these words up, so I
was wondering if anyone knew a solution or a way to alphabetize the
words with each cell so that vlookup will work in all cases. Thanks in
advance.


--
tonerockyhorror
------------------------------------------------------------------------
tonerockyhorror's Profile: http://www.excelforum.com/member.php...o&userid=34136
View this thread: http://www.excelforum.com/showthread...hreadid=539056

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Cell Word Alphabetization

Can you post your formula here with a bit more description?

If you are using VLOOKUP with the fourth parameter set to TRUE or 1 or
omitted, then the lookup data will have to be sorted and your result
will be the value in the lookup table closest to (and less than if not
an exact match) the search data. However, if this parameter is set to
FALSE or 0, then you will be looking for exact matches and the data
does not need to be in any particular order.

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tonerockyhorror
 
Posts: n/a
Default Cell Word Alphabetization


The fourth parameters is set false because I am cross-referencing data
appearing in one sheet that doesn't appear in another. The problem is
that some words will show up a few different times with different data
attached in corresponding cells. Some of the words also appear in
varying orders, but I need vLookup to include those as well. Setting
the fourth parameter to true or false or grab that data.

I was told that there is a way to alphabetize the data within a cell
though. With that I could get the data I need but I have no idea what
function in excel can do this. I know this is all a little vague, but
thats because the work I do in excel is not number-based and a little
tricky to understand.


--
tonerockyhorror
------------------------------------------------------------------------
tonerockyhorror's Profile: http://www.excelforum.com/member.php...o&userid=34136
View this thread: http://www.excelforum.com/showthread...hreadid=539056

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Cell Word Alphabetization

Yes, it is still very vague - how can you expect people to help?

I repeat:

Can you post your formula here with a bit more description?

Pete

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tonerockyhorror
 
Posts: n/a
Default Cell Word Alphabetization


Well the help I expected was more in the form of can I alpabetize words
within a cell? (Yes/No) I can solve my own problem with that. Otherwise
just forget everything else I said because I can't explain in any more
detail about my setup. Right now I am just using a standard vlookup.
ie. =vlookup(cell value,column range,x,false)


--
tonerockyhorror
------------------------------------------------------------------------
tonerockyhorror's Profile: http://www.excelforum.com/member.php...o&userid=34136
View this thread: http://www.excelforum.com/showthread...hreadid=539056



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Cell Word Alphabetization

I don't understand your term "alphabetize". Can you explain what you
mean by this with reference to some simple words? For example, if the
words you had were dog, horse, monkey, what would you expect to happen
if these were "alphabetized"?

Trying to help...

Pete

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default Cell Word Alphabetization

Pete

I interpret this to mean "sort" words in a cell.

dog, horse, monkey would be ascending.

monkey, horse, dog would be descending.

I am sure someone out there has written a UDF for this.


Gord Dibben MS Excel MVP

On 5 May 2006 16:09:59 -0700, "Pete_UK" wrote:

I don't understand your term "alphabetize". Can you explain what you
mean by this with reference to some simple words? For example, if the
words you had were dog, horse, monkey, what would you expect to happen
if these were "alphabetized"?

Trying to help...

Pete


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Cell Word Alphabetization

Thanks, Gord, that's what I thought it meant, though I'm not sure how
this relates to the OP's problem - I think he has multiple entries in
his lookup table and will always find the first exact match and he
doesn't want this, but he is reluctant to give any further details so
I'm not sure how we can help him.

Pete

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default Cell Word Alphabetization

We can wait for OP to follow up, is all.

Gord

On 5 May 2006 17:31:39 -0700, "Pete_UK" wrote:

Thanks, Gord, that's what I thought it meant, though I'm not sure how
this relates to the OP's problem - I think he has multiple entries in
his lookup table and will always find the first exact match and he
doesn't want this, but he is reluctant to give any further details so
I'm not sure how we can help him.

Pete


Gord Dibben MS Excel MVP
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
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
delete cell that doesn't contain a specific word [email protected] Excel Discussion (Misc queries) 1 October 12th 05 05:54 AM
in an excel macro can you import data from word into a cell? Trefor Excel Discussion (Misc queries) 11 October 6th 05 01:49 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Can not see all of a pasted paragraph from Word in a cell. Kat Excel Discussion (Misc queries) 2 December 23rd 04 06:37 PM


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