# Counting The Number Of Days

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
ADVERTISEMENT
Oct 6, 2012

I have got a project that has several hundred starts and finishes. I want to count them over time to use as an indication of progress. ( I want to show this graphically)

I have got the graph working but it is pretty long handed.

I have tried using a pviot table and picvot graph which almost does it but has a few problems (if there is no data in a month then it wont create an entry for the month, and the cumulative over time is not quite working).

Both examples are in the attached file : Progress Curve ozgrid1.xlsx

View 6 Replies
View Related
Aug 11, 2013

i am trying to get the number of days from last time ticket paid till todate, considering the day & month of the hiring date but the year of the last time paid. say AAA hired on 15-Nov-2001 receives a ticket every 24 months; received last ticket in Nov 2011.

i want to count the number of days between 15-Nov 2011 until 31-Jul-2013 (dd & mm are from joining date yyyy from last time paid) i have a list of 1200 names with different dates of joining and different dates of payments.

View 6 Replies
View Related
Sep 25, 2013

I am trying to find a way of counting the total number of days medical devices were in-situ for a fairly large dataset.

The worksheet has a few thousand rows. Column A - unique identifier for patient; column B - date inserted (Aug 02 - Aug 13); column C - date removed or audit date. There is no missing data, all rows have both dates. Some devices in for few days or weeks, some for up to 7 years.

I want to count each 12 month period (starting 1 Aug 02) the total "device days" for that year. (e.g. if device inserted 1 Feb 03 and removed 1 Apr 03, in year period starting 1 Aug 02 would have been in for 59 days. Another device inserted on same day and not removed until 9 Sept 05, would for first period (01/08/02- 31/07/03) 181 days, second period 366 days, third 365 days and fourth (01/08/05-31/07/06) 39 days). Therefore for the two rows, the first period total would be 240 days (59+181).

View 3 Replies
View Related
Aug 9, 2013

I am trying to get the correct formula to count the number of days it has been for each employee since the last occurrence of an absence/tardy. For each employee, starting with the beginning of the year, we mark and employee as Absent as an "A" or Tardy as "T". See below the examples.

...................................1/1 ....1/2 ....1/3 ....1/4 ....1/5 ....1/6 ....1/7 ....1/8 ....1/9 ....1/10 ....1/11 ....1/12 ....1/13

Captain America ................................A ..........................T .....................................T

Incredible Hulk.......................................................................................... A

Spider Man ........................................................................................................................ ........A

Iron Man ....................................................T

( I added dots because it wouldn't let me space them out?)

We are keeping track so that employees have the ability to make up numbers because after so many occurrences they can become terminated. If an employee has about 60 days in a row without an infraction, that employee can deduct a day from their total on the year.

Any formula to use. Also to include a vlookup so that I could have their name as well with the number of days on a separate tab!

View 4 Replies
View Related
Jun 17, 2014

I have the following:

A1 = Date item is due. (DD/MM/YY format)

A2 = Time the item was delivered (HH:MM:SS format)

B1 = Actual Date item was delivered.

B2 = Actual Time item was delivered.

I'd like C1 to count the number of days the item was late. - taking into account that 16:00:00 is the deadline on each date.

For example:

Due Date: 17/06/14 @ 16:00:00

Arrival Date: 17/06/14 @ 16:01:00

Days Late = 1

Due Date: 17/06/14 @ 16:00:00

Arrival Date: 18/06/14 @ 15:00:00

View 10 Replies
View Related
Jun 17, 2014

I have the following:

A1 = Date item is due. (DD/MM/YY format)

A2 = Time the item was delivered (HH:MM:SS format)

B1 = Actual Date item was delivered.

B2 = Actual Time item was delivered.

I'd like C1 to count the number of days the item was late. - taking into account that 16:00:00 is the deadline on each date.

For example:

Due Date: 17/06/14 @ 16:00:00

Arrival Date: 17/06/14 @ 16:01:00

Days Late = 1

Due Date: 17/06/14 @ 16:00:00

Arrival Date: 18/06/14 @ 15:00:00

Days Late = 1

Due Date: 17/06/14 @ 16:00:00

Arrival Date: 18/06/14 @ 16:01:00

Days Late = 2

View 3 Replies
View Related
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
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
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
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
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
Jan 29, 2014

I have a downtime tracking spreadsheet that we want to be able to track the downtime on the line. However, we only want to count the working hours, not overnight, etc. I have added the weekend day work hours and Saturday work hours but haven't been able to figure out how to connect them into a formula with the down time.

View 1 Replies
View Related
Jul 22, 2014

I have the following formula which counts number of days between dates in two adjacent cells excluding holidays

=NETWORKDAYS(U311,V311,$AA$4:$AA$14)-1

The $AA$4:$AA$14 refers tote range where the excluded holiday dates are stored.

I have included the -1 at the end as it over counts by one day every time. i.e. if the same date is in both cells it counts 1

However if no date is in both fields it count -1 (minus one)

If a date is just in one field it counts a very high number, example below.

-1

16/07/2014

-29879

20/06/2014

08/07/2014

12

[code].....

is there a better formula to use for this? How do I get the result to show ZERO when both cells are empty? can I get the result to show number of days to present date where there is only a date in first column?

View 3 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
Feb 11, 2013

Within a user entered range of two dates, I would like to identify the individual calendar date(s) and count the number of Mondays which fall within the specified date range.I will eventually be using the same "Monday" code to find the same data for every day of the week within the dates ranges, but I figured I'd start with Mondays and build from there.

For Example: Date range 1/1/2013 - 1/15/2013 (date ranges could potentially encompass a full business quarter) Within the range, list each of the dates as dates. (used for comparative counting purposes elsewhere in the document)Count the number of Mons, Tues, Weds, Thurs, Fris, and Sats within the date range.Based on the example date ranges above; Mons = 2, Tues through Sats = 3 each.

View 2 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
Nov 22, 2007

I've tried everything I know (which isnt that much to be honest. lol). Ive tried the frequency formula but that doesn't work the way I want it - I think its probably the wrong formula to use. I've also tried a pivot table but they always vex me. If a pivot table IS the way to go, could someone talk me through it step by step? (*the wizard is just as confusing as doing it yourself I find) ....

View 9 Replies
View Related
Jul 10, 2014

I have a spreadsheet for tracking jobs. Most everything is based off of week # rather than date. I am trying to get the stats page of the workbook to tally the total number of late jobs per week.The current week is taken care of because there is a function that automatically displays on time yes or no and I just set it to count the yeses or nos.The problem I am having is for past weeks.

I tried- =COUNTIF(Table2[On-time],"No"+(CountIF(Table2[Week # Hidden],"<Weeknum(Now())" but that doesn't work. I also tried isolating the < like this. =COUNTIF(Table2[On-time],"No"+(CountIF(Table2[Week # Hidden],"<"Weeknum(Now()) and that did not work either.

------ UPDATE

In response to using CountIFS I have also tried-

=COUNTIFS(Table2[On-time],"NO",Table2[Due Week '# Hidden],"<Weeknum(Now())") this just returns a zero value even when I have a late job listed three weeks ago.

View 10 Replies
View Related
Mar 19, 2012

how can i count the positive days to a inserted date value or the past days (negative value) to the system date (today).

View 5 Replies
View Related
Jan 5, 2012

I've created a very simple formula which counts the number of days from Today and excludes blanks.

I'm trying to set it up so the formula *stops* counting the days once a cell in column C is populated.

Formula so far...

Code:

=IF(A3="", "",A3 - TODAY())

It looks exactly like this this [URL] .....

View 7 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