Monday, May 16, 2016

How to Sort in Excel: A Simple Guide to Organizing Data

How_to_Sort_in_Excel.jpg

When it comes to Excel, here’s a good rule of thumb: If you start to do something manually, it probably means there is an easier way to do it. Whether you are trying to remove duplicates, do simple calculations, or sort your data, you can almost always find a workaround that’ll help you get it done with just a click (or two) of a button. 

But if you’re not a power user, it’s easy to overlook these shortcuts. And before you know it, something as simple as organizing a list of names in alphabetical order can suck up a ton of your time. 

Luckily, there is a workaround for that. In fact, there are a few different ways to use Excel's sorting feature that you may not know about. Let’s check them out below …

How to Sort in Excel: 5 Useful Options

1) Sorting from A to Z

Let’s start out with the basics. Sometimes you may have a list of data that has no organization whatsoever. Maybe you exported a list of your marketing contacts or blog posts. Whatever the case may be, you might want to start by alphabetizing the list. 

To do this on a Mac:

  1. Click on the data in the column you want to sort.
  2. Click on the “Data” tab in your toolbar and look for the “Sort” option on the left.
  3. If the “A” is on top of the “Z,” you can just click on that button once. If the “Z” is on top of the “A,” click on the button twice. Note: When the “A” is on top of the “Z,” that means your list will be sorted in alphabetical order. However, when the “Z” is on top of the “A,” that means your list will be sorted in reverse alphabetical order.

Excel_Sorting_-_A_to_Z.gif

To do this on a PC:

  1. Click on the data in the column you want to sort.
  2. Click on the “Data” tab in your toolbar. You will see Sort options in the middle.
  3. Click on the icon above the word “Sort.” A pop-up will appear: If you have headers, make sure “My list has headers” is checked. If it is, click “Cancel.”
  4. Click on the button that has the “A” on top and the “Z” on the bottom with an arrow pointing down. That will sort your list alphabetically from “A” to “Z." If you want to sort your list in reverse alphabetical order, click on the button that has the "Z” on top and the “A” on the bottom.

Excel_Sorting_A_to_Z_on_PC.gif

2) Sorting Multiple Columns

Sometimes you don’t just want to sort one column, but you want to sort two. Let’s say you want to organize all of your blog posts that you have in a list by the month they were published. First, you’d want to organize them by date, and then by the blog post title or URL.

In this example, I want to sort my list first by house, and then by last name. This would give me a list organized by each house, but also alphabetized within each house.  

To do this on a Mac:

  1. Click on the data in the column you want to sort.
  2. Click on the “Data” tab in your toolbar and look for the “Sort” option on the left.
  3. Click on the small arrow to the left of the “A to Z” Sort icon. Then, select "Custom Sort" from the menu. 
  4. A pop-up will appear: If you have headers, make sure “My list has headers” is checked.
  5. You will see five columns. Under “Column” select the first column you want to sort from the dropdown menu. (In this case, it is “House.”)
  6. Then, click on the “+” sign at the bottom left of the pop-up. Under where it says “Column,” select “Last Name” from the dropdown.
  7. Check the “Order” column to make sure it says A to Z. Then click “OK.”
  8. Marvel at your beautiful organized list.

multiple_columns_sort_mac-1.gif

To do this on a PC:

  1. Click on the data in the column you want to sort.
  2. Click on the “Data” tab in your toolbar. You will see “Sort” options in the middle.
  3. Click on the icon above the word “Sort.” You will see a pop-up appear. Make sure “My data has headers” is checked if you have column headers. 
  4. You will see three columns. Under “Column” select the first column you want to sort from the dropdown menu. (In this case, it is “House.”)
  5. Then click on “Add Level” at the top left of the pop-up. Under where it says “Column” select “Last Name” from the dropdown.
  6. Check the “Order” column to make sure it says A to Z. Then click “OK.”
  7. Marvel at your beautiful organized list.

Excel_Multiple_Column_Sorting_A_to_Z_on_PC.gif

3) Sorting in Custom Order

Sometimes you don’t want to sort by A to Z or Z to A. Sometimes you want to sort by something else such as months, days of the week, or some other organizational system.

In situations like this you can create your own custom order to specify exactly the order you want the sort. (It follows a similar path to multiple columns but is slightly different.)

Let’s say we have everyone’s birthday month at Hogwarts, and we want everyone to be sorted first by Birthday Month, then by House, and then by Last Name.

To do this on a Mac:

  1. Click on the data in the column you want to sort.
  2. Click on the “Data” tab in your toolbar. You will see “Sort” all the way to the left.
  3. Click on the small arrow to the left of the “A to Z” Sort icon. Then, select “Custom Sort” from the menu.
  4. A pop-up will appear: If you have headers, make sure “My list has headers” is checked.
  5. You will see five columns. Under “Column,” select the first column in your spreadsheet you want to sort from the dropdown menu. In this case, it is “Birthday Month.”
  6. Under the “Order” column, click on the dropdown next to “A to Z.” Select the option for “Custom List.”
  7. You will see a couple of options (month and day). Select the month list where the months are spelled out, as that matches the data. Click “OK.”
  8. Then click on the “+” sign at the bottom left of the pop-up. Under “Column,” select “House” from the dropdown.
  9. Click on the “+” sign at the bottom left again. Under “Column,” select “Last Name” from the dropdown.
  10. Check the “Order” column to make sure “House” and “Last Name” say A to Z. Then click “OK.”
  11. Marvel at your beautiful organized list.

