How to set mixed condition sorting in Excel

Source: Internet
Author: User

This Excel tutorial, teaches everybody how to set up the mixed condition sorting method in the table, learns this mixed condition to order, greatly saves the time for our work, that since so practical, then we will take a look!

The specific solutions are as follows:

Date data begins in cell A2, and the following b,c,d columns are named "Year", "Month", and "Day" respectively. Then enter "=year (A2)" in B2 and enter "=month (A2)" In the C2, and enter "D2 (=day)" in the A2. Drag and drop the row that contains the last data for the B2, C2, D2 to column A.

Arrange dates in reverse order of year, but in chronological sequence between dates of the same year

Click anywhere in the Excel 2007 table, click Start-Sort and filter-custom sort, and then in the Sort dialog box that pops up, complete the following settings: The primary keyword is "year", sorted by "numeric", and in descending order;

Then click the Add Condition button, which is similar to the primary keyword, set to Month, numeric, ascending, and then click Add Condition to set to day, value, ascending, and then click OK when you have completed the settings above.

After getting the sort sequence you need, you can hide or delete the three columns of data that we added in order to sort.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.