+ Reply to Thread
Results 1 to 11 of 11

conditional formatting?

  1. #1
    Registered User
    Join Date
    05-25-2015
    Location
    london
    MS-Off Ver
    2007
    Posts
    54

    conditional formatting?

    Hi all,

    I'm a bit of a noob to excel programming, but have used it extensively for data analysis during my doctorate...

    I am not working on a CRM system for a company and have 3 sheets - 1)clients info & notes, 2)sales log, 3)Orders

    I have used conditional formatting to highlight different orders (rows) in different colours depending on how close to the due date we are. I need to have this overrided so that when I input a completion date in the cell next to the due date, the entire row becomes grayed out.

    I cant seem to get this last part right..

    any help would be great

    thank you

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: conditional formatting?

    could u please provide sample workbook with desire output
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Registered User
    Join Date
    05-25-2015
    Location
    london
    MS-Off Ver
    2007
    Posts
    54

    Re: conditional formatting?

    orders sheet.xlsx

    Has that attached?

    What i would like to happen in the end is for the cell in column B to change coloure from green to orange to red based on how far away we are from the "advised order completion date" but once I have entered a value in the "order conmpletion date" column (C) I want that entire row to be coloured in a medium grey (to indicate that it is completed) and for the green/orange/red colour to no longer be applied.

    I was thinking therer should be a rule in the begining that says - if C1 has value, then row 1 is gray. stop if true. then as long as there is no value in column C, the other colour rules can be applied...

    Does this make sense? sory if my terminology is wrong.

    J

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: conditional formatting?

    =AND($B5<TODAY();$B5<>"")
    Try this kind of fomulas
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Registered User
    Join Date
    05-25-2015
    Location
    london
    MS-Off Ver
    2007
    Posts
    54

    Re: conditional formatting?

    Poppino, Could you provide a little context for your suggestion?

    I really am a novice, I dont really see how it addresses my current issue

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: conditional formatting?

    Take a look at this
    Attached Files Attached Files

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: conditional formatting?

    Hi,

    What popipipo is saying is that instead of using the Cell Value is option in the conditional format use the Formula Is option.

    e.g.
    Where you have cell value less than NOW()

    use instead the logically equivalent formula of
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    but extend that to pick up the column C condition of not blank. i.e.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then create a new rule for the whole row to be grey when B5<NOW() and $C$ <> ""
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  8. #8
    Registered User
    Join Date
    05-25-2015
    Location
    london
    MS-Off Ver
    2007
    Posts
    54

    Re: conditional formatting?

    thats great, I already had that going, but only on a single cell...

    Could you explain how its applied the formatting to the entire row?

    Also how would I get this to cover my initial issue? once I input a date into Column B, the order is complete, I then want the entire row to be coloured in grey.

    Do i need to put a rule first so that it checks to see if column C has a value, If it does, then it colours the whole row grey, if it dousnt then it moves on to the next rules.

  9. #9
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: conditional formatting?

    Hi

    have a look to the attached file

  10. #10
    Registered User
    Join Date
    05-25-2015
    Location
    london
    MS-Off Ver
    2007
    Posts
    54
    Quote Originally Posted by Naveed Raza View Post
    Hi

    have a look to the attached file
    Thank you very much, that's exactly what I was trying to do.

    I think I need to scrub up on the codes, so that I really understand what's just happened. Can you recommend any good reading to get me going?

  11. #11
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: conditional formatting?

    Hi

    Glad to help you

    if u satisfy with solution then please mark the thread as SOLVED and please don't forget to click on *Add Reputation to say thanks

    Go through this

    http://www.excelforum.com/excel-prog...materials.html

+ 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. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  2. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  3. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  4. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  5. Replies: 3
    Last Post: 05-15-2012, 04:13 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