Top 2 # Xem Nhiều Nhất Cách Sort Trong Excel 2007 Mới Nhất 2/2023 # Top Like | Beiqthatgioi.com

Sắp Xếp Dữ Liệu Trong Excel 2007 2010 (Sort Data)

Cách sắp xếp dữ liệu trong excel 2007 2010 – khi lập các báo cáo trên excel ta thường phát sinh nhu cầu muốn sắp dữ liệu theo một tiêu chí nào đó. Sort data là tên gọi tiếng anh của chức năng sắp xếp dữ liệu trong excel,

Một số ví dụ về tiêu chí sắp xếp dữ liệu trong excel 2007

Sắp xếp danh sách học sinh theo thứ tự abc…

Sắp xếp danh sách điểm thi theo thứ tự điểm cao nhất trở xuống

Sắp xếp tất cả những dòng nào có ô MÀU ĐỎ

Hay có thể sắp xếp theo màu của chữ cũng được.

1. Cách sắp xếp dữ liệu trong excel 2007 2010

Các bạn để ý thấy,

– Trong cột điểm tích lũy, Ad đã dùng conditional formating để tìm ra 2 sinh viên có kết quả điểm tích nhỏ hơn 5 và

– Trong cột điểm trung bình, tương tự nhờ có conditional formating mà ad bôi màu đỏ cho 03 sinh viên có thành tích xuất sắc nhất.

1.1. Sắp xếp dữ liệu trong excel theo thứ tự ABC (alphabe)

Tương ứng với yêu cầu sắp xếp danh sách sinh viên theo tên với thứ tự alphabe

Bước 1:

Bôi đen toàn bộ bảng điểm.

Chọn thẻ “Data” trên thanh ribbon

Chọn Sort

Để sắp xếp dữ liệu trong excel ta cần phải biết:

Sắp xếp theo chỉ tiêu nào. Trong ví dụ này, ta muốn sắp xếp theo TÊN do đó ta chọn cột “Tên Sinh Viên”

Ta có 4 tùy chọn

+ Giá trị của các ô trong cột (chọn ở phần sort by)

+ Cell color: Màu ô

+ Font color: Màu chữ

+ Cell icon: Biểu tượng được chèn vào các ô

Quy luật sắp xếp dữ liệu trong excel

+ Đối với số: sắp xếp từ lớn tới nhỏ và ngược lại từ nhỏ tới lớn

Còn ở trong yêu cầu số 1: Ta không cần phải chỉnh sửa gì thêm ngoài việc chọn Sort by theo cột “Tên sinh viên”

Kết quả thu được như sau:

Bước 1: Bôi đen toàn bộ vùng dữ liệu

Bước 2: Chọn Data/ Sort

Bước 3: Trong cửa sổ “sort” hiện ra bạn chọn như sau:

Sắp xếp theo giá trị (sort on): Values

Sắp xếp theo thứ tự từ cao xuống thấp (order): Largest to smallest

Bước 4: Nhấn OK

Kết quả thu được như sau:

Bước 1, 2, 3: Các bạn làm tương tự như trên.

Trong cửa sổ sort hiện ra bạn sẽ chọn như sau:

– Sắp xếp theo màu chữ (sort on): Font color

– Sắp xếp theo màu nào (order): Kích chọn màu đỏ

– Vị trí hiện màu được sắp xếp: On top (ở trên cùng) hoặc On bottom (ở dưới cùng)

Bước 4 : Nhấn OK.

Kết quả như sau:

2. Cách sắp xếp dữ liệu trong excel 2003

Revert To Original Sort Order In Excel

Bottom line: Learn how to retain and revert to the original sort order of a range or table in Excel.

Skill level: Beginner

Video Tutorial

Often times we receive a data set that does not have a column of sequential numbers or dates. If we sort one or more columns in the range, it can be difficult or impossible to revert back to the original sort order.

One way to solve this problem is to add a column of sequential numbers to the data set. I typically refer to this as an index column.

After sorting the data you can then go back and sort the index column to restore the original sort order.

Setting up the Index Column

It’s important to setup the index column BEFORE you apply any sorting to the data.

Here are the steps to create the index column:

Type a 1 in a blank column to the right of the data range/table.

Select Series from the Auto Fill Options menu to create a sequential list of numbers 1,2,3,…

