+ Reply to Thread
Results 1 to 9 of 9

Conditional Formatting

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    kuwait
    MS-Off Ver
    Excel 2003
    Posts
    8

    Conditional Formatting

    Hi

    I am working in HR dept. I had made an excel with all the necessary dates like DOB DOJ Passport expiry date etc.

    In column birthday - if anyone's birthday is today - i need that cell to be highlighted.

    I put this formula - " =MONTH(cell number)=MONTH(TODAY())" to highlight all the cells having that particular month : conditional formatting to font color change & to become bold.

    Then I put this formula - =(MONTH(TODAY())=MONTH(cell number))*(DAY(TODAY())=DAY(cell number)) : conditional formatting to fill that cell with a different color.

    But instead of the cell containing the date to be filled with color, the cell which is two rows above is getting formatted. (for eg: if cell N33 was having the desired value; cell N31 is getting formatted).

    Hope the issue is clear.

    Please advise !

  2. #2
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Conditional Formatting

    In this case, you need to check the cell number you refered in the formula,
    Could you please attached the file (after removing any confidential data).
    Regards,
    Thangavel D

    Appreciate the help? CLICK *

  3. #3
    Registered User
    Join Date
    11-03-2011
    Location
    kuwait
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Conditional Formatting

    have attached the excel
    Attached Files Attached Files
    Last edited by getdeeptir; 11-01-2018 at 06:45 AM.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Conditional Formatting

    Just change N3 to N1

    =(MONTH(TODAY())=MONTH(N1))*(DAY(TODAY())=DAY(N1))

    or this

    =TEXT(N1,"dmm")=TEXT(TODAY(),"dmm")

  5. #5
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Conditional Formatting

    Here you go with updated changes in excel sheet
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-03-2011
    Location
    kuwait
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Conditional Formatting

    Thank You !

  7. #7
    Registered User
    Join Date
    11-03-2011
    Location
    kuwait
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Conditional Formatting

    Thats so very nice of you ! Thank you so much !

  8. #8
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Conditional Formatting

    You can add reputation if you like your help...

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Conditional Formatting

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Override conditional formatting (in general, without changing the conditional formatting)
    By Stormin' in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-21-2017, 07:15 AM
  2. Replies: 1
    Last Post: 12-08-2016, 03:14 PM
  3. Conditional Formatting Removing Previous Conditional Formatting?
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 01:02 PM
  4. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  5. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  6. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  7. Replies: 3
    Last Post: 05-15-2012, 04:13 PM

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