excel数据透视表_Excel数据透视表排序问题
excel數(shù)據(jù)透視表
Usually, it's easy to sort an Excel pivot table – just click the drop down arrow in a pivot table heading, and select one of the sort options. Occasionally though, you might run into pivot table sorting problems, where some items aren't in A-Z order.
通常,對(duì)Excel數(shù)據(jù)透視表進(jìn)行排序很容易–只需單擊數(shù)據(jù)透視表標(biāo)題中的下拉箭頭,然后選擇一種排序選項(xiàng)即可。 但是,有時(shí)您可能會(huì)遇到數(shù)據(jù)透視表排序問題,其中某些項(xiàng)目不是按AZ順序排列的。
數(shù)據(jù)透視表排序問題 (Pivot Table Sorting Problems)
In some cases, the pivot table items might not sort the way that you'd expect. In this example, there are sales representative names in column A, and they have been sorted alphabetically, A-Z.
在某些情況下,數(shù)據(jù)透視表項(xiàng)可能無法按照您期望的方式排序。 在此示例中,列A中有銷售代表姓名,并且已經(jīng)按字母順序?qū)λ鼈冞M(jìn)行了排序。
However, after sorting the items, Jan is at the top of the list, instead of Ann. The rest of the items are sorted correctly, but Jan is the exception.
但是,對(duì)項(xiàng)目進(jìn)行排序后,Jan在列表的頂部,而不是Ann。 其余項(xiàng)目已正確排序,但Jan例外。
NOTE: There are more pivot table sorting tips on my Contextures website.
注意 : 我的Contextures網(wǎng)站上有更多數(shù)據(jù)透視表排序提示 。
為什么排序不正確 (Why the Sort is Incorrect)
In this example, Jan is at the top of the list, because Excel assumes Jan means January, and "Jan" is in one of Excel's built-in custom lists.
在此示例中,Jan在列表的頂部,因?yàn)镋xcel假定Jan表示Jan,而“ Jan”在Excel的內(nèi)置自定義列表之一中 。
There are built-in custom lists of weekday names and month names -- both the full names (January, February, etc.), and 3-letter versions (Jan, Feb, Mar, etc.).
有內(nèi)置的自定義工作日名稱和月份名稱列表-全名(一月,二月等)和三字母版本(一月,二月,三月等)。
In addition to the built-in custom lists, you can also create your own custom lists, such as districts, or departments, or other lists of items.
除了內(nèi)置的自定義列表,您還可以創(chuàng)建自己的自定義列表,例如地區(qū),部門或其他項(xiàng)目列表。
自定義列表和數(shù)據(jù)透視表 (Custom Lists and Pivot Tables)
By default, Excel's custom lists take precedence when you're sorting labels in a pivot table. The built-in lists and the custom lists that you create, will both affect the pivot table sorting.
默認(rèn)情況下,在對(duì)數(shù)據(jù)透視表中的標(biāo)簽進(jìn)行排序時(shí),Excel的自定義列表優(yōu)先。 您創(chuàng)建的內(nèi)置列表和自定義列表都將影響數(shù)據(jù)透視表的排序。
Fortunately, if things don't sort the way that you need them to, you can fix the problem, by changing a pivot table setting.
幸運(yùn)的是,如果事情沒有按照需要的方式進(jìn)行排序,則可以通過更改數(shù)據(jù)透視表設(shè)置來解決問題。
修復(fù)數(shù)據(jù)透視表排序問題 (Fix Pivot Table Sorting Problems)
To prevent the custom lists from taking precedence when sorting a pivot table, follow these steps to change the setting:
要防止自定義列表在對(duì)數(shù)據(jù)透視表進(jìn)行排序時(shí)優(yōu)先,請(qǐng)按照以下步驟更改設(shè)置:
正確排序 (Sorting Correctly)
After you adjust that pivot table setting, the list of names changes, and Ann is shown at the top, instead of Jan.
調(diào)整數(shù)據(jù)透視表設(shè)置后,名稱列表將更改,并且Ann顯示在頂部,而不是Jan。
更多數(shù)據(jù)透視表排序提示 (More Pivot Table Sorting Tips)
If this tip didn't fix your sorting problem, go to the Pivot Table Sorting page on my Contextures site. There's more information there, to help you fix sorting problems and macros to make sorting easier.
如果此技巧不能解決您的排序問題, 請(qǐng)轉(zhuǎn)到Contextures網(wǎng)站上的“數(shù)據(jù)透視表排序”頁面 。 那里有更多信息,可幫助您解決排序問題和宏,從而使排序更加容易。
翻譯自: https://contexturesblog.com/archives/2011/09/30/excel-pivot-table-sorting-problems/
excel數(shù)據(jù)透視表
總結(jié)
以上是生活随笔為你收集整理的excel数据透视表_Excel数据透视表排序问题的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: QT设置默认最大化窗口
- 下一篇: 在cordova中处理原生键盘相关问题的