+ Reply to Thread
Results 1 to 5 of 5

Thread: Data function to return color

  1. #1
    Registered User
    Join Date
    10-30-2007
    Location
    Darlington, United Kingdom
    MS-Off Ver
    Depends where I am home or work
    Posts
    12

    Question Data function to return color

    Hey guys/girls, been a long time since Nov '07 when I was last here :LOL:

    I have an active spreadsheet, currently data contained in cells A8 thru U82
    cell A1 displays current date =TODAY()
    column Q contains dates in format DD/MM/YYYY

    Via conditional formatting for column Q I do the following:
    Cond 1: Cell value is | equal to | =$a$1+30 which colors cell Yellow
    Cond 2: Cell value is | greater than | =$a$1+31 which colors cell Green
    Cond 3: Cell value is | less than | =$a$1 which colors cell Red

    What I want to do is not have the specific date cell the corresponding condition colour but the whole row and retain the date within (not returning true or false)

    Seems simple but I just can't seem to do it

    Thanks

  2. #2
    Forum Guru
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500

    Re: Data function to return color

    I am not sure exactly what you want, but if it is to colour the whole row, use
    "use a formula to determine which cells to format.
    cond1 =$q8=$a$1+30 etc for the other conditions

    I am assuming row 8 is the first with data in it

    Incidently a1+31 will return nothing conditionally as you have choosen > not >=. A1 will have the same result as it is < not <= that you have specified

    Regards

    Dav

  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Data function to return color

    can you attach your Sheet so that we can work in it and help you out,

  4. #4
    Registered User
    Join Date
    03-24-2010
    Location
    Pune, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    35

    Lightbulb Re: Data function to return color

    Hi,

    Please refer the attached image for your query..

    Hope you can make out what exactly you are looking for.
    Attached Images Attached Images
    Cheerz,
    ~Ne@l

    *********************************************************************
    Save a tree. Please think before you print this post and/or attachments.

  5. #5
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Data function to return color

    That was quite cool Mr Chavan!

    I too wanted to however resisted as I have Excel 2007 and thought it will be easier to update the source file

+ 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.2.0