This is the final part of our Excel Date Tutorial that offers an overview of all Excel date functions, explains their basic uses and provides lots of formula examples. Continue reading
by Svetlana Cheusheva, updated on
This is the final part of our Excel Date Tutorial that offers an overview of all Excel date functions, explains their basic uses and provides lots of formula examples. Continue reading
Comments page 14. Total comments: 595
hi,
how can i make a format like this?
departure , rejoining , "on leave, working"
12 aug 16 , 2 sep 16 = the excel will only show that " on leave or working
thank you.
i am handling a tracker and i need the due date column as 20 months from current date.suggest me the formula
Hi Sir, I really need help on my excel. I downloaded an excel report from one of our tracker system tool. I sent it to my costumers and when they received it, the excel contains future dates. I cross checked my excel file but it has no future dates, I really don't know the issue here. Please help me :)
I am making a trial calendar for my law firm. I need to calculate, for example, the date of trial -100 days. They need to be calendar days, not work days, and I have already set up a list of holidays for the next two years. I cannot figure out how to do the formula for the date -100 CALENDAR days, including holidays. Can someone please help me. I have been working on this for days. I have it totally figured out for the dates that need to be WORK DAY, but cannot figure out the ones for calendar days. Any help would be greatly appreciated. NOTE: I am working in Excel 2003.
Hello, can anyone help me what is excel formula if the date will tell it is overdue in: equal or less than 3 months, greater than 3 months, greater than or equal to 6 months?
I want to count the number of cells that are before or after a specified date.
Hello,
I have two dates in two different cells (A1 = 4/12/1993 and B1 = 04/05/1993) and i want to verify if they fall with the same quarter (89 days). If two dates are within the 89 days, the data "passed" if outside of 89 days, it fails...
thanks for your help....
Hie is there any formula to track the date occurring in next 2 months?
Hi i need a formula that will check the day is >14, the month is > 7, anfd the year = 16 inserted using the 'TODAY()' function. if the result =TRUE, then insert 500 otherwise enter ""
How about when you are about to get the the formula on what day of the week will your 100th birthday fall?
hi can you help me?
IF AG3 IS 2 DAYS BEFORE DELIVERY DATE THE RESULT IS "DELIVERY DATE" IF AFTER DELIVERY DATE THE RESULT IS "DONE" WHEN AG3 HAS NO DATE THE RESULT IS "NO SUPPLIER DELIVERY DATE" OTHERWISE "ON GOING
if in cell B1 i have a date 3/23/16 and in cell B2 5/23/16 another date and in cell B3 4/23/16 another.i need to work out if the today's date is 6/23/16 being cell A1, then if cells B1,B2 & B3 is smaller than 30days then put it in cell D8 if they are 31days and less than 60 then put it into D7 and if it is 61 days and less than 90days then put it into D6.
what i need to know is
12 JULY 16 is todays date.
18 JULY 16 is the date where i need the follow up.
i subtracted 12JULY16 - 18JULY16 = 6
NOW I NEED THIS NUMERIC 6 to get less day by day till the 18TH JULY 16 arrives
any formula ?
Hello Muhammad,
You can use a formula similar to this:
=A1-today()
Where A1 is the follow-up date.
Dear Madam / Sir
Good Morning..
How check Average In Caller ( It's A Grade / B Grade )
Ex..
Caller Name - XYZ
Calles Made - 120
Calls Connective - 70
Appt - 10
Turn up -5
Please Explain Me How to Calculate Caller Average
Hi i just want to know to summarize the value of activity performed as on date today in columns at the start of the table. how can we do ??
I would like to prepare data like this with dates on the next columns
District Total systems Total AMC completed till Yesterday Total AMC completed today 01 02 03 04 05....
My question is i have set of rows having date timestamps across 2013 to 2016. as 01-mar-2014 00:07, 04-Jul-2015 06:40 and so on.. My requirement is I need to extract only Month and Year alone so as to do a pivot on it. It can be done using text as text(A10,"mmm-yyyy"), but a pivot on this data will return the text values not sorted one as Jan-2013,Feb-2013 ... May-2016. If i use date value and then do a pivot on this column, it gives me only list of month not month-year as Jan,Feb,Mar and so on.
Please help.
Let me be clear with the requirement. I need pivot on date field . it should display the values as below
Jan-2013 30
Feb-2013 32
Mar-2013 40
...
Jan-2016 30
Feb-2016 10
Mar-2016 02
Instead of displaying as below
Jan 60
Feb 42
Mar 42
I dont want to use group function in pivot (Group by Moth,year).Coz i have to do various calculation based on this value.
Hope you got my requirement.
Dear Team,
I got it. I applied same logic. Converted date to text as text(A10,"mmm-yyyy"). Then took date value. this time it returned with year. After which i applied pivot on it. Now am getting as
Jan-2013 30
.
.
.
Mar-2016 02
Many Thanks.
1.First thing I need how to show like this "21-jun-16 to 24-jun-16" in a single cell in excel.
2.Second Thing how I need to calculate the values of between the dates of 21-jun16 to 24- jun-16 which is in another work sheet.
Dear Ravi,
1. To display "21-jun-16 to 24-jun-16", type it out in a cell and click enter.
I don't think you have expressed your query properly.
2. To calculate values between dates, use the below formula.
=Sheet2!A1-Sheet2!B1+1
Change the cell references as required.
I have used Cells A1 and B1 of Sheet2 for the dates.
Vijaykumar Shetye, Goa, India
Hello Svetlana,
I'm creating spread sheet where I would like to for eg. in B3 cell place a date of the project to start then in another cells will automatically change to name of the month, another will change to "day number of the month", 1, 2, 3 and so on, and another cell below will change to name of that day but single letter only (instead of Monday just M, T, W, and so on)
Will you be able to help me achieve my idea?
Best regards
Michael Nosek
Michael Nosek
(1) For display of the month number, change the format of the cell.
Go to
Home - Format Cells - Number - Custom - Type
and enter the letter m
The date value in the cell will not change, but the month number will be displayed.
(2) For display of the fist letter of the weekday, use the formula.
=CHOOSE(WEEKDAY(A2,1),"S","M","T","W","T","F","S")
Regards,
Vijaykumar Shetye, Goa, India
I am trying to create a worksheet that will provide the month of a first shipment based upon the day of the month that a product was ordered. i.e if prior to the 5th of the month the first shipment will fall within that month. After the 5th, the first shipment will be sent the following month. Additionally, I need to determine the monthly shipping schedule based on the first shipment and the product frequency purchased. The frequency options are monthly, quarterly or bi-monthly (every other month).
Can this be done with a series of date functions?
Thank you so much for your help!
Hi-
What formula could I use to determine if a 'milestone' anniversary date (5,10,15,20 years, etc.) is reached within a quarter?
So say my anniversary date is 4/6/1980 and I want to know if a milestone was reached between during the 3rd quarter current year (July 1 & Sept 30, 2015) - how can I calculate that?
Thank you!
Dear Dan,
Use the below formula.
=IF(AND(MOD(ABS(YEAR(TODAY())-YEAR(A1)),5)=0,ROUNDUP(MONTH(A1)/3,0)=ROUNDUP(MONTH(TODAY())/3,0)),"Milestone Quarter","-")
For every milestone quarter, it will display "Milestone Quarter".
Vijaykumar Shetye, Goa, India
Hi!
I'm using the =EDATE(A4,6) function. However, in my A4 cell, there is not yet a date but the function returns 182, which is 6 months from 0 (nothing in the cell). How do I get the cell that has the EDATE function to show nothing until a date is input into A4?
Thank you!
Hi Vanessa,
Just add an IF function that checks for blank cells, for example:
=IF(A4="", "", EDATE(A4,6)
I am creating a protected 60-day calendar. Cell E2 is unlocked for a date input. The calendar week starts on Monday, going through Sunday (A7-G7). The calendar grid is A8-G8 all the way down to A17-G17. I want to be able to input a date in E2, (ie:5/10/16) and for excel to know that 5/10/16 is a Tuesday, so it automatically inserts 5/10 in the cell B8. I can then formulate for the autofil of the rest of the dates all the way through the end of the 60 days.
I just cant remember how I set this up before, where excel knew which day (monday-sunday) to start the calendar by entering a date in E2...
Hi,
M having attendance data like check IN time in "A1" column Date is 16-Apr-16 and "B2" column Time is "17:55:00" and check Out date in "C1" column is "17-04-2016" and "D1" column Time is 00:53:00. Please let me know what is total duration of working hours. We require like HH:MM format.
Dear Yogesh Zagade,
Use the below formula, and format the cell in whichever format you require.
=D1-B2+C1-A1
Vijaykumar Shetye,Goa, India
Hi,
I have a monthly budget, and would like the due date to change automatically. For example, if payment is due on 5/3/2016, the following day, I want the date to change to 6/3/2016 automatically. Can you help?
Dear Lester,
Use the below formula
=MAX(A1,TODAY())
It will display the due date (5/3/2016), which is entered in cell A1, till the current date (in your case 5/3/16).
After that, it will start displaying the current date (6/3/16 onwards), every time the file calculates.
Vijaykumar Shetye, Goa, India
If you want to eliminate the negative sign, then use the function
ABS (absolute) with your formula.
Example
=ABS(TODAY()-A1) or
=ABS(A1-TODAY())
Vijaykumar Shetye,
Goa, India
I am trying to return the number of days from a set of dates (past and future) and todays date but display the resulting number of days prefixed with + (future) or - (past. Thanks.
Please help me find a formula to calculate the date it will be in 60 days (with custom holiday dates removed). I've been stumped with this. Thanks in advance!
I would like to know how to set a field to give me the next day after TODAYS date that is a certain day i.e, i want the next Thursday after today, or the next monday. etc. that auto updates when i open the spreadsheet.
FORMULA 1
=IF((7-WEEKDAY(A1,14)+1)=7,A1,A1+1+7-WEEKDAY(A1,14))
Shows the date of the current Thursday, till the end of the Thursday, and the next Thursday, after the end of Thursday.
Reference of date is in cell A1.
To change the day of week from Thursday to any other day, change the value 14 in the cell to
11 for Monday, 12 for Tuesday, ... 17 for Sunday.
FORMULA 2
=IF((7-WEEKDAY(TODAY(),14)+1)=7,TODAY(),TODAY()+1+7-WEEKDAY(TODAY(),14))
Shows the date of the current Thursday, till the end of the day, and the next Thursday, after the end of Thursday.
Automatically calculates for Today.
FORMULA 3
=IF((7-WEEKDAY(A1,1&$G$1)+1)=7,A1,A1+1+7-WEEKDAY(A1,1&$G$1))
Shows the date of the current Thursday, till the end of the day, and the next Thursday, after the end of Thursday.
Automatically calculates for Today.
Weekday to be entered in cell G1 as follows,
1 for Monday, 2 for Tuesday,... 7 for Sunday.
Kindly change the cell references in the above formulas as required.
Vijaykumar Shetye,
Goa, India
Hello,
I have a spread sheet with a Header in D1 (Issue date). I am trying to get result in Column F (Review) of "Not Due" if the date is less than 640 days from issue, "Due" if the date is between 641 to 720 days from issue, and finally "Over Due" if it is greater than 721 days from issue. I have been trying the IF function and can only seem to get 2 returns but not the third. Thanking you in advance.
David.
I think I've got it;
=IF(OR(D2=""),"",IF(D2>=TODAY()-638,"Not Due",IF(D2>=TODAY()-731,"Needs Review","Over Due")))
I have then applied Conditional formatting so that Not Due = Green, Needs Review = Yellow, and Over Due = Red
Seems to work Ok.
The formula will work correctly, but you may include a few changes in the same.
(1) The 'OR' function which you have used, is meant for checking whether 2 or more arguments are True. In your case, there is only 1 argument which 'OR' is checking. Hence it serves o purpose.
(2) Today()-638 or (any date) minus (any number) could possibly give us negative values, if the number being subtracted is sufficiently large. The possibility could be avoided by adding 638 to D2, instead of subtracting it from Today().
I have edited your formula as below.
=IF(D2="","",IF(D2+638>=TODAY(),"Not Due",IF(D2+731>=TODAY(),"Needs Review","Over Due")))
Vijaykumar Shetye,
Goa, India
I have an excel with dates in Col A and Dates in Col B with a value in Col C
8/4/2015 8/4/2015 3703
8/5/2015 8/7/2015 3705
8/6/2015 8/10/2015 3708
8/7/2015 8/11/2015 3715
8/8/2015 8/12/2015 3728
8/9/2015 8/13/2015 3731
I would like to move the dates in Col B along with the value (which represents how many students made enquiries for our programs on that day) in Col C to line up with the date in Col A. Is there a formula for such an endeavor
Assuming that your data is in cells A1 to C6,
Paste the following formula in cell A7
=TEXT(B1,"dd/mm/yyyy")&" "&C1
The displayed result will be
08/04/2015 3703
Is this what you want to do?
Vijaykumar Shetye,
Goa, India
I have once Excel file in which i have 52 columns considering as weeks of the year. Then if the cell is equal to current date then i have to display the value from other sheet.Please help
Dear Syed Raheemuddin,
I have not understood your question. Please explain it in detail.
If a cell is equal to current date, then how will you display the value form another sheet in the cell?
When posting a question, please be very clear and concise.
Vijaykumar Shetye, Goa, India
Currently, I'm using the 'weekday' formula in which the dates on the left give me the dates on the right.
=B2-WEEKDAY(B2-6)
Friday, March 18, 2016 11-Mar
Saturday, March 19, 2016 18-Mar
Sunday, March 20, 2016 18-Mar
Monday, March 21, 2016 18-Mar
Tuesday, March 22, 2016 18-Mar
Wednesday, March 23, 2016 18-Mar
Thursday, March 24, 2016 18-Mar
Friday, March 25, 2016 18-Mar
Saturday, March 26, 2016 25-Mar
Sunday, March 27, 2016 25-Mar
I'm trying to tweak the equation so that the pattern will look like the following: Basically, I'm trying to shift the dates on the right up by two (i.e. 3/19 will now reflect 3/11, 3/20 will now reflect 3/11, 3/26 will reflect 3/18, 3/27 will now reflect 3/18)
Friday, March 18, 2016 11-Mar
Saturday, March 19, 2016 11-Mar
Sunday, March 20, 2016 11-Mar
Monday, March 21, 2016 18-Mar
Tuesday, March 22, 2016 18-Mar
Wednesday, March 23, 2016 18-Mar
Thursday, March 24, 2016 18-Mar
Friday, March 25, 2016 18-Mar
Saturday, March 26, 2016 18-Mar
Sunday, March 27, 2016 18-Mar
Any assistance on how to formulate that would be greatly appreciated.
hi everyone :)
i have date format in see (1)
need convert to this format in excel see (2)
1) 16-03-2016 5:46 PM
2) 3/12/2016 1:13:00 AM
Go to Home - Format Cells - Number Type, and
Change the format of the cell to
d/mm/yyyy h:mm:ss AM/PM
Vijaykumar Shetye,
Goa, India
Hi,
I want to identify with the ageing of the current time by considering it as non communicating 6 hours
Ex: 18-03-2016 12:28 (>6 hours forumla should show as "communicating")
18-03-2016 12:28 (6< hours forumla should show as "noncommunicating")
Thanks
To make it more simple.
Here is the date and time
18-03-2016 12:37
(=IF(L2>=TIME(20,59,59)+ TIME(21,0,0),"communicating","noncommunicating")
Hi,
I am interested in a date formula that will allow me to enter data into other fields and then having that date "stamped" when the data was entered
example: in cell A1 have a name typed and then in A2 have today's date appear (and not change).
Let me know
Thank you
Hello, Scott,
Уou need a VBA script for this. Sorry, we cannot help you with it.
20180502
20170101
20180301
20190802
20170901
20180601
20170201
20160601
how to convert in to date yyyy-mm-dd 16'oct convert in 10-2016
please help me,
i have online software date format (14/03/2016 3:07 PM) i need to convert this format (Mar/14/2016)
please help
Dear Munawwer Khan,
Select the cell and go to Home - Number - Custom - Type,
and enter the below format
mmm/dd/yyyy.
The value of the cell will not change, but it will be displayed in the type of format you require.
Vijaykumar Shetye, Goa, India
I need a formula which when entered in a cell of a Colum will automatically add date and time base on the present date and time on the rows down the Colum as I populate other cells in an excel sheet.
Hello,
Looks like you need VBA for this. Sorry, we cannot help you with it.
Hello,
I'm using the following to determine the hours/minutes between the dispatch date and the run date the report. The problem I'm running into, I have custom hours during the business day of 7:30a to 3:30p. How do I incorporate the custom hours, instead of using the 9am to 5pm this formula uses? Thank you, Lisa
=IF(NETWORKDAYS(H6,$B$3,Holiday)-1=0,HOUR(MOD(H6-$B$3,1))&" Hour "&MINUTE(MOD(H6-$B$3,1))&" Minutes",NETWORKDAYS(H6,$B$3,Holiday)-1&" Days "&HOUR(MOD(H6-$B$3,1))&" Hour "&MINUTE(MOD(H6-$B$3,1))&" Minutes")
If I have a row of dates in row 2 starting from column B, and wanted to highlight the current date above the row. I could format row 1 using:
=B$2=today() formatted to red.
How could I ensure that a date is highlighted on a Tuesday+ if those dates were only week commencing dates?
Hi,
Could you please share the formula to calculate the Last Present Date.
Hi,
I have a spreadsheet that has a record of all our stock. There is a column that indicates how many days old each item of stock is. However at the moment I have to manually change the age so for example if it was 2 days old yesterday I would have to change it to 3 today then 4 tomorrow etc. What I would like to know is if there is a formula that you can get this information to update automatically each day so that it just ticks over the older the stock becomes. Thanks
I would like to know how we can retrieve the date for 3rd sat of every month for the year 2015
Dear Madam/Ser,
Which calculationcould I use for:
I have a production of some product of 34 h, and other product 6 h
The working process is in two shift, output/shift is 12 h.
I would like to enter the start time for product1, the calculation to calculate the end date of production of product1, excluding the weekends and non woring time (from 22:00 to 06:00 next day). The production of product2, start at the end time of product1 and calculate on sam principle the end time of production for product2.
I have a date as 01/20/16 i need to change it to 01/20/2016? How do i do that?
I tried using Date/Year function but no luck
Hello, Vivek,
Please try the following:
right-click on the cell -> Format Cells... -> Date -> pick the format you like.
Dear Madam
Please Check I Will Send The Data To Your Emil Id , Which Your Provided ID
My Personal Mail Id Was (MukundhaRaorm13@gmail.com)
Please Check Madam
Dear Sir / Madam
Please Clarified Me , How Do The Calication In Excel
No Saledate Km LastServiceDate Last Service Type
1 01/02/2015 100Km 25/02/2015 1St Free
2 02/05/2013 5000 Km 01/05/2014 2Nd Free Service
Dear Madam / Sir
1St Free From Sale Date To 60 Days
2Nd Free Service From The Sale Date To 330 Days Or 1500 Km
3Rd Free Service From Sale Date To 700 Days Days Or Below 7000 Km
After Complete 3Rd Free Service It Will Show Paid Service ,
Please Explain Me
I Need Sale Date To Service And Last Service Date To Up Comeing Service Type
MyNo Was - 9611786004
Please Help Me How To Do.....
Dear Mukundha,
It is difficult to provide a solution without seeing the data. Could you please send a test worksheet with some records you want to use for the calculation to support@ablebits.com and describe the expected result?
We'll do our best to assist you.
Ok Madam
hi
thanks!!!
Hi
If cell A1 and B1 have date it should show completed, but it showing number of days pending, please clarify this!
Manju,
In your first message, the conditions were stated in this way: "If I entered date in Cell A1, cell C1 should Show today-A1 cell; if I entered date in B1 C1 cell should show Completed". The formula checks the conditions in this order, and as soon as the first condition is met, other conditions are not checked.
Now, it you want to show "completed" when A1 and B1 have dates in them, use this one:
=IF(AND(A1<>"", B1<>""), "Completed", IF(A1<>"",TODAY()-A1, "Don't worry"))
If you want the formula to show "Completed" when there is a date in B1, regardless of whether there is or there is no date in A1, use this one:
=IF(B1<>"", "Completed", IF(A1<>"",TODAY()-A1, "Don't worry"))
If I entered date in Cell A1, cell C1 should Show today-A1 cell, if I entered date in B1 C1 cell should show Completed if A1 and B1 is blank C1 should show Don't worry.
Please let me know formula for this details
Hello Manju,
Here you go:
=IF(A1<>"",TODAY()-A1,IF(B1<>"","Completed","Don't worry"))
If I entered date in Cell A1, cell C1 should Show today-A1 cell, if I entered date in B1 C1 cell should show Completed if A1 and B1 is blank C1 should show Don't worry.
Please let me know formula for this details