custom_order_Mac.gif

To do this on a PC:

  1. Click on the data in the column you want to sort.
  2. Click on the “Data” tab in your toolbar. You will see “Sort” options in the middle.
  3. Click on the icon above the word “Sort.” You will see a pop-up appear: If you have headers, make sure “My list has headers” is checked.
  4. You will see three columns. Under “Column,” select the first column you want to sort from the dropdown. In this case, it is “Birthday Month.”
  5. Under the “Order” column, click on the dropdown next to “A to Z.” Select the option for “Custom List.”
  6. You will see a couple of options (month and day), as well as the option to create your own custom order. Select the month list where the months are spelled out, as that matches the data. Click “OK.”
  7. Then, click on “Add Level” at the top left of the pop-up. Under “Column,” select “House” from the dropdown.
  8. Click on the “Add Level” button at the top left of the pop-up again. Under “Column,” select “Last Name” from the dropdown.
  9. Check the “Order” column to make sure “House” and “Last Name” say A to Z. Then click “OK.”
  10. Marvel at your beautiful organized list.

Excel_Custom_Sort_on_PC.gif

4) Sorting a Row

Sometimes your data may appear in rows instead of columns. When that happens you are still able to sort your data with a slightly different step.

To do this on a Mac:

  1. Click on the data in the row you want to sort.
  2. Click on the “Data” tab in your toolbar. You will see “Sort” all the way to the left.
  3. Click on the small arrow to the left of the “A to Z” Sort icon. Then, select “Custom Sort” from the menu.
  4. A pop-up will appear: Click on “Options” at the bottom.
  5. Under “Orientation” select “Sort left to right.” Then, click “OK.”
  6. You will see five columns. Under “Row,” select the row number that you want to sort from the dropdown. (In this case, it is Row 1.) When you are done, click “OK.”

row_sorting_mac.gif

To do this on a PC:

  1. Click on the data in the row you want to sort.
  2. Click on the “Data” tab in your toolbar. You will see “Sort” options in the middle.
  3. Click on the icon above the word “Sort.” You will see a pop-up appear.
  4. Click on “Options” at the bottom.
  5. Under “Orientation” select “Sort left to right.” Then, click “OK.”
  6. You will see three columns. Under “Row,” select the row number that you want to sort from the dropdown. (In this case, it is Row 1.) When you are done, click “OK.”

Row_Sorting_PC.gif

5) Sort Your Conditional Formatting

If you use conditional formatting to change the color of a cell, add an icon, or change the color of a font, you can actually sort by that, too.

In the example below, I’ve used colors to signify different grade ranges: If they have a 90 or above, the cell appears green. Between 80-90 is yellow. Below 80 is red. Here’s how you’d sort that information to put the top performers at the top of the list. I want to sort this information so that the top performers are at the top of the list.

To do this on a Mac:

  1. Click on the data in the row you want to sort.
  2. Click on the “Data” tab in your toolbar. You will see “Sort” all the way to the left.
  3. Click on the small arrow to the left of the “A to Z” Sort icon. Then, select “Custom Sort” from the menu.
  4. A pop-up will appear: If you have headers, make sure “My list has headers” is checked.
  5. You will see five columns. Under “Column,” select the first column you want to sort from the dropdown. In this case, it is “Grades.”
  6. Under the column that says “Sort On,” select “Cell Color”.
  7. In the last column that says “Color/Icon,” select the green bar.
  8. Then click on the “+” sign at the bottom left of the pop-up. Repeat steps 5-6. Instead of selecting green under “Color/Icon,” select the yellow bar.
  9. Then click on the “+” sign at the bottom left of the pop-up. Repeat steps 5-6. Instead of selecting green under “Color/Icon,” select the red bar.
  10. Click “OK.”

sort_conditional_formatting_mac.gif

To do this on a PC:

  1. Click on the data in the row you want to sort.
  2. Click on the “Data” tab in your toolbar. You will see “Sort” options in the middle.
  3. Click on the icon above the word “Sort." A pop-up will appear: If you have headers, make sure "My list has headers” is checked.
  4. You will see three columns. Under “Column” select the first column you want to sort from the dropdown. In this case, it is “Grades.”
  5. Under the column that says “Sort On,” select “Cell Color”.
  6. In the last column that says “Order,” select the green bar.
  7. Click on “Add Level.” Repeat steps 4-5. Instead of selecting green under “Order,” select the yellow bar.
  8. Click on “Add Level” again. Repeat steps 4-5. Instead of selecting yellow under “Order,” select the red bar.
  9. Click “OK.”

conditional_formatting_pc.gif

What other Excel tips and tricks do you want to learn more about? Share your ideas below. 

free guide: how to use excel

from HubSpot Marketing Blog http://ift.tt/1TgyNlJ via web video marketing
from Tumblr http://ift.tt/24UyBzW

No comments:

Post a Comment