Solved

Excel Time column cannot be formatted

Posted on 2011-03-18
6
205 Views
Last Modified: 2012-08-14
I have an excel spreadsheet with a time column that will not format. I want to combine the date and time columns. But the formula produces #VALUE!. I tried just formatting the time and it does not do it. Also, once you hide rows at the top, how do you unhide them?
0
Comment
Question by:qbjgqbjg
  • 3
  • 2
6 Comments
 

Author Comment

by:qbjgqbjg
ID: 35165994
I am attaching the spreadsheet. test.xlsx. I thought maybe it was because the time has am pm in lowercase, so I replaced it with uppercase, but it still did not work.
0
 
LVL 24

Expert Comment

by:broomee9
ID: 35166007
Can you post your workbook?

>>Also, once you hide rows at the top, how do you unhide them?
Select all the cells (Ctrl + A) and click Format --> Row --> Unhide
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 400 total points
ID: 35166266
You need a space between the time and the "am" or "pm" for it to be recognised as a valid time, you can use this formula to combine date and time while also adding the space, i.e. in H6 I used

=B6+REPLACE(C6,LEN(C6)-1,0," ")

copied down

That's now a valid date/time that you can format any way you want, see attached

regards, barry
26896322.xlsx
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:qbjgqbjg
ID: 35166314
Thanks, that worked. What about unhiding columns at the top of the page?
0
 
LVL 24

Assisted Solution

by:broomee9
broomee9 earned 100 total points
ID: 35166333
>>Thanks, that worked. What about unhiding columns at the top of the page?

See this comment http:35166007
0
 

Author Closing Comment

by:qbjgqbjg
ID: 35166501
Thanks. That resolved the issues. I really appreciate the help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
time format showing wrong 12 49
Consolidate xl 2010 worksheets with text 2 20
Excel callender with date slider 5 25
Dynamic Filter ? 3 0
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now