+ Reply to Thread
Results 1 to 2 of 2

Pivot table conditional formatting

  1. #1
    Forum Contributor
    Join Date
    09-21-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    131

    Pivot table conditional formatting

    Hello all,

    I would like my pivot table to conditionally format cells depending on the same item last time value. See screenshot:

    Capture.PNG

    If the price is not different from when the last record is held on the same item i want to keep field showing yellow, if the price is dropping i want the cell show in green and if the price is higher i want the cell to appear in red. How do I do this?
    Attached Files Attached Files

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Pivot table conditional formatting

    Hi,

    You can do this with 4 rules following these steps.
    1. Select one of the value cells in the pivot table.
    2. Create a new conditional formatting rule and make sure it applies to all Price cells
    3. Use the formula: =NOT(ISNUMBER(INDIRECT("RC[-1]",0))) then apply yellow format (this will colour the first column)
    4. Repeat steps 2 and 3 but use Cell Value, Is equal to, =INDIRECT("RC[-1]",0) then apply yellow format (this will colour cells that are equal)
    5. Repeat steps 2 and 3 but use Cell Value, Is greater than, =INDIRECT("RC[-1]",0) then apply Red format (this will colour cells that are greater than the previous)
    6. Repeat steps 2 and 3 but use Cell Value, Is Less than, =INDIRECT("RC[-1]",0) then apply Green format (this will colour cells that are less than the previous)

    Revised workbook attached.
    Attached Files Attached Files
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. Conditional Formatting in Pivot table using VBA
    By pdalal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2015, 04:01 PM
  6. [SOLVED] Conditional Formatting in a Pivot Table
    By michaelleckey in forum Excel General
    Replies: 7
    Last Post: 04-07-2012, 11:24 PM
  7. Conditional Formatting in a Pivot Table
    By michaelleckey in forum Excel General
    Replies: 0
    Last Post: 04-01-2012, 05:02 PM

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