+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting depending on cell

  1. #1
    Registered User
    Join Date
    06-26-2014
    Location
    New Plymouth Taranaki
    MS-Off Ver
    2013
    Posts
    29

    Conditional formatting depending on cell

    I am trying to apply a conditional format where if there is a stock item on hand in column I (i.e. value is greater than 0) and the price code hasn't been put in in column K (i.e. value is 0) then highlight cell.
    I have been using this formula
    =AND(I2>0,K2<=0)
    but it doesn't seem to work. It is highlighting cells that don't meet this criteria and the ones where it does meet them, it is not picking it up.

    Any thoughts?

  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,926

    Re: Conditional formatting depending on cell

    Have you tried partical absoluting?

    =AND($I2>0,$K2<=0)
    or
    =AND($I2>0,$K2<>"")
    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
    06-26-2014
    Location
    New Plymouth Taranaki
    MS-Off Ver
    2013
    Posts
    29

    Re: Conditional formatting depending on cell

    Gave those a try but still getting random results.SAMPLE.jpg

+ 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. Conditional formatting depending on cell
    By Jeffro2p in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2014, 03:07 PM
  2. [SOLVED] Conditional Formatting Depending on Value of Other Cell
    By Ednarb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2014, 01:14 PM
  3. [SOLVED] Excel 2007 : Conditional formatting depending on cell value
    By djsouljah in forum Excel General
    Replies: 2
    Last Post: 05-29-2012, 03:04 AM
  4. Conditional formatting depending on another cell
    By 123wc in forum Excel General
    Replies: 4
    Last Post: 01-26-2012, 01:16 PM
  5. Conditional formatting depending a range of cell
    By Marisa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-31-2005, 10:05 PM

Tags for this Thread

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