Creating a calendar from a data set.

Erald

New Member
Joined
Apr 26, 2024
Messages
2
Office Version
  1. 365
Hello,

Would I be able to create a calendar from a data set as shown in the attachment? I would like to be able to change the date on the data set and the name associated with it to appear in the calendar. (Note that I have put the names on the calendar manually, based on the data set information). Thank you in advance for your help!

Regards,
Erald
 

Attachments

  • Screenshot 2024-04-26 143914.png
    Screenshot 2024-04-26 143914.png
    22.6 KB · Views: 15

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I reorganized the way the 'days' are kept - it makes it easier if you keep it like data in a neat table.

MrExcelPlayground22.xlsx
ABCDEFGHIJ
1June 2024
2SundayMondayTuesdayWednesdayThursdayFridaySaturday
3NameDay      01
4DHHS P6/17/2024       
5DHHS P6/24/2024
6DHHS P6/25/2024
7TITLE IV6/10/202402030405060708
8TITLE IV6/17/2024       
9TITLE IV6/24/2024
10NSF6/12/2024
11NSF6/24/202409101112131415
12NSF6/25/2024 TITLE IVEducationNSF   
13Education6/11/2024
14Education6/18/2024
15Education6/25/202416171819202122
16 DHHS PEducation    
17TITLE IV
18
1923242526272829
20 DHHS PDHHS P    
21TITLE IVNSF
22NSFEducation
2330      
24       
25
26
Sheet19
Cell Formulas
RangeFormula
D3D3=IF(WEEKDAY($D$1)=1,$D$1,"")
E3E3=IF(WEEKDAY($D$1)=2,$D$1,IF(D3<>"",D3+1,""))
F3F3=IF(WEEKDAY($D$1)=3,$D$1,IF(E3<>"",E3+1,""))
G3G3=IF(WEEKDAY($D$1)=4,$D$1,IF(F3<>"",F3+1,""))
H3H3=IF(WEEKDAY($D$1)=5,$D$1,IF(G3<>"",G3+1,""))
I3I3=IF(WEEKDAY($D$1)=6,$D$1,IF(H3<>"",H3+1,""))
J3J3=IF(WEEKDAY($D$1)=7,$D$1,IF(I3<>"",I3+1,""))
D4:J4,D24:J24,E20:F22,D20,G20:J20,E16:E17,D16,F16:J16,D12:J12,D8:J8D4=IFERROR(IF(D3="","",FILTER(Table8[Name],Table8[Day]=D3)),"")
D7,D15,D11D7=J3+1
E7:J7,E15:J15,E11:J11E7=D7+1
D19D19=IF(MONTH(J15+1)=MONTH($D$1),J15+1,"")
E19:J19,E23:J23E19=IFERROR(IF(MONTH(D19+1)=MONTH($D$1),D19+1,""),"")
D23D23=IFERROR(IF(MONTH(J19+1)=MONTH($D$1),J19+1,""),"")
 
Upvote 0
Solution
What if I have two tables as shown in the picture and I need to pull the data from both of them into the calendar, how would the formula look like? I don't seem to get the correct one.



1719588385047.png
 
Upvote 0
vstack should be your friend here.
MrExcelPlayground22.xlsx
ABCDEFGHIJKL
1June 2024
2SundayMondayTuesdayWednesdayThursdayFridaySaturday
3NameDayName2Day3      01
4DHHS P6/17/2024A6/18/2024       
5DHHS P6/24/2024A6/25/2024
6DHHS P6/25/2024A6/26/2024
7TITLE IV6/10/2024B6/11/202402030405060708
8TITLE IV6/17/2024B6/18/2024       
9TITLE IV6/24/2024B6/25/2024
10NSF6/12/2024B6/13/2024
11NSF6/24/2024C6/25/202409101112131415
12NSF6/25/2024C6/26/2024 TITLE IVEducationNSFB  
13Education6/11/2024B
14Education6/18/2024
15Education6/25/202416171819202122
16 DHHS PEducation    
17TITLE IVA
18B
1923242526272829
20 DHHS PDHHS PA   
21TITLE IVNSFC
22NSFEducation
23A
24B
25C
26
27
2830      
29       
30
31
Sheet19
Cell Formulas
RangeFormula
F3F3=IF(WEEKDAY($F$1)=1,$F$1,"")
G3G3=IF(WEEKDAY($F$1)=2,$F$1,IF(F3<>"",F3+1,""))
H3H3=IF(WEEKDAY($F$1)=3,$F$1,IF(G3<>"",G3+1,""))
I3I3=IF(WEEKDAY($F$1)=4,$F$1,IF(H3<>"",H3+1,""))
J3J3=IF(WEEKDAY($F$1)=5,$F$1,IF(I3<>"",I3+1,""))
K3K3=IF(WEEKDAY($F$1)=6,$F$1,IF(J3<>"",J3+1,""))
L3L3=IF(WEEKDAY($F$1)=7,$F$1,IF(K3<>"",K3+1,""))
F4:L4,F29:L29,I20:I21,H20:H25,G20:G22,F20,J20:L20,H16:H18,G16:G17,F16,I16:L16,H12:H13,F12:G12,I12:L12,F8:L8F4=IFERROR(IF(F3="","",FILTER(VSTACK(Table8[Name],Table8[Name2]),VSTACK(Table8[Day],Table8[Day3])=F3)),"")
F7,F15,F11F7=L3+1
G7:L7,G15:L15,G11:L11G7=F7+1
F19F19=IF(MONTH(L15+1)=MONTH($F$1),L15+1,"")
G19:L19,G28:L28G19=IFERROR(IF(MONTH(F19+1)=MONTH($F$1),F19+1,""),"")
F28F28=IFERROR(IF(MONTH(L19+1)=MONTH($F$1),L19+1,""),"")
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,186
Members
452,615
Latest member
bogeys2birdies

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