Hello,
On my 'Select Month View' the calendar days are off by one. Does anyone know why and how to fix please?
Thank you very much,
Billy
Hello,
On my 'Select Month View' the calendar days are off by one. Does anyone know why and how to fix please?
Thank you very much,
Billy
Last edited by dominicb; 04-01-2018 at 05:49 PM.
So, for Wednesday:
=IF(WEEKDAY(DATEVALUE(MoMonth&" 1, "&MoYear))=COLUMN(E$1),1,IF(LEN(E4)>0,E4+1,""))
This is looking for the WEEKDAY function to return 5 (the number of column E), which is the wrong day (5 = Thursday). Because you have added extra columns, the formulae are out of whack. The bit in red must advance by one column only as you copy it across the row.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
I will give it a go thanks so much. I knew I messed up somewhere.
Last edited by dominicb; 04-01-2018 at 05:50 PM.
I made it work but not sure if it's correct:
B4:
=IF(WEEKDAY(DATEVALUE(MoMonth&" 1, "&MoYear))=COLUMN(A$1),1,IF(LEN(A4)>0,A4+1,""))
C4 & D4:
=IF(WEEKDAY(DATEVALUE(MoMonth&" 1, "&MoYear))=COLUMN(B$1),1,IF(LEN(B4)>0,B4+1,""))
Then I added one letter for each across.
Last edited by dominicb; 04-01-2018 at 05:52 PM.
see attached file.
It was easy enough to manually fix the formula.
1. Click on the * Add Reputation if you think this helped you
2. Mark your thread as SOLVED when question is resolved
Modytrane
Thank you modytrane that works great!
Last edited by dominicb; 04-01-2018 at 05:52 PM.
Yes, hard-coding the day numbers is the safest way to do it here. I wanted you to understand what you'd done to cause it to fail, though.
I appreciate the lesson as always.
Last edited by dominicb; 04-01-2018 at 05:51 PM.
Billy Spivy
This forum exists so that others may learn and benefit from the wisdom provided by others' experiences.
I have restored your posts in this thread.
Please do not indulge in the churlish behaviour again.
Thread locked.
DominicB
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks