sorting on text within a cell

clambson

New Member
Joined
Dec 15, 2005
Messages
2
Normal sort occurs on the first word of the text string within a cell, I think. I want to find all the occurences of the word 'President' in column E, and then sort on columns A,B,C, which is company name, first name, last name, etc.

any ideas?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I forgot the hard bit.....even if the text string in column E says Assistant Vice President, or Vice President, etc., where President is not the first word in the text string.
 
Upvote 0
Hi

How about sorting by columns A, B and C then using a filter (autofilter???) to filter out all those items that have "President" in column E.


Tony
 
Upvote 0
Welcome to the Board!

It might be easiest to add an intermediate column and use =RIGHT(E1,9) to isolate the word "President", then sort on that column.

Hope that helps,

Smitty
 
Upvote 0
Try using another column with

=ISNUMBER(SEARCH("president",E1))

this will give TRUE or FALSE, sort on that and then sort the rest
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,727
Members
449,049
Latest member
MiguekHeka

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top