精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學(xué)習(xí)啦>學(xué)習(xí)電腦>工具軟件>辦公軟件學(xué)習(xí)>Excel教程>Excel2013教程>

      Excel數(shù)據(jù)透視表什么是顯示和隱藏數(shù)據(jù)項(xiàng)

      時間: 錦暉0 分享

      Excel表格的使用中,熟練掌握一些數(shù)據(jù)操作技巧還是很使用的,比如需要顯示和隱藏數(shù)據(jù)項(xiàng)。以下是學(xué)習(xí)啦小編為您帶來的關(guān)于Excel數(shù)據(jù)透視表顯示和隱藏數(shù)據(jù)項(xiàng),希望對您有所幫助。

      Excel數(shù)據(jù)透視表顯示和隱藏數(shù)據(jù)項(xiàng)

      顯示所有數(shù)據(jù)項(xiàng)

      在數(shù)據(jù)透視表中,每個字段右側(cè)都有一個小箭頭,點(diǎn)擊可下拉打開一個數(shù)據(jù)項(xiàng)列表.

      1. 在Excel中, 除頁字段這外其它字段下拉時都有一個包含復(fù)選框的列表,第一個復(fù)選框本身就有“顯示全部”數(shù)據(jù)項(xiàng).

      2. 選中此復(fù)選框,將顯示據(jù)有數(shù)據(jù)項(xiàng).

      隱藏數(shù)據(jù)項(xiàng)

      你可以隱藏一個字段的保留一個之外的其它數(shù)據(jù)項(xiàng).

      1. 不選中“顯示全部”及數(shù)據(jù)項(xiàng)復(fù)選框,

      2. 至少選中其中一個數(shù)據(jù)項(xiàng)的復(fù)選框,并點(diǎn)擊確定.

      顯示所有數(shù)據(jù)項(xiàng)

      在較早的Excel版本中, 在下拉框中沒有“顯示全部”一項(xiàng), 你可以使用程序顯示右隱藏多個字段. 下面代碼可使得可視字段下拉表中有顯示所有數(shù)據(jù)項(xiàng)的功能.

      Sub PivotShowItemAllVisible()

      'sort is set to Manual to prevent errors, e.g.

      'unable to set Visible Property of PivotItem class

      Dim pt As PivotTable

      Dim pf As PivotField

      Dim pi As PivotItem

      Application.ScreenUpdating = False

      Application.DisplayAlerts = False

      On Error Resume Next

      For Each pt In ActiveSheet.PivotTables

      For Each pf In pt.VisibleFields

      pf.AutoSort xlManual, pf.SourceName

      For Each pi In pf.PivotItems

      If pi.Visible <> True Then

      pi.Visible = True

      End If

      Next pi

      pf.AutoSort xlAscending, pf.SourceName

      Next pf

      Next pt

      Application.DisplayAlerts = True

      Application.ScreenUpdating = True

      End Sub

      隱藏數(shù)據(jù)項(xiàng)

      在較早的Excel版本中, 在下拉框中沒有“顯示全部”一項(xiàng), 你可以使用程序顯示右隱藏多個字段. 下面代碼可使得可視字段下拉表中除最后一條數(shù)據(jù)項(xiàng)這外的其它所有的功能.

      Sub HidePivotItemsVisible()

      'hide all pivot items in all tables on sheet

      'except last item

      Dim pt As PivotTable

      Dim pf As PivotField

      Dim pi As PivotItem

      Application.ScreenUpdating = False

      Application.DisplayAlerts = False

      On Error Resume Next

      For Each pt In ActiveSheet.PivotTables

      For Each pf In pt.VisibleFields

      pf.AutoSort xlManual, pf.SourceName

      For Each pi In pf.PivotItems

      If pi.Visible = False Then

      pi.Visible = True

      Else

      pi.Visible = False

      End If

      Next

      Next

      pf.AutoSort xlAscending, pf.SourceName

      Next

      Application.DisplayAlerts = True

      Application.ScreenUpdating = True

      End Sub

      隱藏頁字段數(shù)據(jù)項(xiàng)

      頁字段下拉框列表中不是復(fù)選框,你不能同時選中多個數(shù)據(jù)項(xiàng). 你可以選擇全部或可視數(shù)據(jù)項(xiàng)中的一個.

      使用下面的技巧可以顯示多個數(shù)據(jù)項(xiàng).

      1. 雙擊字段按鈕調(diào)出面字段對話框.

      2. 在隱藏數(shù)據(jù)項(xiàng)列表中, 選擇你想隱藏的數(shù)據(jù)項(xiàng).

      3. 點(diǎn)擊確定.

      1.png

      或者這樣做

      1. 將頁字段按鈕拖到行區(qū)域.

      2. 使用復(fù)選框選擇或刪除數(shù)據(jù)項(xiàng)

      3. 將頁字段按鈕拖回原處。

      2.png

      這樣,數(shù)據(jù)透視表中僅顯示頁數(shù)據(jù)項(xiàng)中沒有隱藏的數(shù)據(jù)項(xiàng)。

      Excel數(shù)據(jù)透視表什么是顯示和隱藏數(shù)據(jù)項(xiàng)相關(guān)文章

      excel數(shù)據(jù)透視表字段列表如何顯示隱藏

      Excel數(shù)據(jù)透視表字段設(shè)置在哪里

      Excel數(shù)據(jù)透視表字段怎么進(jìn)行整理

      Excel數(shù)據(jù)透視表如何使用分組數(shù)據(jù)

      Excel中數(shù)據(jù)透視表的使用方法

      excel數(shù)據(jù)透視表怎么做

      excel2010數(shù)據(jù)透視表的功能詳解

      Excel表格中數(shù)據(jù)透視表的操作方法

      Excel數(shù)據(jù)透視表復(fù)合范圍是什么

      3738451