Question

In my Excel sheet I added the date and time in one cell as below.

SO18396706 example

At the top (in fx bar) it is showing both the date and time. The problem is, in the cell it is showing only the date but I want both the time and date to be displayed in the cell.

Can anyone help me with this?

Was it helpful?

Solution

Select ColumnB, Home> Cells - Format, Format Cells and under Category: select Custom and in Type: enter dd-mmm-yy hh:mm AM/PM.

OTHER TIPS

ctrl + ; will show the date, press the space bar, then ctrl + shift + ; will show the time, also.

09/08/2017     2:36 PM
[ctrl+;]       [ctrl+shift+;]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top