Creating a Calendar

GerryBriant

New Member
Joined
Jan 15, 2018
Messages
16
My conundrum is..
On sheet 1, I have a 2 columns (A & B) containing multiple dates.
Column A' is 'Task start date' & Column 'B' is 'Task end date'.
On sheet 2, Row 1 contains incremental dates.
The outcome I am trying to work out is
Sheet 1 start date (A2) = 01/01/2018, end date (B2) = 03/01/18
Sheet 2 I would expect (or am hoping) to see the following against the column dates
A1 is 01/01/2018, & A2 = 1, B1 is 02/01/2018, & B2 = 1, C1 is 03/01/208, & C2 =1, D1 is 04/01/2018 & D2 = 0 (or blank), E1 is 05/01/2018 & E2 = 0 (or blank) etc.
PS date formats are UK
Any suggestions or guidance?
 
I have incorporated your suggestion in a nested formulae (to select against a employee

Hi, If A.Gibbs, for example, can only appear once on sheet1 then there will be a better alternative - but assuming that is not the case you can try:


Excel 2013/2016
ABCDEFGHIJ
101/01/201802/01/201803/01/201804/01/201805/01/201806/01/201807/01/201808/01/201809/01/2018
2A. Bugg001110000
3A. Gibbs111000000
Sheet2
Cell Formulas
RangeFormula
B2=0+(COUNTIFS(Sheet1!$B:$B,"<="&B$1,Sheet1!$C:$C,">="&B$1,Sheet1!$A:$A,$A2)>0)




Excel 2013/2016
ABC
1ResourceActivity Start DateActivity End Date
2A. Gibbs01/01/201803/01/2018
3A. Bugg03/01/201805/01/2018
Sheet1
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Thank You FormR,
I have incorporated your suggestion in a nested formulae (to select against a employee - {=SUM(IF(Sheet1!$A:$A=$A6,(0+(COUNTIFS(Sheet1!$D:$D,"<="&H$3,Sheet1!$E:$E,">="&H$3)>0))))} but I am not getting the expected result...

Sheet1
Resource
(Select from Dropdown)
Activity Start DateActivity End Date
A. Gibbs01/01/1803/01/18

<tbody>
</tbody>

Sheet2

BHTueWedThuFriSatSunMon
Employee0102030405060708
A. Bugg33333330
A. Edwards11111110
A. Gibbs11111110

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

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