# =WORKDAY But Includes Weekends In The Specified Number Of Days

Nov 24, 2008
I'm looking for a function similar to =WORKDAY but with a slight variation.

I want the formula to return the date that is the closest non-weekend, non-holiday day that is a specific number of CALENDAR days from the start date. So the formula does not return weekend or holiday days, but does include them when counting the days away from the start date.

For example if the start date was Dec 1st, and I specified 14 days after this date, I would want Dec 15th returned (as the 14th is a weekend).

View 9 Replies
ADVERTISEMENT
Jun 24, 2011

Is there a formula similar to WORKDAY that would include weekends and make something due on the next business day? For example, I have a bill due on 6/1/11 and I need to follow up 5 days later - which would be normally 6/6/11 but the WORKDAY formula makes it 6/8/11 as it is adding 2 extra days.

I am using Excel 2010.

View 14 Replies
View Related
Jun 9, 2007

I am trying to set up a sick leave list which will work out the cumulative total for the last 12 months (from last day of last sick entry). The problem I have, as the is is added to, I need a function/formula to work out 12 months from last date and then add up the no. of sick days from then to the last date. Hope this is clear. The next problem is I need it to work out total days and then without weekends. Below is the chart I have to work out.

Column 1 Start date of sickness

column 2 End date

Column 3 the number of days sick in period (column 2 less column 1 in days)

column 4 the number of days sick in period above excluding week ends (column

2 less column 1, less weekends in days)

column 5 total sick days in last 12 months from date in column 2 going back

a year including weekends

column 6 total sick days in last 12 months from date in column 2 going back

a year excluding weekends

What function or formulas can I use to calculate column 3,4,5 & 6. I am a not very experienecd in Excel

View 7 Replies
View Related
Aug 8, 2006

I'm at my wits end trying to make a workday formula work, but am having no luck. I've searched the other posts, but did not quite find a match. I'm trying to subtract a number of days from a workday function, but it seems to bypass ignoring the weekends (as is supposed to be done automatically with Workday). Here's the formula I'm trying to use:

=WORKDAY(H5,L5,' Reference Info'!$E$110:$E$117)-(I5/8)

I5/8 is a column with hours - this just calculates a number of days to subtract based on the number of scheduled hours.

The formula will calculate, but it still ignores weekends. I've tried burying the I5/8 within the parenthesis, moving it around in the formula,

View 7 Replies
View Related
Aug 6, 2012

I want to create a formula that works out the number of days between two dates but excludes weekends?

View 3 Replies
View Related
Mar 31, 2007

When I use the formula below it works great;

= J10+(1/$D$10)

J10 = 3-1-07

D10 = 1.5 (Production Rate example .2,.5, 1.5 rate per day) The result is:

3-1-07

3-1-07

3-2-07

3-3-07

3-3-07

3-4-07

3-5-07 and so on...

however, when I try to include only workdays, it does not calculate correctly.

= WORKDAY(J10+(1/$D$10),1,Holidays!B75:B88) with the same definitions as above the result is...

3-1-07

3-2-07

3-3-07

3-4-07

View 9 Replies
View Related
May 22, 2008

how to find the number of days between 2 Dates excluding weekends and holidays using vba. I m using excel 2003. All I know is to figure out todays date using the keyword 'Date'.

Also, this is my second post and I have tried to comply with the rules regarding the title, but if it is still inappropriate and does not meet 'stating the problem' criteria,

View 3 Replies
View Related
Dec 4, 2013

I have a holiday and sickness chart for all of the guys in my maintenance department for the whole of next year (2014). The holidays part works fine. The sickness is split into two areas; the number of occurrences of sickness and the total number of days sick. To make the formula work for the number of occurrences it is necessary to enter sick in both Sat and Sun if the sickness spans the weekend. But we do not work the weekend and so I do not want to count those two days. The formula needs to cover the entire year (cells BL5:ZL5). The calculation that I am currently using is =COUNTIF(BL5:ZL5,"Sick")/2 (divided by two as we log a.m. and p.m. and the answer is in days). In the example attached, it would be 1 occurrence of sickness and 3 days sick, not 4 as shown.

