Cell format issue in cell Y59 on the calendar sheet
SolvedI’m looking for a solution to a formatting issue in cell Y59 on the calendar sheet. Normally the “T” (working day) should have no color, but now it has a red background with yellow text, like the “F” for holidays. I haven’t found how to restore the correct formats according to the contents of the cells.
the link to the file
https://www.transfernow.net/dl/202609249QJ06KOP
To provide this 2027 table to the regulars as every year since I’m retiring, if any evolution is missing, please let me know so I can update it.
Thank you for your help
3 answers
-
Hello,
If I understand correctly, the formula for the rule should be:
=IF(ISERROR(VLOOKUP(C15;holiday_list;1;FALSE));0;1)(instead of C13)
Daniel
-
-
@PHILOU10120
Hello everyone,
:
It is the MFC formula for holidays. (I indicated "formule de la règle")
Daniel
-
Contributor@danielc0
Hello Daniel
Ultimately the problem was my memory; I knew I had created formulas but I didn’t remember the MFCs, so no idea about conditional formatting
Thanks to everyone for your help
Philou10120
-
-
Hello,
The problem probably comes from your MFCs being a bit anarchic.
Your modified file for just the MFC holiday, to test
-
Hello,
I suggest trying this formula in the MFC to color the cells for holidays:
=NB.SI($D$2:$D$32; B13) > 0
$D$2:$D$32 = the range of cells that contains the list of holidays in your file.
B13 = the cell of the day in your Calendar (to adapt according to your grid)
This formula works without RECHERCHEV(), does not return an error, and easily adapts if you add or modify dates in the list.
-
Contributor
Good evening blackmefias_3350
Thank you for your reply, the file is currently in View All mode
A macro command is used to update the calendar so there are hidden rows when it is used
My problem is actually a memory issue; I can't remember the MFCs anymore.
This file is over 20 years old and I’m having a bit of trouble remembering everything
-