?
Solved

Excel Time column cannot be formatted

Posted on 2011-03-18
6
Medium Priority
?
219 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:Tracy
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 1600 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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:Tracy
Tracy earned 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

807 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