Date Format/Convert in Excel 2016

suresh2017

New Member
Joined
Feb 7, 2017
Messages
16
Hi All,

I am having a date Oct 31, 2017 11:18 PM (i am seeing in formula bar) i wanted to convert to [TABLE="width: 140"]
<tbody>[TR]
[TD="class: xl63, width: 140"]31/10/2017 23:18[/TD]
[/TR]
</tbody>[/TABLE]


Please help me
 

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.
I am having a date Oct 31, 2017 11:18 PM (i am seeing in formula bar) i wanted to convert to [TABLE="width: 140"]
<tbody>[TR]
[TD="class: xl63, width: 140"]31/10/2017 23:18[/TD]
[/TR]
</tbody>[/TABLE]
First, if the Cell Formatting for that cell is Text, change it to General. Next, with the cell selected, bring up the Text To Columns dialog box (Data tab, Data Tools panel) and select Delimited when it appears, then click Next and make sure none of the Delimiters checkboxes are checked, then click the Finish button.
 
Upvote 0
Hi All,

I am having a date Oct 31, 2017 11:18 PM (i am seeing in formula bar) i wanted to convert to [TABLE="width: 140"]
<tbody>[TR]
[TD="class: xl63, width: 140"]31/10/2017 23:18
[/TD]
[/TR]
</tbody>[/TABLE]


Please help me

What is displayed is the raw date/time value in your (systems default format? Rick?). If you change the value to a text string, you will loose all related date functions.
If you want the Cell to display the date/time as day/month/Year hh:mm, you need to change the CELLS formatting. THIS does not change the raw value you will see in the formula bar.
If you want
 
Upvote 0
SpillerBD - Could you tell me how to change the CELLS formatting.
First, select the cell, then click the drop down control on the Home tab in the Number panel... select the format for the cell from there. Alternately, you can press Ctrl+1 on the keyboard or you can right-click the cell and select "Format Cells..." from the popup menu that appears.
 
Upvote 0

Excel 2010
AB
1Oct 31, 2017 11:18 PM31/10/17 23:18
2
3Custom formatteddd/mm/yy hh:mm
4Regional Settings dd/mm/yy
5N.B. No trailing spaces
6
1e
Cell Formulas
RangeFormula
B1=--(MID(A1,5,2)&LEFT(A1,3)&MID(A1,9,4))+TIMEVALUE(RIGHT(A1,8))
 
Upvote 0
Excel 2010
AB
1Oct 31, 2017 11:18 PM31/10/17 23:18
2
3Custom formatteddd/mm/yy hh:mm
4Regional Settings dd/mm/yy
5N.B. No trailing spaces
6
1e
Cell Formulas
RangeFormula
B1=--(MID(A1,5,2)&LEFT(A1,3)&MID(A1,9,4))+TIMEVALUE(RIGHT(A1,8))
Assuming the OP wanted to do this by a formula, this would probably be more efficient...

=0+A1
 
Upvote 0
Column A is having date - Oct 31, 2017 11:18 PM Column B formatted as Custom dd/mm/yyyy hh:mm then copied A value and pasted into column B still i am getting A format date only (Oct 31, 2017 11:18 PM) - I am sorry if am confusing more. i just wanted Column A date - Oct 31, 2017 11:18 PM need to display 31/10/2017 23:18 date format.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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