Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Catching" Hours 1

Status
Not open for further replies.

mkuethe

Technical User
Jul 19, 2001
25
0
0
US
Is there any way to "catch" the hours in a cell and convert them to text in another cell. For instance - I have a cell with "172:10:20". The cell has been formatted to hhh:mm:ss, but still shows as "1/7/1900 4:10:20 AM" in the formula bar.

How can I get an empty cell to pull just the "172" and convert it to text?
 
To get the hours only as text:
[blue]
Code:
  =TEXT(A1,"[hhh]")
[/color]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top