Calculating Two Values Between Two Dates (per Week)

Jun 9, 2014

I need to make a table for an injury category per shift per week. (Falls per shift per week)

I have attached an example of the spreadsheet. I have a formula in the table now that was calculating just the injury type per week but just need to add the function to read per shift but can't seem to get it to read correctly.

View 2 Replies


ADVERTISEMENT

Calculating Number Late Last Week From Multiple Dates / Date Sets

Jul 2, 2014

I am putting together a simple table to display current week's data vs previous weeks. The current week's data is drawn from a status chart which changes frequently. The constant change is fine for 'Current' as I only want the current data displayed.

The problem I am having is calculating the number of late jobs that existed during the previous week.

The status log has a due date which is compared to the current date to determine 'on time' status for the current week.
Due dates are reissued regularly so I can't use

=COUNTIF(RANGE,WEEKNUM(NOW()-1)) to return data about last week from my status chart.

I have available a 'Movement Log' (in the workbook but a separate worksheet) which tracks the changes in the due date field, but I'm not sure how to integrate that data to calculate the # of jobs that were running late from the last week.

My thought is that I need to perform a count of the # of late based on a comparison of 'due date' to 'date of the last day of last week' with a way to insert the "old due date" from the movement log to replace what is shown in the status log if necessary.

Movement Log.JPG

Status Chart.JPG

View 1 Replies View Related

Calculating Dates Using Different Values For NETWORKDAYS

Apr 19, 2006

