Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Reordering column to match list

Hi,

Im trying to set the order of the list within a column to match that of
another list within the worksheet ie.

A B C D

Swick Northerly Comment about Northerly
Forensics Sebring Comment about Sebring
Sebring Sunline Comment about Sunline
Northerly Forensics Comment about Forensics
Sunline Swick Comment about Swick


Column A is in correct order whereas column C isn't.

Ideally I'm trying to get the contents of column D to correctly match up
with each entry in column A so that there is only the list on the left
followed by the corresponding comment.

I've tried sorting and various other methods without success ... can someone
help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Reordering column to match list

Can I assume that the 'Comment about Northerly' contains the word 'Northerly'
and so on?

"Mickoz" wrote:

Hi,

Im trying to set the order of the list within a column to match that of
another list within the worksheet ie.

A B C D

Swick Northerly Comment about Northerly
Forensics Sebring Comment about Sebring
Sebring Sunline Comment about Sunline
Northerly Forensics Comment about Forensics
Sunline Swick Comment about Swick


Column A is in correct order whereas column C isn't.

Ideally I'm trying to get the contents of column D to correctly match up
with each entry in column A so that there is only the list on the left
followed by the corresponding comment.

I've tried sorting and various other methods without success ... can someone
help?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Reordering column to match list

The comment doesn't contain the name, it's always in the cell to the left of
it.

"Sheeloo" wrote:

Can I assume that the 'Comment about Northerly' contains the word 'Northerly'
and so on?

"Mickoz" wrote:

Hi,

Im trying to set the order of the list within a column to match that of
another list within the worksheet ie.

A B C D

Swick Northerly Comment about Northerly
Forensics Sebring Comment about Sebring
Sebring Sunline Comment about Sunline
Northerly Forensics Comment about Forensics
Sunline Swick Comment about Swick


Column A is in correct order whereas column C isn't.

Ideally I'm trying to get the contents of column D to correctly match up
with each entry in column A so that there is only the list on the left
followed by the corresponding comment.

I've tried sorting and various other methods without success ... can someone
help?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Reordering column to match list

In B1 enter
=VLOOKUP(A1,C:D,2,false) and copy down...

Once you verify that the you got the right comments in Col B against entries
in Col A,
Select Col B, Edit-Copy then Edit-Paste Special-Values...

You can then delete Col C & D

"Mickoz" wrote:

The comment doesn't contain the name, it's always in the cell to the left of
it.

"Sheeloo" wrote:

Can I assume that the 'Comment about Northerly' contains the word 'Northerly'
and so on?

"Mickoz" wrote:

Hi,

Im trying to set the order of the list within a column to match that of
another list within the worksheet ie.

A B C D

Swick Northerly Comment about Northerly
Forensics Sebring Comment about Sebring
Sebring Sunline Comment about Sunline
Northerly Forensics Comment about Forensics
Sunline Swick Comment about Swick


Column A is in correct order whereas column C isn't.

Ideally I'm trying to get the contents of column D to correctly match up
with each entry in column A so that there is only the list on the left
followed by the corresponding comment.

I've tried sorting and various other methods without success ... can someone
help?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Reordering column to match list

Woohoo vlookup ... works a treat .... had problems at first try with leading
spaces and (160) spaces hampering the process - once they were gone I was
home free - Thank you

"Sheeloo" wrote:

In B1 enter
=VLOOKUP(A1,C:D,2,false) and copy down...

Once you verify that the you got the right comments in Col B against entries
in Col A,
Select Col B, Edit-Copy then Edit-Paste Special-Values...

You can then delete Col C & D

"Mickoz" wrote:

The comment doesn't contain the name, it's always in the cell to the left of
it.

"Sheeloo" wrote:

Can I assume that the 'Comment about Northerly' contains the word 'Northerly'
and so on?

"Mickoz" wrote:

Hi,

Im trying to set the order of the list within a column to match that of
another list within the worksheet ie.

A B C D

Swick Northerly Comment about Northerly
Forensics Sebring Comment about Sebring
Sebring Sunline Comment about Sunline
Northerly Forensics Comment about Forensics
Sunline Swick Comment about Swick


Column A is in correct order whereas column C isn't.

Ideally I'm trying to get the contents of column D to correctly match up
with each entry in column A so that there is only the list on the left
followed by the corresponding comment.

I've tried sorting and various other methods without success ... can someone
help?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Reordering column to match list

Great, thanks. I love VLOOKUP (and SUMPRODUCT)

In this particular case you could have used a simple sort on only Col C &
D... you must have tried that but it probably did not work due to 'spaces'

"Mickoz" wrote:

Woohoo vlookup ... works a treat .... had problems at first try with leading
spaces and (160) spaces hampering the process - once they were gone I was
home free - Thank you

"Sheeloo" wrote:

In B1 enter
=VLOOKUP(A1,C:D,2,false) and copy down...

Once you verify that the you got the right comments in Col B against entries
in Col A,
Select Col B, Edit-Copy then Edit-Paste Special-Values...

You can then delete Col C & D

"Mickoz" wrote:

The comment doesn't contain the name, it's always in the cell to the left of
it.

"Sheeloo" wrote:

Can I assume that the 'Comment about Northerly' contains the word 'Northerly'
and so on?

"Mickoz" wrote:

Hi,

Im trying to set the order of the list within a column to match that of
another list within the worksheet ie.

A B C D

Swick Northerly Comment about Northerly
Forensics Sebring Comment about Sebring
Sebring Sunline Comment about Sunline
Northerly Forensics Comment about Forensics
Sunline Swick Comment about Swick


Column A is in correct order whereas column C isn't.

Ideally I'm trying to get the contents of column D to correctly match up
with each entry in column A so that there is only the list on the left
followed by the corresponding comment.

I've tried sorting and various other methods without success ... can someone
help?

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
Reordering and combining data Chris Excel Discussion (Misc queries) 3 September 4th 08 03:20 PM
Reordering part of a list with VBA [email protected] Excel Worksheet Functions 3 April 16th 07 03:22 AM
Reordering a List in Numerical Order Bob Excel Worksheet Functions 13 December 5th 06 11:57 AM
match word in one column form list in another Filter by first letter Excel Worksheet Functions 4 July 25th 06 01:16 AM
Reordering Bars in Bar Graphs [email protected] Charts and Charting in Excel 0 July 18th 06 05:58 PM


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