+ Reply to Thread
Results 1 to 9 of 9

Format (highlight) cells with date AND other text if equals TODAY

  1. #1
    Registered User
    Join Date
    04-08-2022
    Location
    Fort Collins, CO
    MS-Off Ver
    2016
    Posts
    4

    Question Format (highlight) cells with date AND other text if equals TODAY

    I am trying to set up excel to format (highlight) any cells that contain todays date. These cells also have other text in them so the usual formatting options haven't worked for me. How would I go about doing this? Please see the example. Screenshot 2022-04-08 075838.png

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,833

    Re: Format (highlight) cells with date AND other text if equals TODAY

    a spreadsheet sample would help here - see yellow banner

    is each text in a row on its own
    so the first character on a row is 4/11
    then the next row has 4/13

    is it assumed this is always current Year ?

    and October would be 4th October would be
    10/04
    OR 10/4

    in M/D for format

    Note: Images are difficult to see , and also requires that I input all the data myself, which is very time consuming.

    A sample sheet would help here


    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,277

    Re: Format (highlight) cells with date AND other text if equals TODAY

    Assuming your data starts with B2, in the conditional formatting, apply the formula:
    Please Login or Register  to view this content.
    Artik

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,891

    Re: Format (highlight) cells with date AND other text if equals TODAY

    Use this conditional formatting rule

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    where A1 is the upper-left cell for the Applies To range for the rule. Update to suit. This assumes there will be a space after the date.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Registered User
    Join Date
    04-08-2022
    Location
    Fort Collins, CO
    MS-Off Ver
    2016
    Posts
    4

    Re: Format (highlight) cells with date AND other text if equals TODAY

    Sample attached (I think). The text in each row will be on its own. The first 3 to 5 characters would be the date and 10/4 would be the format that I'm going for. The idea is that this would be a quick and easy visual reminder for large jobs with many components. Thanks.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-08-2022
    Location
    Fort Collins, CO
    MS-Off Ver
    2016
    Posts
    4

    Re: Format (highlight) cells with date AND other text if equals TODAY

    Hi Jeff, I gave this a shot and it is not highlighting the cell. I'm no expert, I apologize, but does this look correct to you? =ISNUMBER(FIND(TEXT(TODAY(),"m/d "),$A$28:$H$37))

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,891

    Re: Format (highlight) cells with date AND other text if equals TODAY

    No, it is not correct. You write a CF formula by referencing the cell you want to format as the upper-left cell in the range. So if you are applying this rule to A28:H37, you will refer to cell A28:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Do not use $.

    This does not match the file you attached. I revised it as an example.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-08-2022
    Location
    Fort Collins, CO
    MS-Off Ver
    2016
    Posts
    4

    Re: Format (highlight) cells with date AND other text if equals TODAY

    6SJ - Great, this solved my issue. It was the $ that was causing the problem. Thank you!

  9. #9
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,891

    Re: Format (highlight) cells with date AND other text if equals TODAY

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

    If a member helped you solve your problem, consider adding to their reputation by clicking on the star icon addreputationiconsmall.jpg below their name.

+ 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. Conditional format cells based upon matching cells & date range from today?
    By Hites_05 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-19-2022, 03:20 PM
  2. how to use the today() function and highlight cells with certain text in
    By kfsprite in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-06-2016, 01:56 PM
  3. [SOLVED] Average Cells if Date Equals Today
    By JDake in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2015, 07:20 PM
  4. [SOLVED] Macro to highlight date cells based on criteria linked to "today"'s date
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-08-2014, 09:18 AM
  5. [SOLVED] Macro to highlight date cells based on criteria linked to "today"'s date
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-04-2013, 10:59 AM
  6. Replies: 1
    Last Post: 09-30-2012, 03:01 PM
  7. Replies: 2
    Last Post: 04-03-2005, 07:09 AM

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