Planning activities on difrent daye - but two only

tenbellies

New Member
Joined
May 8, 2018
Messages
6
Hi all,

I have a large spreadsheet with a seris of activites on the majority can be done the same day, however further down the process we can only do two each day.

So is there a formula that anyone knows that looks at a row of dates and then only allocates two activities on any one weekday, so it would look like this?

01/10/18
02/10/18
01/10/18
02/10/18
01/10/18
03/10/18
01/10/18
03/10/18
02/10/18
04/10/18
02/10/18
04/10/18
03/10/18
05/10/18
04/10/18
05/10/18
04/10/18
08/10/18
04/10/18
08/10/18

<tbody>
</tbody>
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
A
B
C
D
1
Dates1Dates2Dates 2
2
1/10/2018​
2/10/2018​
8/10/2018​
3
1/10/2018​
2/10/2018​
8/10/2018​
4
1/10/2018​
3/10/2018​
5/10/2018​
5
1/10/2018​
3/10/2018​
2/10/2018​
6
2/10/2018​
4/10/2018​
2/10/2018​
7
2/10/2018​
4/10/2018​
4/10/2018​
8
3/10/2018​
5/10/2018​
3/10/2018​
9
4/10/2018​
5/10/2018​
4/10/2018​
10
4/10/2018​
8/10/2018​
3/10/2018​
11
4/10/2018​
8/10/2018​
5/10/2018​
Sheet: Sheet63

Array formula in cell B2:

=MIN(IF((COUNTIF($B$1:B1,$D$2:$D$11)<2)*(COUNTIF($D$2:$D$11,$D$2:$D$11)>COUNTIF($B$1:B1,$D$2:$D$11)),$D$2:$D$11,""))

Press and hold CTRL + SHIFT and then press Enter to create an array formula.
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,182
Members
448,948
Latest member
spamiki

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