日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

excel数据透视表_Excel数据透视表排序问题

發(fā)布時(shí)間:2023/12/14 编程问答 19 豆豆
生活随笔 收集整理的這篇文章主要介紹了 excel数据透视表_Excel数据透视表排序问题 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

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è)置:

  • Right-click a cell in the pivot table, and click PivotTable Options.

    右鍵單擊數(shù)據(jù)透視表中的單元格,然后單擊“數(shù)據(jù)透視表選項(xiàng)”。
  • In the PivotTable Options dialog box, click the Totals & Filters tab.

    在“數(shù)據(jù)透視表選項(xiàng)”對(duì)話框中,單擊“總計(jì)和篩選器”選項(xiàng)卡。
  • In the Sorting section, remove the check mark from "Use Custom Lists When Sorting"

    在“排序”部分,從“排序時(shí)使用自定義列表”中刪除復(fù)選標(biāo)記
  • 正確排序 (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)容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。