Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
bpreas - ExcelForums.com
 
Posts: n/a
Default How can I find and sort specific data within a column?

I have data in a column that always begins with a letter and ends with
a number. R1 G3 B1 etc. I need to sort all data in ascending order
except anything that begins with the letter B. These must be sorted
descending. Can this be done?

  #2   Report Post  
Bryan Hessey
 
Posts: n/a
Default


Manually yes, select the column and sort ascending, then select the B
items (now blocked together) and sort descending.

As an automated happening I have not much of an idea.

bpreas - ExcelForums.com Wrote:
I have data in a column that always begins with a letter and ends with
a number. R1 G3 B1 etc. I need to sort all data in ascending order
except anything that begins with the letter B. These must be sorted
descending. Can this be done?



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=392035

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Add a helper column

=IF(LEFT(A1,1)="B","ZZZZZZ",A1)

copy down and sort all columns with the helper column as key.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bryan Hessey"
wrote in message
news:Bryan.Hessey.1t4hyb_1122962706.8926@excelforu m-nospam.com...

Manually yes, select the column and sort ascending, then select the B
items (now blocked together) and sort descending.

As an automated happening I have not much of an idea.

bpreas - ExcelForums.com Wrote:
I have data in a column that always begins with a letter and ends with
a number. R1 G3 B1 etc. I need to sort all data in ascending order
except anything that begins with the letter B. These must be sorted
descending. Can this be done?



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile:

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



  #4   Report Post  
bpreas - ExcelForums.com
 
Posts: n/a
Default

Thanks for the help!

Using multiples of the formula Bob Phillips provided I have created a
macro to complete this task.

Thanks again.

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 data from 1 work sheet into another andrewgwatson Excel Worksheet Functions 0 June 1st 05 03:10 AM
Pull Current Month's Data Out of List - Repost Karl Burrows Excel Discussion (Misc queries) 4 May 3rd 05 01:06 AM
sort column data with hidden columns - excel 2003 nanimadrina Excel Discussion (Misc queries) 2 April 26th 05 08:27 PM
How to sort/update large excel db [email protected] Excel Discussion (Misc queries) 0 February 2nd 05 01:43 AM
data sort by highlighted or coloured cell aplex Excel Worksheet Functions 2 January 4th 05 12:52 PM


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