Autopopulate a calendar?

I got a requirement to auto-populate an Excel with Calendar based on a Date's value (let's say A1)

So, if A1 = 1 Nov 2017, the excel should auto-populate a calendar in Nov 17; same if A1 = 1 Dec 2017, the excel should auto-populate a calendar in Dec 17, and so forth.

SnapShot.png
Is that possible by using pure Excel formula? I don't need a complex solution here.

Thank you.
test1.xlsx
trowaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob HensonFinance AnalystCommented:
With this formula in B15 you can identify the Monday prior to the 1st of the month specified, or if the 1st is the Monday then that date:

=IF(WEEKDAY(A1,1)=2,A1,FLOOR(A1,7)+2)

You can then use =B15+1 in C15 and copied across to F15
Then use  =B15+7 in B16 and copied across and down to F19.

You can then use Conditional formatting to ensure that surplus days prior to 1st of month or after end of month are formatted as white font on white background with this formula:

=OR(B15<$A$1,B15>EOMONTH($A$1,0)) and apply format of white text.

I will upload a sample shortly.
0
Rob HensonFinance AnalystCommented:
See attached.
calrendar-test1.xlsx
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Please find the attached with one simple approach.
Remember that the columns B and H are hidden.
Calendar.xlsx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
trowaAuthor Commented:
Thank you both, very nice solutions!
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome Trowa! Glad we could help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.