days/date formula

kins

Board Regular
Joined
Jul 26, 2010
Messages
157
Hi,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
<o:p> </o:p>
I need a formula whereby I have a date and I want to take one working day, 2 working and so on, from my initial date. For example –
I have a date of Monday 23<SUP>rd</SUP> Jan 2012, in the next cell I want it to add to days (or 1 or 3) to this day to give me the day i.e. 1 working day before 23/01/2012 would give me the 20/01/2012, 3 working days would give me 18/08/2012.
<o:p> </o:p>
Have I explained myself OK?
<o:p> </o:p>
Thanks in advance,
<o:p> </o:p>

Kins.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi

Assuming xl2003 or earlier, you need to iunstall the Analysis Toolpak via Tools>Addins. Then (and in xl2007 or higher) you can use the WORKDAY function:

=WORKDAY(YourDateCellHere,DaysToAddOrTakeAway,OptionalHolidayList)

eg

=WORKDAY(A1,-1)
 
Upvote 0
Try

=WORKDAY(A1,-1,E1:E20)

Where E1:E20 is an optional range containing holidays to be excluded.

This requires the analysis toolpack from Tools - Addins

Hope that helps.
 
Upvote 0
thanks for the above, richard. i knew it would be simple, and i wasn't a million miles away.
 
Upvote 0
Hi kins,

Have you tried doing a fill series by ~ type = date, date unit = weekday, step -1?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

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