+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting Formula

  1. #1
    Forum Contributor
    Join Date
    06-03-2009
    Location
    Phoenix, Az
    MS-Off Ver
    MS Office 365
    Posts
    144

    Conditional Formatting Formula

    Hello all.
    I am attempting to do 2 things with my conditional formula.
    One - if the date is Cell V2 is before a date in Cell Y2, then the Cell in Y2 turns red.
    Two - if there is no date in V2, then Cell Y2 has no color at all.

    I got item one to work ok.
    I need asssitance with item two.

    Thanks folks.
    Dave

  2. #2
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: Conditional Formatting Formula

    Hi

    Can you post a sample worksheet so we can see the layout etc dont post confidental information
    it will also get you a much better response.


    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.



    Chris
    Click my star if I helped Thanks

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Conditional Formatting Formula

    Hi Dave,

    Did you try =ISBLANK($V2)

    EDIT: Sorry, was thinking of two seperate formulas, not one with two conditions.
    Last edited by jeffreybrown; 12-26-2012 at 10:18 AM.
    HTH
    Regards, Jeff

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Conditional Formatting Formula

    hi Dave, select Y2 & go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =AND(Y2>V2,V2<>"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  5. #5
    Forum Contributor
    Join Date
    06-03-2009
    Location
    Phoenix, Az
    MS-Off Ver
    MS Office 365
    Posts
    144

    Re: Conditional Formatting Formula

    Hey all.
    Thanks for your responses. But something is still not working right.
    I am attaching a copy of the spreadsheet.
    As you see it in cell U2 (I changed it from the previous post so as not to post anything I shouldn't) it is blank, but cell X2 is red.
    I am trying to get it so that if Cell U2 is blank, X2 is white.

    Thanks again all.

    Dave
    Attached Files Attached Files

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Conditional Formatting Formula

    How about

    =AND(U2>=X2,X2<>"")

    Note: It would be in your best interest to remove all merged cells as it can cause problems. For column X, Y, and Z, why not just column X and then expand the width of the column

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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