+ Reply to Thread
Results 1 to 4 of 4

Pivot Table with Conditional Format Formula

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    99

    Pivot Table with Conditional Format Formula

    Hi,

    Can one of forum experts please help me with creating correct formula?

    In the pivot table (Sample DATA file > Pivot tab - attached) I need to highlight the values with today's date. The report will always contain today's date. For example, today's date is 032715 and report contains this date. The text string is always appended with the 6 digits date.

    I know that the formula that I came up with is wrong and I need some help. I attached the screenshot ("Pivot") demonstrating how I used the Conditional Formatting with entered formula. Please note that the number of rows (Campaign IDs) for 5 Day and 28 Day email can vary.

    =FIND(--MAX(RIGHT($B$5),6)))

    Thank you so much!!!!

    Sample DATA.xlsbPivot table.png
    Last edited by Neyme; 03-27-2015 at 06:38 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Pivot Table with Conditional Format Formula

    Try this as the CF rule formula...
    =DATE(2000+RIGHT(RIGHT(B5,6),2),LEFT(RIGHT(B5,6),2),MID(RIGHT(B5,6),3,2))=TODAY()
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Pivot Table with Conditional Format Formula

    The formula works as a charm! Can you please explain what '2000' means in the formula? Is it a set number of rows?

    Ideally, I need to return strings with today's date from column 'G' and corresponding to them values from column 'A' in a different tab. This will make the data 'clean' identifying only the campaign IDs for today. There will be many users using this Email Template and if possible, I would like to keep it clean, including only today's campaign IDs, so it will look as below. There are usually
    • Four Campaign IDs for 5 Day email with TODAY’s date stamp
    • Four Campaign IDs for 28 Day email with TODAY’s date stamp


    Sheet 2
    Column A Column B
    5 Day 5day_latencyXXXXXX
    5 Day 5day_latency_RZXXXXXX
    5 Day 5day_retlatencyXXXXXX
    5 Day 5day_retlatency_RZXXXXXX

    28 Day latencyXXXXXX
    28 Day latency_RZXXXXXX
    28 Day retlatencyXXXXXX
    28 Day retlatency_RZXXXXXX


    Thank you SO much! You are a savior!


    P.S. For some reason I cannot add reputation to your post. I get a message which I attached as a screenshot. How can I add more reputation for you?Here is the screenshot.

    Cannot Add Reputation.png
    Last edited by Neyme; 03-27-2015 at 09:42 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Pivot Table with Conditional Format Formula

    Your date contains a 2-digit year, excel needs a 4-digit year for that, so...extract the 15 and add 2000

    Thanks for the attempted rep (I cant see pics on here)

+ 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. Formula to format file in order to use in a pivot table
    By dookeykong in forum Excel General
    Replies: 3
    Last Post: 08-08-2014, 02:14 PM
  2. [SOLVED] Pivot table - formula/format to filter by month and year
    By HeyInKy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-17-2014, 01:54 PM
  3. Pivt table conditioning per pivot table column
    By shmultz in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-02-2014, 11:41 AM
  4. Conditioning Format
    By shane1966 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2011, 05:46 PM
  5. conditioning format
    By v_2bbro in forum Excel General
    Replies: 1
    Last Post: 06-16-2007, 07:05 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