Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default converting number to time

I have a column of numbers, ranging from 0 to 4000 seconds; A1 is 0, A2 is 1,
A3 is 2, etc. How do I convert that column to represent time, where 0 seconds
is 00:00:00, 1 second is 00:00:01, 2 seconds is 00:00:02, and 60 seconds is
00:01:00, etc.? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,327
Default converting number to time

In B1:
=TIME(0,0,A1)
fill down.

Or the brutal way if you can't spare the B column: Enter
86400
in an empty cell (=the amount of seconds in a day, if you include the
night). Copy that cell. Select your A cells. Go menu Edit Paste special,
check Divide, OK. Format the cells as time.

HTH. Best wishes Harald

"bourbon84" skrev i melding
...
I have a column of numbers, ranging from 0 to 4000 seconds; A1 is 0, A2 is

1,
A3 is 2, etc. How do I convert that column to represent time, where 0

seconds
is 00:00:00, 1 second is 00:00:01, 2 seconds is 00:00:02, and 60 seconds

is
00:01:00, etc.? Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default converting number to time

Format the column as TIME (00:00:00)
Do: Select Column header and right click, format cells,time, 00:00:00

Then in the time cells simply type =A#
Where # is your data range

Works in some of my spreadsheets

"bourbon84" wrote:

I have a column of numbers, ranging from 0 to 4000 seconds; A1 is 0, A2 is 1,
A3 is 2, etc. How do I convert that column to represent time, where 0 seconds
is 00:00:00, 1 second is 00:00:01, 2 seconds is 00:00:02, and 60 seconds is
00:01:00, etc.? Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default converting number to time

Sorry, on checking my sheets I see a constant of 86400

correction, Type =A#/86400


"bourbon84" wrote:

I have a column of numbers, ranging from 0 to 4000 seconds; A1 is 0, A2 is 1,
A3 is 2, etc. How do I convert that column to represent time, where 0 seconds
is 00:00:00, 1 second is 00:00:01, 2 seconds is 00:00:02, and 60 seconds is
00:01:00, etc.? Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Eastern time to Central time DonaldM210 Excel Discussion (Misc queries) 5 August 12th 06 09:52 PM
Selecting the first time a number appears Jaydubs Excel Discussion (Misc queries) 11 July 18th 06 07:34 AM
Selecting the first time a number appears (part 2) Jaydubs Excel Discussion (Misc queries) 2 July 17th 06 02:47 PM
Entering a number on any sheet one time only paulrm906 Excel Discussion (Misc queries) 4 April 2nd 06 06:16 AM
Time format to number while keeping value Jim Excel Worksheet Functions 2 January 12th 06 05:45 PM


All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"