For completeness, the formula that I am using for the occurrences is =SUMPRODUCT((BL5:ZL5="Sick")*(BL5:ZL5<>BK5:ZK5))

View 3 Replies
View Related
Apr 29, 2006

I am looking for formula to calculate the dates between two days (excluding the weekends)

I am working in Saudi Arabia and the weekend days over here are thursday and Friday.

View 9 Replies
View Related
Nov 23, 2012

I am trying to calculate mandays starting from 1st December 2012 to 29th March 2013, and i want to count the days excluding the weekends, formula, i am trying NETWORKDAYS, i use MS2007.

View 2 Replies
View Related
Jun 21, 2006

I have a date in a cell and need a formula that will calulate the next 4 days excluding weekends and holidays. I have search and found where one can do more complex items but not just a simple formula. I have attached an example.

View 2 Replies
View Related
Feb 28, 2008

I am trying to compile a count of dates using a numerical reference which adds x consecutive dates onto the initial start date based on the number in a cell.The dates added cannot fall on a weekend.

The start date for each calculation begins in D4 with the corresponding number of days to add onto this date in K4. In the example below 8/11/2007 -- 2 means that the 8th and 9th of Nov get one added to their count. As the next row also has 9th Nov as a start date one more is added to 9th Nov. As the 10th and 11th were a weekend they are skipped and the count starts again from the next Monday. I have enclosed a simplified worksheet with some sample data.

Example:

D4 --------- K4

8/11/2007 -- 2

9/11/2007 -- 3

Expected output:

AE4---------AF4

8/11/2007 -- 1

9/11/2007 -- 2

12/11/2007 --1

13/11/2007 --1

View 5 Replies
View Related
Jul 11, 2006

I am creating a problem report spreadsheet for work. In col C I have a date/time that the problem started, eg, 23-Jun-2006 15:20 and in col D I have a date/time for when the problem was resolved, eg, 26-Jun-2006 15:40. I need to calculate the amount of hours that we were not available for use (due to the problem). This is based on a list of available hours. Eg, on Mondays we are available 19.5 hrs, T-F 22.5 hrs, Sa 14.5 hrs, and Sun 0 hrs.

If I do a straight subtraction, it uses 24 hrs for each day - not taking into account our available hrs. If I do NETWORKDAYS it automatically doesn't consider Sat or Sun - and i need it to - and it does have a DayEnd and DayStart but it assumes they are constants. I found the day corresponding to the date and thought I could determine the series of days between it, e.g., if the start day was Friday & the end day Monday, the series in between is Sat & Sun. Then I could do a lookup on all 4 days in a table & add them all together. But I can't figure out how to do this!

View 4 Replies
View Related
Jan 19, 2006

how can you custom a cell format in which you may in type in information that is displayed as ###-##-####-@# I searched everywhere and cannot find this.

For example, a medicare number.

I would need to type in 581566223b6, and it should be displayed as 581-56-2236-B6.

View 9 Replies
View Related
Nov 22, 2006

how to create a barcode in an excel spreadsheet? I am trying to print out a sheet that includes a code 128 barcode of a specific number that I type in.

View 2 Replies
View Related
Mar 14, 2014

I am making process TAT(Turn Around Time) which required following information. In Excel 2007.

1-Count number of days between two dates where working days are (Sun to Thursday). So required to exclude (Friday,Sat + Holidays)

A1-Start Date Mar/01/2014

B1-End Date Mar/31/2014

C1-No Of Days 22

D1-Days between two dates 21

E1 To E10-Holidays

2-Count number of days between two dates where working days are (Sat to Thursday). So required to exclude (Friday + Holidays)

