Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
scr scr is offline
external usenet poster
 
Posts: 10
Default Matching or Sorting multiple columns of data

I receive a spreadsheet that has 183 rows of data and 13 columns.

I would like to sort so that they are grouped together so if anything that
matches row 1 exactly falls in line after row 1. Then the next group would
match exactly and so on.

What can I do? I tried the Exact function but couldn't get that to work but
I've never used it before. Is that something that should work in this
scenario or is there another way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Matching or Sorting multiple columns of data

If you have any date columns then format them as yyyymmdd.
Then in Col N enter
=A1&B1&C1.... &M1 (all columns with & in between each)
then sort on Col N after selecting the whole range Col A-M

or you can do the following;
Excel allows you to sort on a maximum of 3 columns at a time.

You will have to sort 3 columns at a time...
Select the whole range (all 13 columns) then sort on last 3 columns (K-M)
Next sort on (H-J), then (E-G), (B-D) and at the end only on Col A

Save a copy first. Also to test whether this will work on your data first
sort only Cos B-D and then on A
Rows with same values in Col A-D should be together


Let me know how it goes and which method you tried.

"scr" wrote:

I receive a spreadsheet that has 183 rows of data and 13 columns.

I would like to sort so that they are grouped together so if anything that
matches row 1 exactly falls in line after row 1. Then the next group would
match exactly and so on.

What can I do? I tried the Exact function but couldn't get that to work but
I've never used it before. Is that something that should work in this
scenario or is there another way to do this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Matching or Sorting multiple columns of data

Hi,

You can use sort. Since you don't seem to care which columns are sorted
how, you put your cursor into a single cell in column 13 and click Sort
Ascending, click a single cell in column 12 and repeat the sort. Move from
left to right doing each column once.

Alternately, choose Data, Sort and specifiy the first column as the first
sort order, and the second column as the "And then" sort order, and the 3rd
column as the 3 level sort order. Click sort. Repeat this until you have
done all 13 columns.

In 2007, you can define the sort order for all 13 columns at once and then
sort.

--
Thanks,
Shane Devenshire


"scr" wrote:

I receive a spreadsheet that has 183 rows of data and 13 columns.

I would like to sort so that they are grouped together so if anything that
matches row 1 exactly falls in line after row 1. Then the next group would
match exactly and so on.

What can I do? I tried the Exact function but couldn't get that to work but
I've never used it before. Is that something that should work in this
scenario or is there another way to do this?

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
Sorting data in multiple columns Sadie5757 Excel Worksheet Functions 2 June 16th 08 05:26 PM
Sorting columns and Matching Jeremy Excel Discussion (Misc queries) 2 July 21st 06 07:56 AM
Sorting Data From One Column into Multiple Columns Justin Hoffmann Excel Worksheet Functions 2 July 12th 06 04:15 PM
sorting data across multiple columns Spiderman Excel Discussion (Misc queries) 2 October 6th 05 11:55 PM
Matching data in multiple columns BuddyB Excel Discussion (Misc queries) 1 February 27th 05 08:05 PM


All times are GMT +1. The time now is 11:27 AM.

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"