jltjr75
New Member
- Joined
- Oct 15, 2013
- Messages
- 25
- Office Version
- 2021
- Platform
- Windows
I am working on a monthly menu planner. The dates are merged between three rows in order to allow breakfast, lunch, and dinner meal items each day. The merged cells are causing the calendar to go from Jul 29, Aug 1, Aug 4, Aug 7 (so on, skipping every three days because of the merged cells).
You can view a screenshot here:
https://drive.google.com/file/d/1a6tOyissUKRHEc6zcILxf8WuWIanRuE_/view?usp=sharing
You can view the excel sheet here:
https://drive.google.com/file/d/1whCZorFmQb-dHhWLcOMNaYbai4dZZSvS/view?usp=sharing
I am using the below code and have tweaked it to no avail.
You can view a screenshot here:
https://drive.google.com/file/d/1a6tOyissUKRHEc6zcILxf8WuWIanRuE_/view?usp=sharing
You can view the excel sheet here:
https://drive.google.com/file/d/1whCZorFmQb-dHhWLcOMNaYbai4dZZSvS/view?usp=sharing
I am using the below code and have tweaked it to no avail.
Code:
=$H$2-WEEKDAY($H$2,$D$2)+(ROW(B7:D7)-ROW($B$7:$D$7))/6*7+(COLUMN(B7:D7)-COLUMN($B$7:$D$7)+1)
=$H$2-WEEKDAY($H$2,$D$2)+(ROW(E7:G7)-ROW($B$7:$D$7))/6*7+(COLUMN(E7:G7)-COLUMN($B$7:$D$7)+1)