Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default sorting using a second word in a cell

I was just wondering if there is a way to sort columns by using the second
word in a cell? and if so how would i go about it?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default sorting using a second word in a cell

You would need to create a help column then use a formula to extract that
second word, then sort by the help column


--

Regards,

Peo Sjoblom





"sonia" wrote in message
...
I was just wondering if there is a way to sort columns by using the second
word in a cell? and if so how would i go about it?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default sorting using a second word in a cell

Sonia,

In another column, put something like:

=MID(A2,FIND(" ",A2)+1,9999)
or less sloppy:
=RIGHT(A2,LEN(A2)-FIND(" ",A2))

It should yield the text in A2 without the first word. Sort on that column. This is for
where column A is the column on which you want to sort on the second word.

--
Regards from Virginia Beach,

Earl Kiosterud
www.smokeylake.com

Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"sonia" wrote in message
...
I was just wondering if there is a way to sort columns by using the second
word in a cell? and if so how would i go about it?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default sorting using a second word in a cell

Thanks Earl, that helped heaps

"Earl Kiosterud" wrote:

Sonia,

In another column, put something like:

=MID(A2,FIND(" ",A2)+1,9999)
or less sloppy:
=RIGHT(A2,LEN(A2)-FIND(" ",A2))

It should yield the text in A2 without the first word. Sort on that column. This is for
where column A is the column on which you want to sort on the second word.

--
Regards from Virginia Beach,

Earl Kiosterud
www.smokeylake.com

Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"sonia" wrote in message
...
I was just wondering if there is a way to sort columns by using the second
word in a cell? and if so how would i go about it?




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
how to copy the first word or two words from a cell containing a complete sentence to another cell jonny Excel Discussion (Misc queries) 7 May 19th 23 03:43 AM
How do a put a word on top of a word in a cell? Michelle Excel Discussion (Misc queries) 2 March 4th 07 11:07 PM
Add word in cell changes to word TRUE Joey041 Excel Discussion (Misc queries) 3 September 11th 06 03:47 AM
how do I make a word typed in a cell go to a specific cell in anot Lmatarazzo Excel Discussion (Misc queries) 3 April 21st 05 04:29 AM
Copy Word table into Excel cell by cell hg Excel Discussion (Misc queries) 3 December 15th 04 04:43 PM


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