简体   繁体   中英

How do I use conditional formatting in a pivot table

I am a basic user of Excel. I have an automated spreadsheet with 2 columns: 1 column with usernames and the other with Active Directory groups.

For example:

Group1    User1
Group2    User1
Group2    User2
Group2    User3
Group1    User4

My pivot table has the AD Group names at Column Headers and the 1st column (A) is a list of the users.

      Group1   Group2  
User1
User2
User3

I would like to put an "X" in a matrix form.

       Group1   Group2   
User1    X         X
User2              X
User3              X
User4    X

How would I automatically do this?

Thank you, Tim

Set up the pivot table normally to show the results you require:

Here's a screen dhot of the settings

在此处输入图片说明

Then select the Counts area and set Number format to custom , X;X; to display X 's rather than numbers

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM