Adding details to a calendar in Excel automatically

Purrple

New Member
Joined
Oct 20, 2022
Messages
5
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. Web
Hi folks,

Appreciate any insight you are able to give! I'm sitting here a little bit stumped about the best way to approach this problem, so if you have better ideas than what I've suggested I am all ears!

I have a table that looks a bit like this:
table.JPG


And realistically, I want to have this information on a calendar view.
So I created a dynamic calendar within my spreadsheet that looks like this (and can be modified based on month/year drop downs)

calendar.JPG

How could I get the name of the person to appear on the calendar with each applicable date including every date in between the first and last?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
MrExcelPlayground13.xlsx
ABCDEFG
1January 2022
2MTWTFSS
3     12
4     JohnJohn
53456789
6JohnJohn, JanetJohn, JanetJanetJanetJanetJanet
710111213141516
8Janet      
917181920212223
10       
1124252627282930
12    PetePetePete
1331      
14       
15
16
17NameStartFinish
18John1/1/20221/5/2022
19Janet1/4/20221/10/2022
20Pete1/28/20221/30/2022
21Janet2/1/20222/3/2022
22Tom2/5/20222/7/2022
Sheet11
Cell Formulas
RangeFormula
A3A3=IF(WEEKDAY($A$1,2)=COLUMN(A3),$A$1,"")
B3:G3B3=IF(WEEKDAY($A$1,2)=COLUMN(B3),$A$1,IF(WEEKDAY($A$1,2)<COLUMN(B3),A3+1,""))
A4:G4,A6:G6,A8:G8,A10:G10,A12:G12,A14:G14A4=IFERROR(TEXTJOIN(", ",TRUE,IF(A3<>"",FILTER($A$18:$A$22,($B$18:$B$22<=A3)*($C$18:$C$22>=A3)),"")),"")
A5,A7,A9A5=G3+1
B5:G5,B7:G7,B9:G9B5=A5+1
A11,A13A11=IFERROR(IF(MONTH(G9+1)=MONTH($A$1),G9+1,""),"")
B11:G11,B13:G13B11=IFERROR(IF(MONTH(A11+1)=MONTH($A$1),A11+1,""),"")
 
Upvote 0
Solution
This is amazing! I really couldn't wrap my head around coming up with a solution but seeing your solution makes it seem so obvious. Thank you so much!
 
Upvote 0
I spent most of the time - by far - making the dynamic calendar. I never had a use for that before.

Keep coming on this site and solve people's problems (post the answers or don't) - look how other people solve them. You'll double your skill every few months.
 
Upvote 0
Thank you for your encouragement. I do have a follow up question if that's OK - after getting this to work I realized that it would be nice to have the name followed by a location. I've got an additional column in my sheet that says a location name. How could I refine this? We can just assume this is column D in your own example table

(I'm using a CHAR10 as a delimiter to drop it down a line so that it doesn't get too crowded)

=IFERROR(TEXTJOIN(CHAR(10),TRUE,IF(A3<>"",FILTER($A$18:$A$22,($B$18:$B$22<=A3)*($C$18:$C$22>=A3))&" - "&????,"")),""
 
Upvote 0
Thank you for your encouragement. I do have a follow up question if that's OK - after getting this to work I realized that it would be nice to have the name followed by a location. I've got an additional column in my sheet that says a location name. How could I refine this? We can just assume this is column D in your own example table

(I'm using a CHAR10 as a delimiter to drop it down a line so that it doesn't get too crowded)

=IFERROR(TEXTJOIN(CHAR(10),TRUE,IF(A3<>"",FILTER($A$18:$A$22,($B$18:$B$22<=A3)*($C$18:$C$22>=A3))&" - "&????,"")),""

I realized that I was WAY over thinking this and that I could just filter the location name in the same way back to back... Shows both now :)
 
Upvote 0

Forum statistics

Threads
1,214,387
Messages
6,119,208
Members
448,874
Latest member
Lancelots

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top