Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Possible to sort part of a cell?

If you make a dummy column and extract the last name

assume the example is in A1. Then in B1 enter

=MID(A1,FIND(".",A1)+1,FIND("@",A1)-FIND(".",A1)-1)

And drag fill down the column. Now sort columns A and B with B as the key
column.

--
Regards,
Tom Ogilvy


"helios02" wrote in
message ...

I have a column with email addresses in the format:
. Is it possible to sort these in
order based on the last name?


--
helios02
------------------------------------------------------------------------
helios02's Profile:

http://www.excelforum.com/member.php...o&userid=29791
View this thread: http://www.excelforum.com/showthread...hreadid=494969



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Possible to sort part of a cell?

try putting this in a helper column
=MID(E6,FIND(".",E6)+1,FIND("@",E6)-FIND(".",E6)-1)
--
Don Guillett
SalesAid Software

"helios02" wrote in
message ...

I have a column with email addresses in the format:
. Is it possible to sort these in
order based on the last name?


--
helios02
------------------------------------------------------------------------
helios02's Profile:
http://www.excelforum.com/member.php...o&userid=29791
View this thread: http://www.excelforum.com/showthread...hreadid=494969



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Possible to sort part of a cell?


Thanks, it works.


--
helios02
------------------------------------------------------------------------
helios02's Profile: http://www.excelforum.com/member.php...o&userid=29791
View this thread: http://www.excelforum.com/showthread...hreadid=494969

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Possible to sort part of a cell?

glad to help but Tom was faster.

--
Don Guillett
SalesAid Software

"helios02" wrote in
message ...

Thanks, it works.


--
helios02
------------------------------------------------------------------------
helios02's Profile:
http://www.excelforum.com/member.php...o&userid=29791
View this thread: http://www.excelforum.com/showthread...hreadid=494969





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
sort part of a filtered spreadsheet jfaulks Excel Worksheet Functions 1 October 6th 09 07:38 AM
Search/Match/Find ANY part of string to ANY part of Cell Value TWhizTom Excel Worksheet Functions 0 July 21st 08 08:16 PM
using part of a cell to sort a list into groups LadyHawk Excel Discussion (Misc queries) 2 June 19th 08 11:36 PM
Sort by part of a number sacredarms New Users to Excel 2 July 25th 06 06:48 PM
sort (on part of) string - originally posted under Tricky Sort Tom Ogilvy Excel Programming 0 August 6th 04 02:42 AM


All times are GMT +1. The time now is 10:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"