Which formulae to use

Jay3

Board Regular
Joined
Jul 3, 2009
Messages
237
Hi Guys,

I have an export which gives me holiday start and end dates e.g. 01/08/2018 - 20/08/2018.

I need a formula which will enable me to look at all the dates in the range and enter the value 1 in each corresponding date column on my holiday chart.

Can anyone recommend a good formulae for this?

My work sheet as each month on a different tab. The dates go from left to right and the peoples names are in a column down the left.

Any advice appreciated.

Thanks,
John
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
try this


Excel 2013/2016
ABCDEFGHIJKLMN
1StartEnd01/08/201802/08/201803/08/201804/08/201805/08/201806/08/201807/08/201808/08/201809/08/201810/08/201811/08/2018
2A.N. Other01/08/201808/08/2018111111
3A.N. Other102/08/201809/08/2018111111
Sheet1
Cell Formulas
RangeFormula
D2=IF(AND(D$1>=$B2,D$1<=$C2,WEEKDAY(D$1,2)<6),1,"")
 
Upvote 0
Hi,

Thanks, I think that's definitely a step in the right direction.

So I have added that formulae to my download tab. Now I need to summarise the data by month and person and populate the main template.

So, for example....

Person (A) might have 3 lots of holiday booked in August but my summary would have:

Person (A) on the left column followed by the August dates across the top. So this would mean there would be 1 row for all of the august dates as opposed to several rows.

Is this even possible?

Thanks,
John
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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