Question : Excel Julian Date

Hello:

I have a code such as:
27AM9077

The last 4 chars are a Julian Date.  In this example, the date I need to see in Excel is 3/18/2009 (m/dd/yyyy)

With thanks to Cpearson's website, I found this formula:
=DATE(IF(0+(LEFT($K$5,1))<30,2000,1900)+LEFT($K$5,1),1,RIGHT($K$5,3))

But I need to work a MID function into this formula in order for it to be applicable to my Julian date formant (again, it's 27AM9077) and I cannot get the MID to work.  

Can you help?

Thank you.

Answer : Excel Julian Date

Hi

Is there some consistency in your code formats eg always 4 characters then the Julian date?  Is so you could try this:

=DATE(IF(0+(TEXT(MID(K5,5,1),"00"))<30,2000,1900)+TEXT(MID(K5,5,1),"00"),1,MID(K5,6,3))

Richard
Random Solutions  
 
programming4us programming4us