Highlight Quarters, Weekends in pivot reports using styles [quick tip]

Posted on November 8th, 2012 in Excel Howtos , Pivot Tables & Charts - 3 comments

Here is a quick pivot table tip.

When reporting summaries by month, it would be better to highlight 3 months at a time (Jan, Feb, Mar in one color, Apr, May, Jun in another color) than showing all in one color. Today, lets learn how to do this in easiest possible way.

Monthly pivot report with quarterly shading - Excel Pivot table tip

Highlight Quarters (3 months at a time) using Pivot Table Styles

Edit styles - Pivot table formatting - setting row stripe sizesWe can use pivot table styles for this. Just follow below steps:

  1. Select the pivot table which you want to format
  2. Go to Design tab & select a pivot table style you want.
  3. Right click on the style and choose Duplicate
  4. Select “First Row Stripe” from modify screen. Enter stripe size as 3.
  5. Repeat this step for Second row stripe too.
  6. Click ok.
  7. IMPORTANT 1: Apply this new style to your pivot report.
  8. IMPORTANT 2: Check the banded rows option from Design tab.

Using this technique, you can also highlight weekends in a different color with first row stripe size = 5 and second = 2. See a demo here.

More on this tip: Customize banded rows / columns in tables

Note: This approach works only when your months start on Jan (or other quarter starts like April, July or October) and days start on Monday. Most business data is like that anyway.

Bonus tip: Generate monthly report from daily data

You can use group dates feature in Pivot reports to generate monthly (or quarterly, yearly) reports from daily data. Learn how to do this.

Do you use Pivot table styles?

Formatting a pivot report is often painful. That is where styles can help us. Once you define the correct styles, your pivot reports will look professional and neat. So go ahead and try them. Share your feedback, tips using comments.

More on Pivot Tables

Along with formulas, Pivot tables are best friends of Excel analysts. They can take massive amounts of data, process and summarize in just a few clicks. To learn more about them, use below resources.

Your email address is safe with us. Our policies

Written by Chandoo
Tags: , , , , , ,
Home: Chandoo.org Main Page
? Doubt: Ask an Excel Question

3 Responses to “Highlight Quarters, Weekends in pivot reports using styles [quick tip]”

  1. Joe says:

    Hello 

    Thanks for your article, i didn’t know about  pivot table style customization.

    However, would it be possible to alternate stripes’ color not  for row but for item ?

    I mean if in my pivot table I have two columns on “Row Labels” and then if Item 1 appears on several consecutive lines, is it possible to have all Item 1’s row with the same color ?

    Thanks !
    Joe 

  2. Raed says:

    Thanks Chandoo 
    All my muntenance KPI reports are by pivot tablets >100K records data base
    can you do a tutorial about Pivot table elements. Please

Leave a Reply