Formula To Calculate Weeks Between Two Dates?

Jan 13, 2014

find the formula to calculate how many weeks between two dates for example. I how many weeks between

December 23, 2013
January 5, 2014 = 2w

January 6, 2014
January 19, 2014 =2w

January 20, 2014
February 2, 2014

View 2 Replies


ADVERTISEMENT

Formula: Calculate The Weeks Cover Of Current Inventory

Jun 10, 2008

Calculate the weeks cover of current inventory based on a sales forecast. the forecast is in weekly buckets so I was thinking using some form of loop statement within the function which basically starts with the inventory figure then subtracts the forecast week by week until the inventory figure is less than the weekly forecast. I should then be able to divide the inventory by forecast and add back the number of loops to give me the weeks stock figure.

I have done this using if statements but it will only allow me to use 10 statements in the function and I need to do this for a full years worth of forecast.

Does anyone have a suggestion as This problem is becoming quite frustrating.

Here's an example of how the spreadsheet looks

Forecast103050205040Inventory 20019016011090400Weeks Cover6.05.04.03.02.01.0

View 9 Replies View Related

Formula To Calculate Number Of Work Weeks The Data Has Been Collected?

Dec 27, 2013

I am looking for a simple formula that would look at column A2-A100 and calculate the whole number for the number of the week I am on. So in cell K22, I would like it to add up the A column and spit out a number 4, then on Monday when I add a new record I would like it to automatically update to a 5; indicating the 5th week I have been tracking the data. This number is needed to calculate the average amount in a work week accurately and automatically in cells K20 & K21. New weeks start on Monday and end on Friday. No data will ever have a date of a Saturday or Sunday. I have colored the cells currently to indicate what the number should be. There is 4 alternating colors now. The color coding is just for reference and will not be used going forward. Data will be entered weekly indefinately.

View 3 Replies View Related

Calculate Time Over Last 2 Weeks?

May 15, 2012

I have a calendar. All months across the top, formatted as date mmm with content 1/2 2/1 3/1 4/1, etc. so the cells display Jan Feb Mar Apr, etc. All days down the side formatted as number displaying 1, 2, 3, 4, etc. All the days of the year are formatted as time h:mm.

I want to create a cell that shows me the total time for the last 14 days.

View 1 Replies View Related

Calculate Number Of Weeks Stock?

Mar 12, 2014

Trying to think of a formula that will tell me the number weeks stock I have,would like to put the formula in h6 and copy across giving me the weeks stock

Green line is sales, yellow balance stock

EX1.JPG

View 6 Replies View Related

How To Calculate Average Sales Of Last 10 Weeks

Dec 3, 2012

In field A2 I use now() to get the actual date.In colom C8:C1000 I have all monday dates.In colom E8:E1000 I have the weekly sales figures.

How can I calculate the average sales of the last 10 weeks?

View 2 Replies View Related

Calculate Date Difference In Weeks

Sep 21, 2007

On some Military computers the Add-ins were not installed, therefore the WEEKNUM function cannot be used.

The task is to calculate the time interval (in whole weeks) between two dates.
(Every start date is to be calculated as a whole week – same for the End date).

I tried but the most but came up with the incorrect formula in the attached workbook.

View 9 Replies View Related

Converting Dates To Weeks

Jun 27, 2013

Is there a way to convert data that has dates to week by week? such was week 1 week 2 week 3 etc....

View 8 Replies View Related

Converting Dates To Weeks

Jul 20, 2006

I require a worksheet function or group of function that will allow me to
convert my dates of format dd/mm/yyyy to Week 1, Week 2, Week 3, Week 4.

View 10 Replies View Related

Turning Dates Into Weeks

Jan 14, 2009

"Decision Date". It is a numerical date (ex: 1/5/09 indicating January 5th 2009).

I need to turn that date into the week that it falls into within a particular quarter of a year.
1/5/09 would be Week 2 (it is in the second week of January, and 2nd week of the quarter)
2/3/09 would be week 6 (6th week of the quarter).

And then I need the formula to start over once each quarter restarts... for example, April 1st would be week 1 (1st week of the second quarter).

View 9 Replies View Related

Formula To Calculate Age From Two Dates

Aug 11, 2014

Is there a way to calculate an age based on Date of birth and current date?

View 3 Replies View Related

Formula To Calculate Between Dates?

Oct 18, 2013

Calculate dates as The Number Of Days, Months Or Years Between Two Dates

The two formulas I tried below show the wrong output when trying to figure the days between 12/8/2011 to 1/2/2012. It should show 0 years, 0 months, 24 days, not 138 days.
I did notice when the day of the month on the start date is before the day of the month of the end date, the formula seems to work. Ref. the second dates on the first example.

Example 1
Start End
12/8/2011 1/2/2012 = 0 years, 0 months, 138 days

Wrong display. should show 0 years, 0 months, 24 days

Start End
12/1/2011 1/2/2012 = 0 years, 1 months, 1 days

Note that when the start date "day", (1), is before the end date "day", (2) the formula seems to work.

