Highlight selected cell with absence of employee

Jagat Pavasia

Active Member
Joined
Mar 9, 2015
Messages
359
Office Version
  1. 2021
Platform
  1. Windows
dear sir,
I have 5 employee in my sheet.
F4 to AJ4 have a date with yellow highlighted.
A5 to A9 have employee name.

I want that if my employee is absence in selected date then red highlighted in name only when that date is today.
I have screen shot below:

1.JPG


If today is 04/03/2023 (DD/MM/YYYY), then Screen shot Below

2.JPG



please help me to solve this...

 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
is the date (1-31 the day of the month?) what is in the cell in G5:AJ9 to show if absent?
 
Upvote 0
try this:
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAI
1
2[Cntrl] plus ;
32023-03-04
4123456789101112131415161718192021222324252627282930
5Employee-1(Name-1)Employee-1*
6Employee-2(Name-2)Employee-2
7Employee-3(Name-3)Employee-3
8Employee-4(Name-4)Employee-4*
9Employee-5(Name-5)Employee-5
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A5:A9Expression=INDEX(F5:AJ5,DAY($A$3))="*"textNO
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,869
Members
449,054
Latest member
juliecooper255

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top