+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting (colours) in a pivot table

  1. #1
    Registered User
    Join Date
    04-07-2016
    Location
    Lincoln
    MS-Off Ver
    2010
    Posts
    27

    Conditional Formatting (colours) in a pivot table

    Good Evening All

    Can anyone help with this please? I need some VBA to apply formatting to a pivot table.

    If the cell to the left is less than current cell - fill Red
    If the cell to the left is greater than current cell - fill green
    If the cell to the left is equal than current cell - fill yellow
    If the current cell is blank - fill gold


    The size of the pivot could change at each run of the data so the range needs to be flexible?

    Thank you very much in advance!!

    Regards

    Ali

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Conditional Formatting (colours) in a pivot table

    Can you upload sample workbook?

  3. #3
    Registered User
    Join Date
    04-07-2016
    Location
    Lincoln
    MS-Off Ver
    2010
    Posts
    27

    Re: Conditional Formatting (colours) in a pivot table

    Thank you for offering to look at this and apologies for the delay - have attached a sample workbook. The pivot table will differ according to the data that is exported into the report.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 12-08-2016, 03:14 PM
  2. pivot table and conditional conditional formatting
    By Veronsito in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-07-2016, 12:15 PM
  3. Replies: 9
    Last Post: 03-07-2016, 10:39 AM
  4. Replies: 2
    Last Post: 09-04-2015, 02:47 AM
  5. [SOLVED] Conditional Formatting - Colours
    By caziscarol in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-24-2014, 05:59 PM
  6. Conditional formatting of Pivot Table through VB
    By sunnygeorgep in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-24-2014, 09:02 AM
  7. Macro for formatting fonts and cell colours - not Conditional Formatting
    By Kayaness in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-07-2011, 03:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1