A1-Start Date Mar/01/2014

B1-End Date Mar/31/2014

C1-No Of Days 27

D1-Days between two dates 26

E1 To E10-Holidays

Note : Any weekend (off days) dates listed in holidays should not effect the query.

View 9 Replies
View Related
Jun 2, 2014

I have a worksheet where I capture the date and time of each new entry in column A.

In the next column, it's counting up the number of hours since that entry was made. However, it's including Saturdays and Sundays in this count and I was wondering if there's a formula to calculate the number of hours excluding Saturdays and Sundays? I know that network days would count the number of working days from one date to the next, but really need hours. Is this possible?

View 3 Replies
View Related
May 27, 2009

I have a column of cells with formulas that either return "" or some number. I want to create a named range that includes all values that have some number and not "". The problem is that the formulas in the cells are being included in my named range.

Dynamic Named Range: =OFFSET('!'!$B$7,0,0,COUNTA('!'!$B$7:$B$100000),1)

Problem: includes the cells that have been set as ""

I tried COUNTIF in the OFFSET where ">0" but it would get messed up when my first cells were set to "".

View 4 Replies
View Related
Nov 22, 2013

I want to calculate the end date of my German courses. This is how it works:

A course consists of 60 LU*. The course can occur i. e. three times a week: Monday, Wednesday and Friday. In each day the course lasts 2 LU, which means 6 LU each week. There is no course on Tuesday, Thursday, Saturday, Sunday and on holidays. Therefore this type of course that begins on 18-Nov-2013 will end on 03-Feb-2014.

Another course which occurs Tuesday, Thursday and Saturday, and respectively has 2 LU on Tuesday, 2 LU on Thursday and 3 LU on Saturday and starts on 03-Dec-2013 will end on 06-Feb-2014.

Therefore I want to create a worksheet where I set the start date, choose the days and respectively the LU amount on those days. The end date shall be calculated according to these criteria.

The workday function on excel cannot do this and I do not have any programming skills to work with VBA.

Legend:

*LU = lesson units; 1 LU is 45 minutes

Holidays:

28-Nov-13

29-Nov-13

08-Dec-13

09-Dec-13

25-Dec-13

31-Dec-13

01-Jan-14

[Code] ...........

View 7 Replies
View Related
Mar 22, 2014

How to create a spreadsheet with what I think will be a very simple formula?

If date in B2 - date in A2 is 1 or less days, put a 1 in cell C2.

If date in B2 - date in A2 is 7 or less days but more than 1, put a 2 in cell C2.

If date in B2 - date in A2 is 30 or less days but more than 7, put a 3 in cell C2.

If date in B2 - date in A2 is 90 or less days but more than 30, put a 4 in cell C2.

If date in B2 - date in A2 is 91 days or more, put a 5 in cell C2.

OR

Another, maybe simpler, way of saying it is:

If date in B2 - date in A2 is 1 or less days, put a 1 in cell C2.

If date in B2 - date in A2 is 2-7 days, put a 2 in cell C2.

If date in B2 - date in A2 is 8-30 days, put a 3 in cell C2.

If date in B2 - date in A2 is 31-90 days, put a 4 in cell C2.

If date in B2 - date in A2 is 91 days or more, put a 5 in cell C2.

View 9 Replies
View Related
Dec 19, 2008

I have a series of data that acts upon a traffic light system, i.e. Green, Amber and Red. These variables are posted along row 1 for example and there are 10 columns. Per column I have a tick and cross to answer a question. How can I find out how many ticks were on green days, amber days and red days? I have attached an example.

View 4 Replies
View Related
Jan 28, 2009

I have a table with 2 date columns, and I need to subtract one date from another to give me the number of days the job has taken, but this also needs to exclude the weekends. There is no hours involved.

I.e.

Start Date Finish Date Days Taken

22/Jan/2009 27/Jan/2009 4

