Spliting date

chandraprajapati

New Member
Joined
Jan 9, 2014
Messages
3
Please help me with a formulae that splits date into 4 cells.

For example: DD/MM/YY 08/12/83 this needs to be separated in 4 cells like: A1=08; B1=12; C1=8 and D1=3

Thanks in advance.

Regards,

Chandra
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Please help me with a formulae that splits date into 4 cells.

For example: DD/MM/YY 08/12/83 this needs to be separated in 4 cells like: A1=08; B1=12; C1=8 and D1=3

Give this set of formula a try (note.. you did not tell us what cell the date is in, so I assumed cell E1)...

A1: =DAY(E1)

B1: =MONTH(E1)

C1: =MOD(YEAR(E1/10),10)

D1: =MOD(YEAR(E1),10)

Note that the values in cells A1 and B1 will not have leading zeroes... if you want them, simply custom format those cells using a type pattern of 00
 
Upvote 0
Chandra,
Welcome to the forum.
For my example I put your date into cell A2. Then added these formulas in the cells you requested.
A1 =MONTH(A2)
B1 =DAY(A2)
C1 =MID(YEAR(A2),3,1)
D1 =RIGHT(YEAR(A2),1)

Hope this helps,
Tmoske
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,211
Members
448,554
Latest member
Gleisner2

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