?
Solved

change weekend days in Excel

Posted on 2014-02-02
3
Medium Priority
?
2,667 Views
Last Modified: 2014-02-05
Hi

In my country weekends are Friday and Saturday instead of Sat and Sun. So, how can change it in Excel due to I have some functions to calculate working days ??


Thanks
0
Comment
Question by:obad62
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Assisted Solution

by:Steven Harris
Steven Harris earned 668 total points
ID: 39828068
Are you using networkwordays() by chance?  Switch to:

=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])

In your case, [weekend] = 7, so - If start date is A1, end date is B2:

=NETWORKDAYS.INTL(A1,B1,7)
0
 
LVL 81

Accepted Solution

by:
byundt earned 668 total points
ID: 39828721
There is also WORKDAY.INTL, which is equivalent to WORKDAY but lets you specify the days of the weekend. Like NETWORKDAYS.INTL as mentioned by ThinkSpaceSolutions, your Friday & Saturday weekend would be specified by [weekend] = 7

To get a date 12 working days in the future, you would use:
=WORKDAY.INTL(TODAY(),12,7,HolidayList)          
where HolidayList is a named range listing public holidays in your country

NETWORKDAYS.INTL and WORKDAY.INTL require Excel 2010 or later.
1
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 664 total points
ID: 39829407
In earlier versions of Excel you can modify the regular NETWORKDAYS function to treat Friday and Saturday as weekend days by "offsetting" the dates, e.g. like this:

=NETWORKDAYS(A2+1,B2+1)

[+2 would give you Thurs/Fri weekend, +3 Wed/Thurs etc.]

With holidays in H2:H10 you can also exclude holidays with this version

=NETWORKDAYS(A2+1,B2+1,INDEX(H$2:H$10+1,0))

For WORKDAY try this

=WORKDAY(A2+1,C2)-1

where A2 is start date and C2 the number of days to add

Again you can exclude holidays with this version

=WORKDAY(A2+1,C2,INDEX(H$2:H$10+1,0))-1

regards, barry
1

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question