Minx_Minxy
New Member
- Joined
- Jul 13, 2015
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
Hello,
I have a file with 2 sheets Named:
Holiday Calendar
And Daily Planner
What I need is when 1 is entered in Holiday Calendar, then the corresponding cell in Daily planner is filled with blue. If 0.5 is entered then it turns blue and mentions Half Day. For example, Smith is on holiday from the 04th to 06th and half a day on 07th of January in the Holiday calendar (cells I8:L8), so in the Daily Planner for the corresponding days the cells are formatted blue from 04th to 06th of January and on the 07th is blue + Half Day on it (cells E3,G3,I3,K3)
I would like it applied for all 12 months of the year, both sheets are setup like the ranges provided up till the end of 2022.
I don't believe conditional formatting supports this. If it does how do I do it?
I have very little knowledge in macro but I am willing to use it if would suit best for this situation.
I have a file with 2 sheets Named:
Holiday Calendar
Book1.xlsm | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | AI | AJ | |||
1 | 2022 | |||||||||||||||||||||||||||||||||||||
2 | BH | Bank Holiday UK&I | BH | Bank Holiday UK | BH | Bank Holiday Ireland | Holiday | |||||||||||||||||||||||||||||||
3 | ||||||||||||||||||||||||||||||||||||||
4 | January | |||||||||||||||||||||||||||||||||||||
5 | Carried Fwd | In Lieu | Entitled | Left Over | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | |||
6 | Name | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | ||||||
7 | Joe | BH | 1 | 1 | ||||||||||||||||||||||||||||||||||
8 | Smith | BH | 1 | 1 | 1 | 0.5 | ||||||||||||||||||||||||||||||||
9 | Sam | BH | ||||||||||||||||||||||||||||||||||||
10 | John | BH | ||||||||||||||||||||||||||||||||||||
11 | Karen | BH | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
12 | Harry | BH | 1 | 0.5 | ||||||||||||||||||||||||||||||||||
13 | Kevin | BH | ||||||||||||||||||||||||||||||||||||
14 | ||||||||||||||||||||||||||||||||||||||
15 | ||||||||||||||||||||||||||||||||||||||
16 | February | |||||||||||||||||||||||||||||||||||||
17 | Carried Fwd | In Lieu | Entitled | Left Over | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Mon | ||||||
18 | Name | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | |||||||||
19 | Joe | |||||||||||||||||||||||||||||||||||||
20 | Smith | |||||||||||||||||||||||||||||||||||||
21 | Sam | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
22 | John | |||||||||||||||||||||||||||||||||||||
23 | Karen | |||||||||||||||||||||||||||||||||||||
24 | Harry | 0.5 | 1 | |||||||||||||||||||||||||||||||||||
25 | Kevin | |||||||||||||||||||||||||||||||||||||
Holiday Calendar |
And Daily Planner
Book1.xlsm | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
1 | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday | ||||||||||
2 | Joe | 03 - Jan | 04 - Jan | 05 - Jan | 06 - Jan | 07 - Jan | 08 - Jan | 09 - Jan | |||||||||
3 | Smith | Half Day | |||||||||||||||
4 | Sam | ||||||||||||||||
5 | John | ||||||||||||||||
6 | Karen | ||||||||||||||||
7 | Harry | ||||||||||||||||
8 | Kevin | ||||||||||||||||
9 | Joe | 10 - Jan | 11 - Jan | 12 - Jan | 13 - Jan | 14 - Jan | 15 - Jan | 16 - Jan | |||||||||
10 | Smith | ||||||||||||||||
11 | Sam | ||||||||||||||||
12 | John | ||||||||||||||||
13 | Karen | ||||||||||||||||
14 | Harry | ||||||||||||||||
15 | Kevin | ||||||||||||||||
Daily Planner |
What I need is when 1 is entered in Holiday Calendar, then the corresponding cell in Daily planner is filled with blue. If 0.5 is entered then it turns blue and mentions Half Day. For example, Smith is on holiday from the 04th to 06th and half a day on 07th of January in the Holiday calendar (cells I8:L8), so in the Daily Planner for the corresponding days the cells are formatted blue from 04th to 06th of January and on the 07th is blue + Half Day on it (cells E3,G3,I3,K3)
I would like it applied for all 12 months of the year, both sheets are setup like the ranges provided up till the end of 2022.
I don't believe conditional formatting supports this. If it does how do I do it?
I have very little knowledge in macro but I am willing to use it if would suit best for this situation.