Consulting

Results 1 to 5 of 5

Thread: Solved: Date Formula With Conditional Formatting

  1. #1

    Solved: Date Formula With Conditional Formatting

    Hi All?

    I have these two formulas which I use with Conditional Formatting to show who?s birthday is today and/or was yesterday?

    What formula do I have to use in order to show who is going to have their birthday the day after tomorrow with respect to today?s date?

    Thank you very much?

    Best,
    Wolfgang

    =AND(MONTH(C2)=MONTH(TODAY()),DAY(C2)=DAY(TODAY()))

    =AND(TODAY()-DATE(YEAR(TODAY()),MONTH(C2),DAY(C2))<2,TODAY()-DATE(YEAR(TODAY()),MONTH(C2),DAY(C2))>0)

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    =DATE(YEAR(TODAY()),MONTH(C2),DAY(C2)-2)=TODAY()

  3. #3
    Hi Bob...

    THAT easy, huh?!

    Many thanks and have a beer on me during lunch...

    Best,
    Wolfgang

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Are the Marzen Bier ready yet?

  5. #5
    YEEEEEAHHHH....

    Since Monday until Easter...

    Terrific stuff...I think I should have some of those before I start asking another Excel question...the answer lies within...

    Take care...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •