# Counting The Days Worked And Days Remaining On A Schedule Automatically

Sep 1, 2007
I'm basically looking for a forumla that will count each employees total scheduled work days for the month inserted and then depening upon the day it is will show how many days the employee has left to work for the month.

View 9 Replies
ADVERTISEMENT
Jul 31, 2013

I am trying to get a formula that will give me the number of days remaining in the week. I have a formaula for number of days until the end of the month and number of days until the end of the quarter, but just need the week.

So if the formula was run today it would show 4 as the result.

View 9 Replies
View Related
Dec 2, 2009

How to determine how many days are remaining in the quarter after I provide it a specific date. Ultimately I am trying to build something where if I enter a date it will break down how much it will contribute for the remaining current quarter and for one full year (on a quarterly basis).

For example lets say I buy gumball machine today and I know that it will contribute X dollars for 2009 and X+1 dollars in 2010. I would like to break it down quarterly and have it say - you will get X for the rest of the quarter in 2009 and X for each quarter in 2010.

View 3 Replies
View Related
Apr 1, 2009

A1, B1, C1 and D4 are cell in Excel worksheet and values are 2, 4 and 6 in A1, b1 and c1 respectively.

A1 B1 C1 D4

2 4 6 C1-Formula is: =sum(A1+B1)

Now I have to write formula for D4-cell:

i.e. =sum(C1/Total days remaining of the month)

Suppose Today is April 01, 2009, C1/should be devided by 30,

Tomorrow will be April 02, 2009, C1/should be devided by 29.

View 10 Replies
View Related
Apr 9, 2009

how i can fix the formula below to show the number of remaining days between the given date and the current date.

View 3 Replies
View Related
Jan 27, 2014

I'm looking for a formula that will return the time left to a birthday, in Month and Days.

View 5 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
Apr 25, 2012

I'm have problems workdays in a month. I have highlighted errors in red.

Sheet1

ABCDEF1JoinedPosition EndJan-12Feb-12Mar-12Apr-12213/06/1101/01/1222212221331/01/1122/03/1322212221419 ...

View 3 Replies
View Related
Oct 8, 2008

I need to create a formula that calculates the number of days a person has worked within a quarter, if they have also left the organisation within the same quarter.

For example, I have someone who left on 26/08/08. I need to establish how many working days this person actually worked within the quarter (01/07/08 - 30/09/08). I need to do this for a large number of staff, so would appreciate it if anybody can let me know whether there is a formula that would calculate this.

View 9 Replies
View Related
Jan 3, 2013

I have managed to write some vba using sumproduct to identify multiple instances of a day in a persons schedule ... following is the code:

Sheets("Schedules").Activate

Range("A" & jj).Select

LastRow = Cells(Rows.Count, ActiveCell.Column).End(xlUp).Row

