Julian date and time conversion.

nmccracken

New Member
Joined
Jun 24, 2022
Messages
1
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Having some problems getting the correct month and days to populate.
Does anyone have a good formula to convert a 4 digit Julian date and copy the time over from one cell to the adjacent cell.

data I have: 2182/0950 (yddd/hhmm)
conversion I am trying to achieve: 1 July/0950
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Welcome to the MrExcel Forum. What about this, where your data is in Cell A1. Assuming all data will be for the year 2022.

Excel Formula:
=TEXT((DATE(2021,12,31)+MID(A1,2,3)),"d mmmm")&RIGHT(A1,5)
 
Upvote 0
If you require Date and Time , custom format the following to your preference.


Date and Time 2021.xlsm
AB
32182/095001-Jul-22 09:50
42200/223019-Jul-22 10:30 PM
14b
Cell Formulas
RangeFormula
B3B3=DATE(2021,12,31)+MID(A3,2,3)+TEXT(RIGHT(A3,4),"00\:00")
B4B4=44561+MID(A4,2,3)+TEXT(RIGHT(A4,4),"00\:00")
 
Upvote 0
Did I mis-read or was this the output the OP was trying to achieve...

Book1.xlsm
AB
12182/09501 July/0950
22182/09511 July/0951
Sheet1
Cell Formulas
RangeFormula
B1:B2B1=TEXT((DATE(2021,12,31)+MID(A1,2,3)),"d mmmm")&RIGHT(A1,5)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,203
Members
452,617
Latest member
Narendra Babu D

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top