Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Time / Each Second Bewtween 9:30 AM and 4:15 PM

I a trying to generate a column that will list each second from 9:30Am until
4:15 PM.

My time format needs to look like this:

Time

93000

93001

93002

etc

93059

93100

93102

etc

95959

100000

100001

100002

etc

161500

Where the last entry 161500 is 4:15 PM.

Is there a good way to do this ?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Time / Each Second Bewtween 9:30 AM and 4:15 PM

If you select the range of cells that contain these times, then use a custom
format:

"hhmmss"

"carl" wrote:

I a trying to generate a column that will list each second from 9:30Am until
4:15 PM.

My time format needs to look like this:

Time

93000

93001

93002

etc

93059

93100

93102

etc

95959

100000

100001

100002

etc

161500

Where the last entry 161500 is 4:15 PM.

Is there a good way to do this ?

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Time / Each Second Bewtween 9:30 AM and 4:15 PM

Carl,

Format the column for custom, using the format string HMMSS. Then in row 2 of that column, enter
the formula

=((ROW()-2)+9.5*3600)/86400

and copy down to row 24,302.

HTH,
Bernie
MS Excel MVP


"carl" wrote in message
...
I a trying to generate a column that will list each second from 9:30Am until
4:15 PM.

My time format needs to look like this:

Time

93000

93001

93002

etc

93059

93100

93102

etc

95959

100000

100001

100002

etc

161500

Where the last entry 161500 is 4:15 PM.

Is there a good way to do this ?

Thank you in advance.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Time / Each Second Bewtween 9:30 AM and 4:15 PM

That's a lot of rows!

One way

in A1 put

=--TEXT("09:30"+ROWS($A$1:A1)/24/60/60,"hhmmss")

then copy down to A24300

best way is probably to type in

A1:A24300 in the name box, then pressing Ctrl + D

then finally select A1:A24300 and do copy and paste special as values

It will take a while to copy down a formula 24300 rows so I hope you have a
powerful computer



--
Regards,

Peo Sjoblom



"carl" wrote in message
...
I a trying to generate a column that will list each second from 9:30Am
until
4:15 PM.

My time format needs to look like this:

Time

93000

93001

93002

etc

93059

93100

93102

etc

95959

100000

100001

100002

etc

161500

Where the last entry 161500 is 4:15 PM.

Is there a good way to do this ?

Thank you in advance.



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
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM
Remove time from a date and time field? Format removes the displa. oaoboc Excel Worksheet Functions 1 February 16th 05 07:20 PM


All times are GMT +1. The time now is 10:09 PM.

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

About Us

"It's about Microsoft Excel"