First formula used above:
=DATEDIF(B3,C3-(MOD(B3,1)>MOD(C3,1)),"y")&" years, "&DATEDIF(B3,C3-(MOD(B3,1)>MOD(C3,1)),"ym")&" months, "&DATEDIF(B3,C3-(MOD(B3,1)>MOD(C3,1)),"md")&" days"

Example 2
Start End
12/8/2011 1/2/2012 = 0 years, 0 months, 138 days

Should show 0 years, 0 months, 24 days

Second formula tried above:
=DATEDIF(B10,C10,"y") & " years, " & DATEDIF(B10,C10,"ym") & " months, " & DATEDIF(B10,C10,"md") & " days"

View 2 Replies View Related

Counting Weeks INVOLVED Between 2 Dates

Nov 3, 2008

I've been having problems coming up with a formula that will take a start date and an end date and come up with the number of weeks INVOLVED within this date range (each week being a Sunday through Saturday).

My problems is that the start and end dates could be any day of the week and not necessarily the same day (meaning divisible by 7 doesn't always work). I tried using ROUND((A2-A1)/7,0)+1 where A1 was the start date...and A2 was the end date.

The problem I had was if I picked a Monday as the start date, and went 12 days out (The saturday of week2)...it came up stating 3 weeks were involved - AND if I selected a Friday start date and picked the following monday in week 2 - the result was 1 week involved when 2 different weeks were involved.

View 4 Replies View Related

Adding Weeks Or Months To Dates

Dec 17, 2006

a sample of my sheet first....

View 9 Replies View Related

Grouping Dates Into Weeks Without Using A Pivot Table

Oct 16, 2009

I have a large spreadsheet which lists individual dates over two years and circulation figures next to each date. Sometimes there are two entries for a particular date e.g. 1/10/08 there were 150 readers of magazine A and 200 readers of magazine B. When displaying this on a graph it give a bar for each day, whereas I would like a bar for each week.

Is there a formula to convert the individual dates into weeks and then total the circulation figures for that week?

Column A = Dates
Column B = Circulation Figures

View 9 Replies View Related

A Formula Which Is Calculate 4-5 Dates Formula In One Cell

Oct 7, 2009

i need a formula for which calculate all cell (calculating years months and days formula). FIND ATTACHED .xls file i need a answer in cell highlited in yellow color.

View 3 Replies View Related

Formula To Calculate Period Between Multiple Dates

Jul 10, 2013

Excel formula to calculate period between multiple dates.

Column A has first arrival
Column B has first departure
Column C has second arrival
Column D has second departure
Column E has third arrival
Column F has third departure
Column G has forth arrival
Column H has forth departure
Column I has fifth arrival

I need total period stay from all these columns.

View 3 Replies View Related

Formula To Calculate Time Between Dates And Other Criteria

Aug 7, 2007

attached is an example of a timesheet we use.
now after lengthy discussions the comany say its not 'in their interest' to use acess so i'm stuck with excel on this one.

I need to sum a column on many critiera, which i feel maybe a job for the trusty old =SUMPRODUCT. But thing is i need to sum a column based on a date range, Rate, Day.

I have manually typed in the number i think it should produce but as far as formulas go

1st off need to calcualte date range, which is situated on the top of the spreadsheet.
2nd some how tell the formula that Normal overtime is either classed as rate 1 Saturdays classed as 1.5 and sundays and bank holidays classed as 2.

View 3 Replies View Related

Count Full Weeks Monday Through Sunday Between 2 Dates

Jul 16, 2014

Another thread that wanted to count "weekends" got me to thinking about this one:

Count the full weeks (from Monday thru Sunday) between 2 dates.

For example...

Data Range

A
B
C
D
E
F

1
Date
Weekday
------
Start
End
Weeks

2
8/1/2013
Thu

8/1/2013
8/15/2013
1

3
8/2/2013
Fri

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

Full Monday thru Sunday weeks = 1

This array formula** entered in F2:

=(MAX(IF(WEEKDAY(ROW(INDIRECT(D2&":"&E2)),2)=7,ROW(INDIRECT(D2&":"&E2))))-MIN(IF(WEEKDAY(ROW(INDIRECT(D2&":"&E2)),2)=1,ROW(INDIRECT(D2&":"&E2))))+1)/7

** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER).

Hold down both the CTRL key and the SHIFT key then hit ENTER.

The logic of the formula is:

The max Sunday date within the date range minus the min Monday date within the date range +1 = total days divided by 7 (days in a full week) = full weeks

View 14 Replies View Related

Formula To Calculate Dates In Range And Return Number?

Jan 4, 2013