Range("AF3").Formula = Evaluate("=SUMPRODUCT((A3:A" & LastRow & "= """ & WeekDay & """)*(B3:B" & LastRow & "="""

& ClName & """))")

[Code] .....

The sumproduct essentially checks to see for example that in the A3:AA range whether we have a match .... say a Monday that appears more than once for the client ... say John G. In the example I am using we have John G with three time slots on Monday that he is scheduled thus kkk = 3.

I would like to loop through the ranges in the Schedules sheet and copy those rows where the above statement about John G is true. For the rest of the example we just assume that John only has one scheduled time for each of the rest of the days of the week so in those instances kkk = 1.

I have the following code to loop thru the days of the week:

For j = 3 to 11

WeekDay = Range("AE" & j)

...

if kkk > 1 then

WeekDay = Range("AE" & (j-cntr))

else

WeekDay = Range("AE" & j)

Next j

There is a whole bunch of code, including he sumproduct above that then loops thru the Schedules sheet in the appropriate rows and columns copying the instances where John G has a schedule for a particular day of the week.

First I create a schedule sheet for John G and the vba code enters the first row of data ... Monday etc etc in Row A3 thru H3 of this new sheet.

On the second loop through the data on the Schedules sheet it finds another Monday for John G and this is where I would like to hold the WeekDay variable such that it is still pointing to Monday for a total of three loops since kkk = 3 for John G and Monday.

The problem that I am having is that if I hold WeekDay to point at Monday by something like WeekDay = Range("AE" & (j -1)), it seems to work for two instances ... that is the first instance, WeekDay = Range("AE" & j), j here is 3 for example, then the next pass we have WeekDay = ("AE" & j) and here j = 4 but since I reset it back one we are still at 3 ... this unfortunately only works once then I get and empty WeekDay = "". The loop has to loop through the Schedules sheet and I use jj as a variable here which increases by one each pass through ... next j, however ... increases j but then I try to reset it back by one so that it is still pointing to Monday in the Range("AE" & j) section of the Schedules sheet, it is a temporary range.

View 1 Replies
View Related
Dec 1, 2008

I have a minor assignment at work. The manager has given me a sheet that lists each employee's start date, and he wants to know what percentage of them have worked here for more than 30 days, 60 days, 90 days, etc. I know a long way to do it, but there's several hundred names, and there must be a quicker way. Is an array formula the answer? I need a non-VBA answer, but I'm not opposed to learning a VBA method (no pun intended).

View 9 Replies
View Related
Aug 11, 2009

I need to be able to calculate the actual number of days worked for an employee over a specific date range. I have a data sheet containing employee, transactions, and date of transaction (date only, does not include time). The actual number of days worked may fluctuate due to time off or holidays, so I need to be able to calculate this individually by employee. For example, with columns Employee, Transaction, & Transaction Date:

123 ABC 07/01/2009

123 ABC 07/02/2009

123 DEF 07/02/2009

123 GHI 07/02/2009

123 ABC 07/03/2009

123 ABC 07/07/2009

123 DEF 07/07/2009

123 ABC 07/08/2009

123 ABC 07/09/2009

etc....

Should return 4 work days for employee 123 over the date range 07/01/2009-07/07/2009

View 9 Replies
View Related
Oct 30, 2013

I'm currently trying to set up a sheet ...

When setting up a Direct Debit There are 3 options, the 7th, 17th and 27th. I've put these into a drop down list. I need this list to be slightly dynamic. I must allow 10 working days from the date of the arrangment before I can apply the DD.

To explain further. If someone were to want to set up a DD and spoke to me today. If they then requested the DD be taken on the 7th, I wouldn't be able to set it up until the 7th of December as 10 working days are required. I'd like the list to reflect this. I can do it in OO with a simple if / switch but excel is a strange creature and I'm not sure how to approach the problem.

From that I think I also need to calculate the number of weeks remaining in the current financial year. I think I should be able to do this by using the Today() function and some maths.

View 1 Replies
View Related
May 24, 2009

A B

1 4/1/09 12:15

2 4/2/09 10:00

3 4/4/09 8:10

4 4/6/09 9:00

5 4/8/09 5:00

6 4/11/09 7:00

I need to add up hours worked of last 3 days including current day. The date column does not contain everyday's date. How do I formulate a cell for date entry and another cell will show the sum of last 3 days including date not shown and date entered? E.g. If I enter date 4/6/09, result should be 17:10 hrs; 4/11/09, result should be 7:00.

View 9 Replies
View Related
Oct 16, 2009

I am trying to calculate the number of days since an employee worked. Column A has the date and columns B,C, and D show the name of the 3 employees who worked that day. Each row shows the next day in column A with the three employees who worked that day in columns B,C, and D. I need the format of the excel sheet to remain the same. I'm looking for a formula that will calculate the number of days since each employee has worked...there are 10 different employees and only 3 work each day.

View 19 Replies
View Related
Oct 7, 2009

I developed a 14-day work schedule and I assigned each different job position a number. The different job positions are numbered 1-6 and are as follows: #1=5:30am-1:30pm, #2=6:00am-2:00pm, #3=9:30am-1:30pm, #4=12:00pm-8:00pm, #5=1:00pm-8:00pm & #6=6:00pm-8:00pm. Numbers 1,2,4,5 clock-out for a 30 minute lunch break, while the other numbers do not.

My goal is to insert the numbers 1-6 into the spreadsheet throughout the 14 days for each employee, and have Excel calculate the total number of hours for each employee in the far right column. I would also like "V" & "H" to equal 7.5 hours. This would save a lot of time instead of going through and adding up the hours with a calculator

View 3 Replies
View Related
May 28, 2008

I have a questions about counting days and hours.

Imagine that i have an item entering my warehouse on 22/05/2008 at 21h35 and leaving on the 25/05/2008 at 5h42.

A1= 22/05/2008 and B1= 21h35

A2= 25/05/2008 and B2= 5h42

The goal is to count the full 24 hours day and the remaining hours.

For the example given i can say that on day 22 the item only says 2 hours and 25 minutes, on day 23 it stays 24 hours and on day 24 another 24 hours, on day 25 the item leaves at 5h42, so it only stays those 5h42.

So we have 2 full 24 hour days and 2h25 plus the 5h42, the the item were stored 2 days and 8 hours and 7 minutes.

The problem is when the item arrives at (example) 22/05/2008 2h00 and leaves at 25/05/2008 23h00 on another day. Lets say that on the first day the item is 22 hours stored, plus the 2 full 24 hour day and another 23 hours.

So it is 2 days plus the 45 hours, that is 2 days plus 1 day and the remaining 21 hours.

how to add to this 2 full days the 1 day and 21 hours

View 14 Replies
View Related
Oct 9, 2007

a count formula.

Right, Column A on my sheet is the date that the work was completed. First thing is I need to be able to count how much work was completed per month. (I dont know why we have it all in one big sheet rather than monthly sheets but thats too logical!)

Secondly, column I is the number of days that piece of work took to complete. I need to be able to have a formula that looks at the month the work was completed, then total up the number of days that the work took.

(Example, if I have three bit of work completed in October, 1 took a total of 20 days, 1 took 15 and 1 took 10 it would = 45 days)

I know that this should be possible as I've had Excel doing more complex formulas than this.

View 14 Replies
View Related
Mar 10, 2014

I have a problem now with my new spreadsheet. I need to use vba to automate a process.

Date

Item

Holding Days

01/03/2014

A

1

[Code] ........

Scenario: On 01/03/2014, I bought A and hold it therefore holding days is 1. Then I sold it on 02/03.2014 so it became 0. Until 04/03/2014, I bought A back, therefore holding 1 day. 05th I didn't sell so I am still holding it, meaning holding days =2. Then on 06th, I sold A and buy B, resetting the holding days to 1 for a new item.

From the table above, how can I use vba to automate the last column?

View 4 Replies
View Related
Jan 12, 2007

Is there a formula that will return the number of "weekdays" there are in any given month if I provide the month and year?

Is there a formula that will return the total number of days in February if I provide a year?

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
Jun 5, 2009

I need to be able to count the number of each day that has passed so far this month. For example, so far this month the table would look like:

Mondays:1

Tuesdays:1

Wednesdays:1

Thursdays:1

Fridays:0

Saturdays:0

Sundays:0

I don't want the count to include the current day. My data is in a workbook called "Stock Today.xls" on a sheet called "Sales" in column S.

View 9 Replies
View Related
May 27, 2012

There are dates in column C and I need to count how many days are coming due within 90 days of each date based on the today() function but do not exceed the 90 days.

Countif Today()+90

View 5 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
Feb 29, 2012

I have converted a column of dates to days using format & dddd. However I'd now like to count how many mondays, tuesdays, etc are contained in this list, however as the data is still a date I cannot seem to do this.

View 6 Replies
View Related
Oct 19, 2009

I run a small holiday cottage and I want to use excel to tell me which days of the year I get most enquiries for.

Every time I get an enquiry for a certain period in the cottage, I enter the dates into excel.

I have two columns - Start of holiday and End of holiday.

What I would like to do, is give each day of the year one point if someone enquires for it.

e.g. If someone asked for 3rd january to 5 january, I would give 1 point to the 3rd and 1 point to the 4th of january (but not the 5th as that is the day they would leave!)

At the moment I find it easier to count with pen and paper than use excel for this problem.

View 9 Replies
View Related
Jul 6, 2009

I need to do a total of the dates entered in the RAW DATA sheet that fall in between today's date and 7 days ago. I am comparing it to B3 in sheet 2. Have tried a COUNTIF but cannot get it to work.

View 4 Replies
View Related
Sep 10, 2008

I am trying to count the number of orders written per day. I used the following formula on another sheet and it worked fine, however on this one, A8 is a date only, and F2:F2000 is a date and a time.

I tried reformating the cell for date only, and it displays only the date, however, the time information is still stored, and I can't get it to do the count. Is there a way to count the date regardless of the time?

=COUNTIF('ACT Legacy'!$F$2:$F$2000,Stats!A8)

View 5 Replies
View Related
Jul 6, 2012

I'm trying to count the total days between to dates but minus the fed holidays. I have a list of holidays I can ref. I like how the NETWORKDAYS function works but I need to include the weekends.

View 2 Replies
View Related
May 11, 2006

I have been struggling for almost 2 days with this problem.

I have a list of data, one column of which is the date displayed in dd/mmm/yy format.

This date will always be entered by users and is variable.

I can't find a way of counting the number of occurences of each month and each day that the date represents.

So, I want to know how many occurences of March, June, May, Septemeber etc are on this list and Mondays, Tuesdays, etc.

I have tried several posssible routes, DCOUNT DCOUNTA COUNT COUNTIF SUM. I've also tried separating the date out into days & months using the MONTH & DAY functions but this didn't work either.

It also apepars (shock horror) that Excel has incorrect date & day values because entering todays date in one cell (11/05/2006) and then using the DAY function to find the day of the week for this date produces WED when it should be THU. (My system date is set as 1 Jan 1900).

I feel that Excel can't separate the months & days away from the date, since the date is stored as a numerical value and not as we humans use dates.

The dates will always be manually entered by users, probably as dd-mm and Excel will automatically add in the year.

How can I count the occurences of each month and days of the week?

View 9 Replies
View Related