You are here:

# Excel/Sorting multiple columns sequentially in Excel 2010

Question
Hi I have excel 2010 and I am trying to figure out a way to sort my data sequentially. Below is a sample of the data I have:

Name     1 Due Date     2 Due Date
A         05/23/15       05/23/15
B         01/15/15       01/14/16
C         04/21/16       11/14/15
D         10/07/15       10/15/16
E         11/02/15       12/09/15
F         11/20/15       12/11/16

And this is how I would like the data to then sort:

Name     1 Due Date     2 Due Date
B         01/15/15       01/14/16
A         05/23/15       05/23/15
D         10/07/15       10/15/16
E         11/02/15       12/09/15
C         04/21/16       11/14/15
F         11/20/15       12/11/16

This keeps the rows intact, and basically examines the 2nd and 3rd columns in each row and determines which date comes first, and then orders the earliest date in order. Does this make sense? That way if a student has two separate assignment due dates, we can schedule our meetings to target the earliest dates (either 1 or 2)in the most logical sequence.

Lesley,

If I understand what you want,

assume "A" is in cell A2.

so in D2 put in the formula
=Min(B2,C2)

then drag fill down column D.

Now sort your data using column D  (select all your data and do a custom sort using the data in column D as the sort Key).  You can delete column D after sorting your data.

--
Regards,
Tom Ogilvy

Questioner's Rating
 Rating(1-10) Knowledgeability = 10 Clarity of Response = 10 Politeness = 10 Comment Not only did Tom find a solution to my problem, but he did it in under 10 minutes!!! You rock!!!

This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

#### Tom Ogilvy

##### Expertise

Selected as an Excel MVP by Microsoft since 1999. Answering Excel questions in Allexperts since its inception in 2001. Able to answer questions on almost all aspects of Excel's internal capabilities. If seeking a VBA solution, please specify that in your question itself so I give you the answer you want. [Excel has weak protection - if you are distributing an application, I don't answer questions on how to protect your project from your users.]

##### Experience

Extensive experience.

Education/Credentials
Master of Science (MS) degree Operations Research (ORSA)

Awards and Honors
Microsoft MVP in Excel.