# Find The Number Of Days

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
ADVERTISEMENT
Apr 17, 2014

I have attached a workbook for example, the dates im looking to find difference between is marked in yellow...Need result in column E, would be nice with a formula you can just drag down...

Tried doing this myself, but the dates have weird formatting in these documents, so not sure how to deal with it.

View 9 Replies
View Related
Oct 8, 2013

I have a spreadsheet that contains dates in format mm/dd/yyyy. Lets call this Column C(Paydate). In Column A I have a date that needs to be a 2 business days before the paydate. If this date in column A winds up being a Saturday or Sunday, the function needs to return the previous Friday. If the date is any weekday then it should return that weekday

For example:

C1 = 10/18/2013(a Friday) then A1=10/16/2013

C2 = 10/14/2013(a Monday) then A2= 10/11/2013(the previous Friday since 2 days before 10/14/2013 is a Saturday)

C3 = 10/15/2013(a Tuesday) then A3= 10/11/2013(the previous Friday since 2 days before 10/15/2013 is a Sunday)

View 4 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
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 23, 2014

Here is my set up:

A2 to BF2 is a range of dates

A3 to BF3 are sales. Days without sales are 0.00

I want to pick a range of dates and find the number of days without sales between those dates. So, a formula that will look to a start date in A1 and an end date in B2, and then count the number of days that did not have sales between. Index/Match/Countif/Dateif I can't seem to make anything work.

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
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 27, 2012

In the attached file I have two tables Table A illustrates the dates with start, end and code, Table B where I want the formulas that they would find how many days a code is in the month.

From F4:I37 I manually entered the day, I would calculate automatically.

esempio.zip

View 2 Replies
View Related
Feb 16, 2014

How to find five consecutive working days for the staffs who worked only in night shift basis and if this comes true then to find other night shift for particular staff based on Bank ID and putting those data's in new excel sheet believe this can done through a macro.

Its new assignment to me to find the staffs to make the inconvenience allowance for the staffs who worked in night shift for five consecutive days and if they worked for five consecutive days then they eligible for other night shift days they have worked.

Given the data how it looks in our attendance. In the below data night shift criteria true stands for staffs who worked in night shift and false stands for staffs who worked in day shift.

Serial No

Bank ID

Name

Date

Attendance Type

Start Time

End Time

NIGHT SHIFT

1

1374058

A

17-Jan-14

Login

10:00 AM

7:30 AM

FALSE

[Code] ........

View 1 Replies
View Related
Oct 30, 2013

How do I calculate the days between submissions by manager in the below example?

Customer Submit DateManager

2361047/2/2013 Jackson

2361667/19/2013Andrews

2480589/30/2013Smith

2480589/30/2013Smith

803139/30/2013Thompson

[Code]...

View 1 Replies
View Related
Jan 30, 2010

Can Anybody help me with a function that will arange all days from January acorrdingly with the year 2010. I am attacing a sample file to make it clear. I need the function to Check which month is in Cell H1 and arrange the days accordingly to the month and the year.

In my example the code must change the Cell values Like this: ...

View 9 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
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
Dec 30, 2003

Im trying to use the equivilent of: =DAY(DATE(YEAR(H5),MONTH(H5)+1,0)) in vba. but i am having trouble with the use proper parenthesis.

basically the above will work in an excel workbook and return the number of days in a month. thats all i really need. so if there is an easier way, which im sure there is, then im up for it...

View 9 Replies
View Related
Apr 24, 2007

If I have a year in a cell, say 2006, and in another cell I need a formula to tell me how many days are in that year. Just to try and calculate deliveries of things far into the future, so need to account for leap years.

View 9 Replies
View Related
Jul 3, 2007

I couldn't find a solution to my problem in the forum: Is there are formula that will allow me to calculate number of days between two dates? The date format is eg. 07/06/07

View 3 Replies
View Related
Mar 20, 2014

I am assessing the impact of product price increases on volume (qty) and sales (£/$).

The prices are changed sporadically and at no set intervals. For example pries were changed on the 15th Jan and 13th Feb this year.

We have set reporting dates (calender months) so i am hoping to be able to divide the report which shows sales & qty's during the 15th Jan - 13th Feb segment and apportion them to the correct months.

I have the start & end dates of the calender months in cells A4:B18 and each time a new report is run (ie 15th Jan or 13th Feb, these dates go across the top i.e. cell C3 = 15th jan & D3 = 13th Feb.

I would like to return a % in cell C4 which relates to the amount of total days in the segment that relate to Jan (ie. 29 days in the segment, 16 relate to Jan so 55.2%).

Cell C5 would then return a % which relates to the amount of total days in the segment that relate to Feb (29 days in the segment, 13 relate to Feb so 44.8%).

Cells D4&D5 would return the next reporting segment and how many days in Jan/Feb respectively (the answer will be 0 but a constant formula acrosss all would be perfect. tried to give as much info as poss.

View 2 Replies
View Related
Jul 29, 2014

I am trying to calculate the number of days between two dates where the arrival date is in b5 and the departure date is in c5 for each month. I have been using the following formula =IF($C5="","",MAX(0,MIN(L$1,$C5)-MAX(K$1,$B5))) but when the stay is a full year it is giving me 365 in a single column. I think maybe I need to add in the number of days in the month but not sure how to do it.

View 2 Replies
View Related
Oct 10, 2007

I'm currently working on a file that has employee holidays/sickness etc. What I want to do is be able to see is a DATE FROM and DATE TO and next to it the total amount of working days between and including those dates. On top of the since employee's sometimes like to take half days I need it so that it can determine half days as well.

So for example I have an employee going to be off work from 29/10/2007 until 09/11/2007 12pm which is 10.5 days in total, but that includes weekends when I don't want it to.

Also it comes out as 11 days at the moment because I can't figure out how to get it to determine is it is half a day.

What formula should I use or if someone could create an example that would be really usefull :D

View 12 Replies
View Related
Nov 15, 2007

I have a worksheet containing 5 columns. A start and end date, a number of days between these dates, the quarter number of the start date (i.e. 1 to 4) and then the year.

I want to calculate the average number of days per quarter so an average of days in column C, based on the details in column D and E.

View 11 Replies
View Related
Mar 17, 2009

I have a question, does anyone now how to count between dates, for exemple :

01-02-2009

15-02-2009

22-02-2009

25-02-2009

03-03-2009

11-03-2009

And i wont only to count between 01-02-2009 / 28-02-2009, the result it will be 4.

View 14 Replies
View Related
Jan 27, 2010

I am looking to calculate how many days worth of inventory I'm currently holding (in stock and on order from supplier) based on my sales over the past 30 days.

I've seen a number of formulas around... and honestly am not sure I'm on the right track.

On the attached I have used the following:

(Stock on Hand + Stock on Order) * 30 / ( Units of the item sold in the past 30 days)

View 6 Replies
View Related
Nov 26, 2013

Create a formula to count number of days an employee work (in 25 working days and 5 Friday as rest day month):

Example:

If employee works 25 days during weekdays he will get counted as = 30 days

If employee works only 22 days during weekdays with 3 absences during weekdays he will get counted as = 27 days.

If employee works from 1st to 24th and 25th to 30th absence he will get counted as = 24 days.

Other examples and output desired I attached here: Sample.xlsx

View 4 Replies
View Related