+ Reply to Thread
Results 1 to 3 of 3

color all cells with certain text

  1. #1
    Registered User
    Join Date
    09-30-2009
    Location
    kosice, slovakia
    MS-Off Ver
    Excel 2003
    Posts
    17

    color all cells with certain text

    HI,
    i wish to do the following:

    column A have dates DD.MM.YYYY
    i wish excel to set yellow bg color of all B cells that are next to cell with date with 10 in it on day place .

    So something like B= IF the date in my neighbor A cell starts with 10, paint me yellow ( it cannot be 10 on month or year possition, just every time the 10th day in the month )

    thx for solutions

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: color all cells with certain text

    Select Column A or B or Both depending on which to colour, and then go to Format|Conditional Formatting and select Formula Is from the first drop down menu, then enter formula:

    =DAY($A1)=10

    where A1 is top most cell

    Click Format and choose colour from Pattern tab.

    Click Ok

    Click Ok to finish.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-30-2009
    Location
    kosice, slovakia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: color all cells with certain text

    Thank you very much

+ 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