+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting based on formula or criteria

  1. #1
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Conditional Formatting based on formula or criteria

    DateLastStockMove DateLastCostChange UnitCost LastCostEntered Costs To Be Corrected
    01 Mar 17 27 Oct 15 R 198.55 R 290.00

    Conditional formatting to flag Cell E2 RED where LastCostEntered (D2) is higher than the UnitCost (C2) AND DateLastCostChange (B2) is older than DateLastStockMove (A2)

    Please attached sheet!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Conditional Formatting based on formula or criteria

    CF rule

    =AND(D1>C1,B1<A1)

  3. #3
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Re: Conditional Formatting based on formula or criteria

    Hi MR John

    I just realised that the date of DateLastStockMove should also be older than 1 January 2017

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Conditional Formatting based on formula or criteria

    Try

    =AND(D2 > C2,B2 < A2,A2 < DATEVALUE("01/01/2017"))

    i.e error if < 01/01/2017 ????

  5. #5
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Re: Conditional Formatting based on formula or criteria

    Thanks a million!!

+ 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. [SOLVED] Conditional Formatting - Based on Criteria
    By mlbdc2012 in forum Excel General
    Replies: 2
    Last Post: 02-03-2015, 05:50 PM
  2. [SOLVED] Conditional Formatting Based on Two Criteria (Using VBA)
    By macrorookie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2014, 07:19 PM
  3. Replies: 5
    Last Post: 06-14-2013, 06:27 PM
  4. [SOLVED] Conditional formatting based on two criteria
    By Brumbot in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2013, 05:44 AM
  5. [SOLVED] Conditional Formatting based on 2 criteria
    By SantosJ in forum Excel General
    Replies: 2
    Last Post: 05-23-2012, 05:11 AM
  6. Replies: 2
    Last Post: 06-23-2009, 10:49 AM
  7. Conditional Formatting based on 2 Criteria
    By SteelDog in forum Excel General
    Replies: 3
    Last Post: 06-23-2008, 12:58 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