Index Match Match using dates and times

Seba Robles

Board Regular
Joined
May 16, 2018
Messages
73
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hello all,

I'm having trouble trying to come up with a formula that allows me to do the following...

I have a GOOGLE SHEET with a table that lists activities by date and time assigned to a group.

1687932609341.png


On the second sheet I have a "calendar view" that is supposed to visually show how the activities by group stack on each date.

The screenshot below is the desired outcome. I can't find a formula that matches the date on row 3 with the times on column A.
Aside from that, after the match is found, I would like the cells to populate with the respective duration of the activity.

For example, if we look at activity A from group A1 on the table above, it is scheduled for 6/26, starts at 8am and ends at 8:30am. On the calendar below, cells B4, B5 get populated with that information from the table.

P.S. I used conditional formatting to paint the cells in blue for A1, purple for A2, and red for B1.

1687933111977.png


Would appreciate any pointers. Let me know if more info is needed.

Thanks in advance!!
 

Attachments

  • 1687932673081.png
    1687932673081.png
    49.7 KB · Views: 22

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Why your images clearly show you are NOT using Excel.
Also the fact that something might work in Excel does not mean it will work in Sheets.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,179
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