I have employees that have different number of business days they work. I
need to be able to calculate when the employee has utilized a specific number
of business days specific to the days of the week they work and the number of
days per week work. For example, if I have an employee that works 3 business
days per week (Specifically M, W, and F), and I need to know the date this
employee worked a total of 30 business days, is there a way to calcuate this
date (which should be 6/9/06 if we use a start date of 4/3/06.

View 9 Replies View Related

Convert List Of Dates To Count No. Of Dates By Week

Jan 27, 2006

Basically I have 2 columns each with a list of dates in no particular order (and containing blank cells too), one planned date column and one actual date column.

What I need to do is plot this on a graph, and since the number of dates has no set limit and I dont want to have to plot maybe 100 dates on the x axis, so i want to group them by week before plotting them, i.e. 10 dates for week ending 10th jan, 25 dates for week ending 17th jan etc

I have a pivot table that counts how many of each date occurs, i.e. 10 x 2nd jan, 7x 3rd jan etc etc but it does not split them into weeks.

im sure theres an easyish way of doing it so i can get the 2 lines on the graph for no. of planned dates each week and no. of actual dates each week, i just cant see it.

View 13 Replies View Related

Calculating The Date At The End Of Each Week

Apr 24, 2007

I am trying to create a formula that returns the date on the friday (ie last working day) of whatever week I am currently in. So, for example, I guess I would use the 'TODAY' or 'NOW' function somewhere to determine the present date - but how do I then determine the date on the Friday of the current week?

View 9 Replies View Related

Calculating Week Number Without WEEKNUM

Oct 14, 2008

We have a fiscal calendar which starts Oct 1. I would like to display the proper week numbers. I worked out a formula which seems to work (except for week 53) but it would be better if I didn't have to rely on other users having the Analysis Toolpak installed. My date is located in '3930!I4' and this is the formula that works with the toolpak: ...

View 9 Replies View Related

Calculating Average Number Of Staff Per Week

Aug 4, 2014

I want a formula to calculate the average number of staff working per week in the attached data.

View 9 Replies View Related

Use Dates To Get Week It Falls On

Dec 12, 2008

I have a list of dates in col "A". In col "B" i would like it to display the week it falls on. Example 12/12/08 would fall under week 12/7/08 to 12/13/08.

View 6 Replies View Related

Identifying Dates For This Week And Next

Oct 10, 2009

i have a spreadsheet that contains dates spread across different rows and columns. How can I identifying dates for this week and next week by colouring the cells?

example dates that fall within this week will be red, next week will be blue.

View 7 Replies View Related

VBA Filter By Last Week Dates

Oct 3, 2012

Is there a way with VBA to sort lets say column A by last weeks dates. For example, if to day is Wed Oct 3, can I filter it for Sep 24-28?

All the dates in col A are in 10/2/12 format.

View 3 Replies View Related

Display Day Of Week From Dates

Mar 15, 2008

I have a column of dates in one column and in the next column next to the dates, I want to show the day of the week that each date represents, such as;

Col A Col B
1 March 2008 Sunday or Sun

etc etc..

View 5 Replies View Related

Getting Dates To Cover Week Numbers

Jan 10, 2014

I wanted to work backwards from a weeknumber (as defined in Excel). In other words, given a week number (i.e. 5) what is the first date and last date of that weeknumber. These are the formulas that I came up with and they work fine.

Formula: [Code] ......

Ffor 1st of the week and

Formula: [Code] .......

For the last of the week.

Attached File : Weeknumber.xlsx‎

View 5 Replies View Related

Dates Showing As 1 Week Ahead / Behind?

Aug 11, 2014

I'm using this formula to look up the date stored in one vile (shown as a number, e.g 35), and then pulling this back to the first sheet in order to convert it to a date. Problem is the date keeps showing up as a week after its supposed to be.

=IF(VLOOKUP(B76,'[MAD File.xlsx]Feuil1'!$A:$K,11,0)="","",MAX(DATE(BN76,1,1),DATE(BN76,1,1)-WEEKDAY(DATE(BN76,1,1),2)+('[MAD File.xlsx]Feuil1'!K74)*7+1))

View 3 Replies View Related

Count All Rows (dates) That Will Come Due In A Week

Mar 27, 2009

Worksheet is an action log. It has a column containing "due dates". I want to count all rows (dates) that are "less than" today (to see what work is overdue). I also want to count all rows (dates) that will come due in a week. Conditional formatting highlights them OK but I also want to maintain a set of counts. I can do all this in a macro but I don't want to use macros, just formula.

View 2 Replies View Related

How To Assign Week Number Against Dates

Apr 15, 2012

We have started a new venture from 5th April & I need to create a template for a year and assign week no against the dates. The week1 will start from 5th April & week 52 will end on 31st March.

Also there will be a summary of the Week No(Starting Date & End Date) against each week at the top of the template. I could put the formula for the summary part but I am unable to figure out how to assign week no against the dates as given below. It is very difficult to assign the week no manually for the whole year & also it is vulnerable to error. a formula across B7:B23 which can deliver the desired result?

Sheet2  ABC1Week NoStart DateEnd Date2Week15-Apr8-Apr3Week29-Apr15-Apr4Week316-Apr22-Apr5   6DateDesired
Result 75-AprWeek1 86-AprWeek1 97-AprWeek1 108-AprWeek1 119-AprWeek2 1210-AprWeek2 1311-AprWeek2 1412-
AprWeek2 1513-AprWeek2 1614-AprWeek2 1715-AprWeek2 1816-AprWeek3 1917-AprWeek3 2018-AprWeek3 2119-

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

View 9 Replies View Related

How To Count Dates Based On Week

Jul 18, 2012

I have a worksheet that lasts for a year that is something look like this:

Date Name
1/1 John
2/1 Erwin
3/1 Robert
4/1 John
16/1 Erwin
17/1 Erwin
17/1 John

In my report worksheet, I need a formula to count everyone's attendance from their participation dates based on week

Name Week1 Week3
John 2 1
Erwin 1 2
Robert 1 0

View 4 Replies View Related

Recognize A Series Of Dates As A Particular Week In The Year

Nov 12, 2008

My intentions are for Excel to recognize a series of dates as a particular week in the year. For example: 12/28/2008 thru 1/3/2009 equals Week 1, 1/4/2009 thru 1/10/09 equals Week 2.

I cannot for the life of me calculate a working formula.

View 7 Replies View Related

Calculate Number Of Week And Days Between Two Dates?

Sep 28, 2011

Any example of counting the # weeks/days between two dates?

View 1 Replies View Related

VBA - Changing Dates According To A Week Before Today Date

Sep 11, 2013

So I have this sheet template to copy for various other sheets, and on A3-A1000, they contain dates from August 1st 2013 to whenever. Starting with A3 as August 1st. The problem is now, it's September 10th, and I would like A3 to be a week before September 10th. Then A4 would be September 11th. And so on and so forth. The dates also must only consist of weekdays and the dates must be hard coded. Is this possible? I have the simple code for copying over the spreadsheet, but I don't know the rest.

Code:
Sub Submit()

Sheets("Client Name").Copy after:=Sheets(Sheets.Count)
ActiveSheet.name = Sheets("Control").Range("C19").Value

View 1 Replies View Related

Count Numerical Day In A Range Of Dates - Not Day Of Week

Jul 8, 2014

I want to find the number of times the 23rd happens between a range of dates.

Let's say I invoice a customer on 5/23/12 (Column C) and I've sent an invoice every month on the 23rd. I want to count how many invoices I've sent during the past few months. I need a formula which tells me how many times the 23rd of the month happens between 5/1/12 (in column A) and 12/15/12 (in column B).

I thought it might be =COUNTIFS(A1:B1,DAY(C1)) but that formula is for counting cells in a range.

I found formulas for counting the specific day of the week (like Tuesday) and for counting the number of cells containing a number, but not this.

View 1 Replies View Related

Counting Dates That Fall In A Specific Week Of The Month

Feb 2, 2009

Please see the attached xls file so see what I am referring to.

I have shipments that are going to different destinations (rotterdam, austria, london, etc.)

I would like to count the arrival dates in column H that fall under each week's span, but ONLY IF its corresponding value in column F is 'rotterdam'.

Column C contains the ideal numbers that I would like column B's formula to return. I plan on doing this for the entire year, but if someone can some up with a formula, I might be able to modify it for the rest.

Note: This is only an example spreadsheet, I am going to be referencing an external file with much more information on it.

View 6 Replies View Related

Finding All Dates In A Column That Are In The Range Today To A Week From Now

Sep 21, 2008

Im trying to search a column (A), that has a list of dates (not in order), for the row in which the dates are equal to or greater than today and less than or equal to a week from today. I then want the information contained in the rows with these dates to be transferred to another sheet and ordered by date.

View 13 Replies View Related

Auto Fill Week Dates To Match Weekday And Month

Nov 18, 2013

How do I auto fill a series of 2014 dates in the row below the weekdays? I have a row C5 that has a series of auto fill weekdays successfully for 2014. I can't seem to auto fill the weekdates in the row below. I have to make manual adjustments for each Monday, and for the correct month ends, etc.

View 8 Replies View Related

Subtract Two Dates To Get Number Of Week Days - Networkdays Does Not Work

Dec 10, 2013

I am trying to find a formula that will return the number of week days between two dates. My specific situation is that my job sets up work orders (WO) to be completed by our staff. We have 3 dates - the date the WO was created, the date the WO is due to be completed, and the date the WO was actually completed.

I would like to subtract the Complete date from the Due date. Generally, this should always equal zero because our staff should be completing WOs on the due date! But obviously that doesn't always happen. There are times that they complete them late, and times they complete them early (yay!).

The problem with NETWORKDAYS is that even when they are completed on time, the result is 1. This formula counts instead of subtracts. I adjusted the formula to =NETWORKDAYS(A3,A4)-1 which works fine for those WOs completed on time or completed late. But for those completed early, it adds (or subtracts, really) 2 days. So for a WO completed a day early, instead of it showing -1, it shows -3. I've attached an example of WOs and the NETWORKDAYS formula I've used so you can see.

Subtract Days.xls

I'm really looking for something that will subtract week days, not count them.

View 3 Replies View Related

VBA - Finding And Counting Unique Dates And Days Of Week Within Date Range

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

Calculating Time Between Two Dates?

May 15, 2012

I need to calculate an SLA.

I have 1 column called 'Date/Time Requested' containing the time and the date together, as in:

dd/mm/yy hh:00

I also have a second column called 'Date/Time Completed' containing the date and time in the same format as above.

I need a macro that compares the two and works out the following:

< 48 hours = "Within SLA"
> 48 hours = "Outside SLA"

View 4 Replies View Related

Calculating Two Dates In A Spreadsheet

Mar 3, 2009

to know the number of hours between A5 and J5 of my spreadsheet - working day is 8.30am to 5.30pm also need excluding weekends and bank holidays in the uk. I need the result to appeer in K5. the date and time format i have is: 2009-02-04 - 11:56:39 in column a5 and 2009-02-16 - 14:23:45 in column J5

I have over 100 of these calculations to do per month and it takes me ages manually.

View 9 Replies View Related

Calculating Dates From Text

Mar 31, 2009

I have two columns. The first column contains cells with multiple date values in text format (YYYY/MM/DD) in each cell. The other I was planning to be Calculated cells that I thought would compare the string of text (possibly converted to numbers) and determine which is the next in sequence after today's date. As there may be numbers in the past I cannot just use the first item.

The cell of text looks like this:2009-03-27 00:00:00
2009-04-10 00:00:00
2009-04-29 00:00:00
2009-05-13 00:00:00
2009-05-27 00:00:00

The calculated cell (based on today's date) should output:2009-04-10 00:00:00
Problem: I've been unable to figure out a calculation that will accomplish this. The idea I had was to examine the text in pieces and compare them numerically to "today" (as a number instead of a date).

I'm not very adept with Excel functions yet. I've started with this: "=(MID(A2,2,10))" but all it does is return the first item. I also tried using a Replace function to get rid of the dashes and also one that would return the dates as a decimal. But while I can get the numbers to change format, I don't know how to do the compare...

View 9 Replies View Related

Calculating Dates In Each Month

Sep 27, 2006

I need to calcuate how many times a date( any date for the month) aprears in the list. it needs to be calucated by each indivual month form a list that will span over a 12month period.

the problem i'm having is how do i get it to only read the month that i want?

View 9 Replies View Related

Calculating Dates And Numbers

Apr 3, 2007

I am starting a project that will involve finding how old people are using the difference of two years. Cell A1 will contain the function that automatically obtains the current year from the PC clock (or a manual input). Cells B1...B6 will contain text (names). Cells C1...C6 will contain the month of their birth. Cell D1...D6 will contain the day of their birth. And cells E1...E6 will contain the year of their birth. Cells F1...F6 will have the formula to calculate the difference between A1 and its respective cell column E.

The only functions I know are =(TODAY) which does not give me just the year. Also, I do not know how I would be able to do the calculation [e.i., =(TODAY) - 1988].

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved