How can we convert date into days for any year?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

Professional Tutor with 15 years of experience.

Enter the DATE Select the cell with the returned date. Click the Home tab. Click Format Cells: Number in the Number group.
Comments

Software Professional Trainer with 26+ years of Experience in Software Design and Development

Use the below formula =DATEVALUE("11 Jul 2016") you will get the serial number of the date. Pass this result to below function =Day(Serial_Number) ie =DAY(DATEVALUE("11 Jul 2016"))
Comments

Advanced Excel, VBA Automations, Reporting Insight

To convert date into number of days in that year, use the following formula, assuming your date is in cell A1: =DAYS(A1,DATE(YEAR(A1),1,1))
Comments

Tutor

=TEXT(Cell with date,"DD")
Comments

Software Professional Trainer with 26+ years of Experience in Software Design and Development

=TEXT(DATE(2016,8,26),"DDDD")
Comments

Excel Expert

Assuming that the given date is in the Cell A1 If you want to know the serial number for the given date for the year use =A1+1-DATE(TEXT(A1,"yyyy"),1,1) If you want to know the weekday name then simply use =TEXT(A1,"DDD") for 3 letter days e.g. Sun, Mon, etc. OR use =TEXT(A1,"DDDD") full days e.g....
read more
Assuming that the given date is in the Cell A1 If you want to know the serial number for the given date for the year use =A1+1-DATE(TEXT(A1,"yyyy"),1,1) If you want to know the weekday name then simply use =TEXT(A1,"DDD") for 3 letter days e.g. Sun, Mon, etc. OR use =TEXT(A1,"DDDD") full days e.g. Sunday, Monday, etc. Please check the attached image for details. This will only work when cell A1 contains valid date value. At times incorrectly entered dates are interpreted by Excel as text. In those scenarios use =DATEVALUE(A1) in place of just A1 in the formulas above. read less
Comments

Excel VBA Training, Microsoft Excel, MIS Reporting, VBA, MS Access

other option is pressing ctrl+1 then-> custom->Type "dddd"
Comments

1. Select the cell where you have value which you want to convert into days, then write below function =DATEVALUE("11 Jul 2016") Press Enter
Comments

=DATEDIF(celladdress,NOW(),"d")
Comments

View 7 more Answers

Related Questions

What is Microsoft Excel?
Microsoft Excel is a spreadsheet developed by Microsoft for Windows, Mac OS X, Android and iOS. It features calculation, graphing tools, pivot tables, and a macro programming language called Visual Basic for Applications.
Hardik
How to create pivot table in excel?
If you wan to analyze the only data that is on your sheet. First be sure all columns has header after than select any cell from your data and go to insert tab and click on pivot table.
Rahul
0 0
6
Hi I want to use conditional formatting for 4 cell and where they have - value too. So, I want anything in the range which are in - in a colour and positive in one single colour. How can that happen so can anyone please help me on it?
1. First you have to select the range of cells where you want to apply conditional formatting 2. You have to select conditional formatting from Home tab in Excel window 3. There will be many categories,...
Charan
Linear Programming in Excel ?? Can someone can solve just 1 question of Linear Programming in Excel ?? I am ready to pay. Thanks
Hi Gary I might be able to help you please share your question with me and hopefully would be able to help you on the same.
Garry
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons


WebSphere
WebSphere is a set of Java-based tools from IBM that allows customers to create and manage sophisticated business Web sites. The central WebSphere tool is theWebSphere Application Server (WAS), an application...

Remove gridline on active sheet
If you want to remove gridline on your active work sheet then follow below path Go to Ribbon click on View tab then uncheck gridline check box as shown in picture

VBA Function -
Using FORMAT Function in VBA we can modify the format of Numbers, Dates, Times & String. Syntax: FORMAT(expression, format, , ) 1. Formatting "Numbers" using FORMAT function in VBA SUB Format_Numbers() MsgBox...

Excel Tip: Conditional Formatting To Highlight First Value Among Duplicates.
In Column “C”, I have product list and some of them are duplicates. My requirement is to format with background color of green for 1st found value among the duplicates. To solve this, I used...

Recommended Articles

Microsoft Office is a very popular tool amongst students and C-Suite. Today, approximately 1.2 billion people across 140 countries use the office programme. It is used at home, schools and offices on a daily basis for organizing, handling and presenting data and information. Microsoft Office Suite offers programs that can...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Looking for Microsoft Excel Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you