Is there a formula that i can use to work out the days taken.

there is multiple rows of information, the above is an example.

View 7 Replies
View Related
Sep 25, 2009

I would like to find the average number of days events take from start to finish.

My data is in 3 columns:

EventName StartDate EndDate

I have a ton of EventNames, each of which have a StartDate. But I want to calculate the average days to complete only for those EventNames that have EndDates.

So, if a cell in the column EndDate is greater than zero, then take that cell, subtract it from the corresponding cell in the StartDate column; Add all of them together and divide by the count of those rows in the EndDate column that have a value.

How do I put this in excel terms? ....

View 3 Replies
View Related
May 24, 2007

I have a start date (say 01/04/07) and I need to add a number of days to it to get the start of the next financial period. Unfortunately, I need to ignore a small list of dates (bank holidays, etc).

View 9 Replies
View Related
Jun 12, 2007

If I was to say have a date in cell A1, is there a formula which would tell me how many days from that date left in the financial year?

I was thinking an IF statement, but I know thats way off course! And it could get quite messy.

This is what I would like it to do:

Cell A1 - 30/10/2007

Formula - Finds the number of days between 30/10/2007 and the remainder of the financial year, which for me ends on 30/06/2007

Should give me the answer of "x" amount of days.

View 9 Replies
View Related
Jul 6, 2007

1/1/2007

1/1/2007

1/2/2007

1/2/2007

1/2/2007

1/30/2007

1/30/2007

1/31/2007

1/31/2007

1/31/2007

1/31/2007

2/1/2007

2/2/2007

2/2/2007

2/2/2007

2/28/2007

2/28/2007

2/28/2007

2/28/2007

2/28/2007

This list goes on with every workday of the month repeat several times, with no day have any set number of entries. Also each new month is just tacked on to the previous list. All of this is in column A but there are many other columns of data with these dates. I just didn't see the need to replicate that here.

What I need is to be able to count the number of unique days per each month but I do not want to have to specify a range for the month of January, then another range for February, etc. I just want to be able to list the column A4:A1200 and have the formula select just the unique days for January. Then in another cell modify the formula for unique days in February and so on.

View 9 Replies
View Related
Nov 3, 2008

If I had two dates in two separate cells , so E2 is the 01/10/08 and F2 is 06/10/08 and I want to work out that their is a difference of five days what would the sum be? Also is there anyway I could factor into that sum what is pure working days as opposed to weekends?

View 9 Replies
View Related
Nov 10, 2008

I am trying to set up a function to derive a number of days between 2 dates.

Within the table I have an on hire date, and off hire date, and an optional suspend hire date range in 2 other columns - ie. there are 4 columns with dates in.

On hire is in column B; offhire in C; suspend hire in G and recommence hire in H. The optional suspend hire date range will always fall within the main hire date range.

Column I calculates the number of days for the suspend hire period.

My key cut off date is in cell C4.

There are 3 different scenarios I need the function to cover.

1 - if the cut-off date (in C4) is later than recommence hire, calculate the number of days from hire start to cut-off date, less suspend hire period days.

2 - if the cut-off date (in C4) falls within the suspend hire period, calculate the number of days from the hire start to the begining of the suspend hire period.

3 - if the cut-off date (in C4) falls before the suspend hire period, calculate the number of days from the hire start to the cut-off date.

This is the fuction I have written:-

=IF($C$4>H10*($C$4-B10-I10),

IF(AND($C$4>G10,$C$4

View 9 Replies
View Related
May 20, 2009

I want to determine the days' difference between 2 days, but I keep getting decimals.

(I don't want to foramt the column, because I want to use the value in a Pivot Table.

I've tried:

=SUM(TODAY(),0-G2,0)

View 9 Replies
View Related
Dec 22, 2009

there are 360 days in a year. is it possible for excel to show what is the current number of day?

eg. today is =350

View 9 Replies
View Related