ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   AutoFill (https://www.excelbanter.com/excel-discussion-misc-queries/72797-autofill.html)

autofill

AutoFill
 
I am using autofill to fill in weekdays, but i want it to exclude holidays.
is this possible?

daddylonglegs

AutoFill
 

If you have your start date in A1 then in A2 you can use the formula

=WORKDAY(A1,1,holidays) and copy down column, where holidays is a range
of cells containing your holiday dates

note: WORKDAY is part of Analysis ToolPak add-in


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=514529



All times are GMT +1. The time now is 11:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com