+ Reply to Thread
Results 1 to 4 of 4

Highlighted Cell Date with Conditional Formating

  1. #1
    Registered User
    Join Date
    07-02-2023
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    16

    Highlighted Cell Date with Conditional Formating

    Hi All,

    I need help to use formula in Conditional Formatting to highlight cell (date) in the Calendar if an employee work on that date from the next sheet name - Pay 1.

    I have tried to use this formula for cell C7 - MATCH(C7,'Pay1 B16:B69,0) but it works for only one cell. It did not work when I tried to copy that for D7:P7

    Also, is it possible to MATCH C7 from Highlight sheet to match in range B16:B69 in Pay 1 sheet and IF M16>0.

    Sorry if it is too much information. I have attached file for your help.

    Much appreciated!

    Sample.xlsx

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Highlighted Cell Date with Conditional Formating

    Wouldn't be just
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    enough?

    and to take into account M16>0
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Kaper; 11-15-2023 at 05:19 AM.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    07-02-2023
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    16

    Re: Highlighted Cell Date with Conditional Formating

    Hi Kaper,
    Thanks for your reply.
    However, it does not work when I copy format cell C7 to cell D7:O7.
    I mean when the date in Cell D7 is not highlighted when the date.
    Also, I want to use MATCH and INDIRECT to reference to different spread sheets but it is not working.

    Below is the formula for one spreadsheet name is in cell B7 but need to referent to different spreadsheets from B7:B32.

    Much appreciated for your time and concerns

    =IFERROR(INDEX(INDIRECT("'"&$B$7&"'!$B$16:$B$69"), MATCH(C7, INDIRECT("'"&$B$7&"'!$B$16:$B$69"), 0)), "Not Found")

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,943

    Re: Highlighted Cell Date with Conditional Formating

    The following seems to work for cells C7:O7
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I feel that your INDIRECT formula will look like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 1
    Last Post: 04-13-2015, 05:37 PM
  2. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  3. Replies: 1
    Last Post: 10-09-2013, 05:05 PM
  4. [SOLVED] Problem with conditional formating a row based on how near the date in a cell is to today
    By Kiyachantelle in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-02-2013, 03:46 AM
  5. [SOLVED] Conditional formating based on Date and text in a cell
    By Gunnworks in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-10-2013, 05:26 PM
  6. Conditional formating of a cell based on the date in another cell
    By russward in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-01-2012, 09:26 AM
  7. [SOLVED] sort a cell that was highlighted by conditional formating?
    By brbradle in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-03-2006, 04:20 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