Formula to fill dates but leave out those that don't meet specific criteria

halesowenmum

Active Member
Joined
Oct 20, 2010
Messages
383
Office Version
  1. 365
Platform
  1. Windows
I've received some great help with a formula for date series' that allows me to fill this formula in date sequence however, omitting Bank Holiday Mondays and where a BH Monday occurs, it simply skips that Monday date from the series and just goes straight on to the Tuesday. I'm then able to use CF to highlight the first working day of the week which will either be a Monday or a Tuesday.

For info, this is the formula I've got currrently in the spreadsheet cells:
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
=WORKDAY(H6,1,Holidays)
[/FONT]
And the formula I've got in the CF:
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
=H6=WORKDAY.INTL(H6-5,1,"0011111",Holidays)
[/FONT]

However, I now need to do the same thing kind of with a similar formula BUT, in this case the formula would not insert the dates that aren't the Mondays or Tuesdays that I want - it will, when I fill down/right, only show me the Monday or Tuesday dates one after the other.

Maybe I just need to tweak the above in order to make it exclude the unneeded days of the week.

Any help, as ever, gratefully received.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
With your initial date in cell H6, try putting the following formula in the adjacent cell beneath/to the right and drag-copying it as needed:

=WORKDAY.INTL(H6+2,1,"0011111",Holidays)
 
Upvote 0
That is absolutely the ticket thank you Tetra201.

Works an absolute treat, thank you.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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