+ Reply to Thread
Results 1 to 6 of 6

Help with conditional formatting:green pattern

  1. #1
    Registered User
    Join Date
    10-02-2003
    Posts
    80

    Help with conditional formatting:green pattern

    I am attaching a spread sheet.

    First column is date.
    I wanted all next columns to be having
    green pattern if the day id Friday/Sat/Sun.
    I can make one column with day and have it
    formated conditionally.
    I am not sure how to do 6-7 columns.

    Thanks much in advance.

    vikkam
    [email protected]
    Attached Files Attached Files
    vikkam

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Try Conditional formatting. Enter this

    =OR(WEEKDAY($A6)=1,WEEKDAY($A6)=7,WEEKDAY($A6)=6)

    Example attached

    VBA Noob
    Attached Files Attached Files
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    10-02-2003
    Posts
    80

    conditional formatting

    Thanks a million for prompt reply.
    NOw if I need next 7-8 columns having same color
    formatting- how do I do it.

    Thanks once again

    vikkam
    [email protected]

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Select the cells then goto Format > Conditional format > formula and enter the formula changing the cell ref to that of the first cell.

    The attached link will explain more

    http://www.contextures.com/xlCondFormat01.html


    VBA Noob

  5. #5
    Registered User
    Join Date
    10-02-2003
    Posts
    80
    VBA Noob

    Thanks for guiding me towards my goal.

    I did excatly as it shows on the reference you gave me.
    Attaching file. On Jan Tab, in row 12 I applied
    conditional formatting and still no results.

    I am applying the formula incorrectly somehow.

    Thanks much for your help.

    vikkam
    Attached Files Attached Files

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Try this for highlighting the row. You select the Area you want highlighted then enter this in the first row e.g Row 7

    =OR(WEEKDAY($A7)=1,WEEKDAY($A7)=7,WEEKDAY($A7)=6)

    VBA Noob
    Attached Files Attached Files

+ 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