I have a Training Matrix with "Main", "Leavers" and "Reports" sheets. (can email it but can't upload it here; it's 534kb and I can't make it smaller)

In the "Reports" sheet I need to fill "Site Procedural Training" - "Number of people trained in period".

The periods are :
25/12/11 - 31/03/12
01/04/12 - 30/06/12
01/07/12 - 29/09/12
30/09/12 - 29/12/12

The source of data will be the "Main" and "Leavers". The data are dates in these sheets; each date = 1

The formula needs to look in to "Main" and "Leavers" and if it finds a date which fits in the required period in "Reports" then return it as 1. If it finds 300 dates then returns 300.

View 9 Replies View Related

Formula / Calculate Number Of Days Between 2 Dates That Equal A Given Value

Mar 19, 2014

I have two date columns, a start date and end date. Another columns tells me the number of days between these two columns. It may return 45 days which actually straddle 3 different months.

My aim is to identify between this date range how many days in Apr 14. Then in the next column howmany days in May 14 etc

So on the spreadsheet Id have 12 columns for each month of the year. in Apr 14 for each row between the given date range I want it to tell me how many days are actually in April. Id then copy that formula into the May 14 column.

View 1 Replies View Related

Conditional Formula: Calculate The Difference In A Date Between Two Dates

Jan 28, 2009

I'm trying to make a formula to calculate the difference in a date between two dates. For exaple, in my business we have a due day for something. So the due date could be Feb 10, we need to know if it was done on time, late, or early. So I've gotten it to display late by doing this: =IF(B2>A2, "Late", (A2-B2)) But then I can't figure out how to incorporate this: =IF(B2=A2, "On Time") or =IF(B2<A2, "Early").

I would like to displaly this all in one cell. So if the due date is Feb 10 and it's turned in Feb 8 it's early, turned in Feb 10 it says on time, turned in Feb 11 it's late. I also tried this but it didn't work: =OR(IF(B2>A2,"Late")*IF(B2=A2,"On Time")*IF(B2<A2,"Early"))

View 3 Replies View Related

Excel 2003 :: Formula Using Dates To Calculate Amounts?

Nov 22, 2011

I'm using Excel 2003 & Windows XP Professional.

I have two sets of data tables. One contains Number, Name & Date. The other contains amounts which those people have paid in 2007, 2008, 2009 & 2010. So in the below Jones has paid a total of $580 over those years, Smith has paid a total of $650 over those dates & so on.

The amounts in 2007, 2008 etc are full year amounts. I'm after a formula that can calculate the amounts for part years based on the dates from C1 to C11 by number (or name).

I've got what I think the results should be (I think with some rounding problems), but my real data has much more data.

View 3 Replies View Related

Formula Based On Dates - Calculate Annual Salary Divided By 12

Aug 6, 2014

I've got a spreadsheet where the start date is amendable and this is what I wanted. E.g. start date is Jun-14 and I want the formula to to calculate annual salary divided by 12 in each month from June onwards until Mar-15 (Financial year is April to Mar) and the same way to not show anything in April or May as they started in June... How can i achieve this please as I tried IF statements and it doesn't recognise dates and years...

Link: [URL] ....

View 1 Replies View Related

Datedif Formula: Calculate The Number Of Days Between Dates In Column A And B

Jul 5, 2007

I'm trying to calculate the number of days between dates in column A and B. I've looked at the examples in this site and thought I used the formula correctly, but the cell returns an error message when I type: =DATEDIF(A1,B1,"D")

View 7 Replies View Related

Calculate End Date From Start Date & Number Of Weeks

Jun 26, 2007

Take a look at the attachment file. Those highlighted in yellow are entered by the user. What is the formula to calculate the End date in (A6) after the user has entered the start date (A2) & the number of weeks (A4)?

View 5 Replies View Related

If Statements: Option Of Between 3 Weeks And 6 Weeks

Sep 7, 2009

i currently have a what if statement

=IF(B2>=NOW()-42,"< 6 wks","> 6 wks")

I need it to also give an option of between 3 wks and 6 weeks

Therefore all options are

3-6 WKs
< 3 WKs
> 6 WKs

I have mastered 2 but now need a 3rd.

View 7 Replies View Related

Formula: Use Numbers For Weeks & Months

Nov 20, 2006

It's a formula I'm looking for. The best way to describe it is an example.

I have some numerical data on a sheet from cells A2 to A80. This data represents the amount of days each person has spent on holiday. The data will be shown on a graph, but instead of the graph having "1", "2", "3", "4", along the bottom, I'd like it to have "1 week", "2 weeks", "3 weeks", "1 months", "2 months", "3 months".

I -suspect- the formula will involve the " countif" function (or an equivalent) (eg. if the number is less than or equal to 7, add 1 to the "1 week" box, etc.)

View 5 Replies View Related

Formula To Convert Months Into Weeks

Aug 13, 2008

I'm having an issue converting months into weeks. My example is I have people who must provide leaving notice (could be months or weeks). For instance column B details months, and column C details weeks. I'd like to convert months (column B) into weeks in column D, but am not sure of the components of such a formula so I won't list or guess as I'm just not sure.

View 5 Replies View Related

Formula To Work Out Sum Depending On Number Of Weeks?

Jan 13, 2014

I have a spread sheet I have set up to calculate sales results, I have a column for each week in the quarter with the date at the top and a different page for each individual. I want to be able to enter a number to show how many weeks we have had and the spreadsheet to give me a cumulitive amount for the cells up to that date.

For example if I was to enter 1 in a cell A1 I would want the sum t work out just C3 for example.

If I enter 3 in A1 I would want the sum to be C3+C4+C5 wich is the three cells.

If I enter 6 in A1 it would be C3+C4+C5+C6+C7+C8 etc.

View 2 Replies View Related







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