IMPORTANT: If you are NOT using an Excel Table then you will need to reapply the filters to include this new column. This must be done BEFORE you sort the other columns so that the index column is included in the sort.

If you are using an Excel Table then you do not have to worry about step 4. The new column will automatically be included in the table as long as you create it directly to the right of the last column. See the video above for more details.

Checkout my video on a Beginner’s Guide to Excel Tables to learn more about the benefits of using this awesome feature of Excel.

Here is another method for using the fill handle.

Checkout my article on Fill Handle Hacks to learn more about this technique.

Other Techniques for Retaining Sort Order?

My friend Robbie asked me this question about retaining sort order the other day, which sparked the idea for this post, and this index column method is the one I’ve always used.

I’ve also mentioned it before in my article on how to prevent Excel from freezing when deleting rows.

However, I’m curious to know if you have other techniques or methods to solve this problem. Is there a different or better way?

Sorting And Filtering Data With Excel

As you can see, the order dates, order numbers, prices, etc. are all out of order. Let’s get started on running some sorting and filtering techniques.

Sorting Data

Go down to the Sort option – when hovering over Sort the sub-menu will appear

Select Expand the selection

The whole table has now adjusted for the sorted column. Note: when the data in one column is related to the data in the remaining columns of the table, you want to select Expand the selection. This will ensure the data in that row carries over with sorted column data.

Filtering Data

The filter feature applies a drop down menu to each column heading, allowing you to select specific choices to narrow a table. Using the above example, let’s say you wanted to filter your table by Company and Salesperson. Specifically, you want to find the number of sales Dylan Rogers made to Eastern Company.

To do this using the filter you would:

Go to the Data tab on Excel ribbon

Select the Filter tool

Select Eastern Company from the dropdown menu

Select Dylan Rogers from the Salesperson dropdown menu

Boom – you now have the exact number of sales Dylan Rogers made to Eastern Company.

The Sort & Filter Tool

In the following GIF, we can see how the Custom Sorting tool can be used to sort date ranges or price ranges.

But notice how this example is either/or. What if you wanted to sort by date and by price? This where the Custom Sort option really comes in handy. After selecting your first sorting conditions, you can add a level to get event more accurate data:

As you can see, Excel offers a variety of sorting and filtering tools to help you refine your data and keep it organized. We hope you found today’s tips useful. Now go out there and get your data sorted!

Use Learn Excel Now to help with all your Excel questions and training needs.  We’re not just experts in Excel, there is content, free resources, and training courses available for Word, Outlook and more.

How To Sort Lists In Excel 2003

Use these tips to prevent problems when sorting in Excel. How to sort two or more columns, sort by row, sort in a Custom Order. For Excel 2007 and later, see the Sorting Data Basics page

Using the Sort Buttons

In Excel, it’s easy to sort your data by using the Sort buttons on the toolbar. But, be careful, or one column may be sorted, while others are not.

Select one cell in the column you want to sort.

Sort Data by One Column

Select all the cells in the list. This is the safest approach to sorting. In most cases, you can select one cell and Excel will correctly detect the rest of the list — but it’s not 100% certain. Some of the data may be missed.

From the Sort by dropdown, select the column you want to sort.Note: If the dropdown is showing Column letters instead of headings, change the setting forMy list has, fromNo header row to Header row.

Select to sort in Ascending or Descending order

Sort Data by 2-3 Columns

Select all the cells in the list.

From the Sort by dropdown, select the first column you want to sort.

Select to sort in Ascending or Descending order

From the Then by dropdown, select the second column you want to sort.

Select to sort in Ascending or Descending order

From the Then by dropdown, select the third column you want to sort.

Select to sort in Ascending or Descending order

Sort Data by 4+ Columns

Occasionally, you may need to sort by more than three columns. For example, in a mailing list, you may want to sort by Country, Region, City, and Name. To do this, you can sort the list multiple times, starting with the least important sort.

In the mailing list, there are four columns to sort. Name and City are the least important fields in the sorting process, so they can be sorted first.

Excel will retain what it can of this sort while you sort by the remaining fields.

From the Sort by dropdown, select Country.

From the Then by dropdown, select Region.

After sorting, the list is sorted by Country, then by Region, then by City and finally by Name.

More Tutorials

Sort Data With Macros Sorting Data Basics Sort a Row in Excel Numbers Don’t Sort Correctly