Solved

Convert YYYYMMDD date to Julian date in excel

Posted on 2014-09-12
3
887 Views
Last Modified: 2014-09-12
how do I convert a YYYYMMDD date to a Julian date in excel?  or maybe I should say  Julian Day Number (JDN), YYYYJJJ.
0
Comment
Question by:roosterup
  • 2
3 Comments
 
LVL 1

Author Comment

by:roosterup
ID: 40319248
Julian format needs a four-digit year
0
 
LVL 6

Expert Comment

by:johnb25
ID: 40319302
=LEFT(A1,4)&DAYS(DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)),DATE(LEFT(A1,4),1,1))
If your original date is in A1.

John
0
 
LVL 6

Accepted Solution

by:
johnb25 earned 500 total points
ID: 40319310
Sorry, need to +1...the Days formula calculates the days between two dates
=LEFT(A1,4)&DAYS(DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)),DATE(LEFT(A1,4),1,1))+1
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now