+ Reply to Thread
Results 1 to 6 of 6

More than 3 conditional formatting

  1. #1
    Registered User
    Join Date
    06-18-2007
    Posts
    9

    More than 3 conditional formatting

    hi..

    Look at the following attachment. need some help here.. how do i create another conditional formatting for the date in A5 (sheet1)?

    any help to guide along?
    Attached Files Attached Files

  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
    Just use one condition

    =OR(B1=date1,B1=date2,B1=date3,B1=date4)

    if you need more than one colour then it would be a macro

    VBA Noob
    _________________________________________


    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
    06-18-2007
    Posts
    9
    Quote Originally Posted by VBA Noob
    Just use one condition

    =OR(B1=date1,B1=date2,B1=date3,B1=date4)

    if you need more than one colour then it would be a macro

    VBA Noob

    hmm.. but i want the dates in sheet1 to corresponds to the date in sheet2.

    meaing that the user will type in any dates in sheet1 and it will hightlight the date type in in sheet2.

    Eg. if the date in sheet1 is 1/1/2007 then in sheet2 the date highlighted should be 1/1/2007 and so on.

    the colour can be the same.

  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
    Try

    =COUNTIF(INDIRECT("Sheet1!$A$2:A"&ROW(A2)),B1)>=1

    VBA Noob

  5. #5
    Registered User
    Join Date
    06-18-2007
    Posts
    9

    Re: ans to the post

    Thanks alot for your help.. It solved my problem..

    http://www.ozgrid.com/forum/showthre...d=1#post369175

    here is also another solution to the problem.

  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
    Please read forum rules below. Cross post without a link are not permitted. This and any future posts will be locked unless you agree to the rules. PM me if you wish to continue posting here

    VBA Noob

+ 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