Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change regular 24 hour format to military time in excel

I am trying to create a format for military time in excel
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 80
Default change regular 24 hour format to military time in excel

I thought they were the same. Give example of what you expect to see for 6
pm. (18:00)

"kidsmeasy" wrote in message
...
I am trying to create a format for military time in excel



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change regular 24 hour format to military time in excel

for 6pm(1800) would be correct and that is the way i would like for it to
show in the cell.

"Meebers" wrote:

I thought they were the same. Give example of what you expect to see for 6
pm. (18:00)

"kidsmeasy" wrote in message
...
I am trying to create a format for military time in excel




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default change regular 24 hour format to military time in excel

If you mean leading zeroes and without the colon, then Custom Format the
cell with hhmm.

Rick


"kidsmeasy" wrote in message
...
I am trying to create a format for military time in excel


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change regular 24 hour format to military time in excel

Thanks, I will give it a try.

"Rick Rothstein (MVP - VB)" wrote:

If you mean leading zeroes and without the colon, then Custom Format the
cell with hhmm.

Rick


"kidsmeasy" wrote in message
...
I am trying to create a format for military time in excel





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change regular 24 hour format to military time in excel

I tried the format but when I input the time and then tab to the next cell
the numbers turn to all zeros.

"Rick Rothstein (MVP - VB)" wrote:

If you mean leading zeroes and without the colon, then Custom Format the
cell with hhmm.

Rick


"kidsmeasy" wrote in message
...
I am trying to create a format for military time in excel



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default change regular 24 hour format to military time in excel

To get all zeroes means you are entering the numbers for you time without
the colon. Your subject line said you wanted to "change regular 24 hour
format to military time"... I assumed you meant that your entries would be
"real time values", that is, with colons in them (and that the Custom Format
would change them to look like you wanted). If you want, or are doing,
something different than that, you need to tell us what it is.

Rick


"kidsmeasy" wrote in message
...
I tried the format but when I input the time and then tab to the next cell
the numbers turn to all zeros.

"Rick Rothstein (MVP - VB)" wrote:

If you mean leading zeroes and without the colon, then Custom Format the
cell with hhmm.

Rick


"kidsmeasy" wrote in message
...
I am trying to create a format for military time in excel




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change regular 24 hour format to military time in excel

I am trying to input the time without the colons.

"Rick Rothstein (MVP - VB)" wrote:

To get all zeroes means you are entering the numbers for you time without
the colon. Your subject line said you wanted to "change regular 24 hour
format to military time"... I assumed you meant that your entries would be
"real time values", that is, with colons in them (and that the Custom Format
would change them to look like you wanted). If you want, or are doing,
something different than that, you need to tell us what it is.

Rick


"kidsmeasy" wrote in message
...
I tried the format but when I input the time and then tab to the next cell
the numbers turn to all zeros.

"Rick Rothstein (MVP - VB)" wrote:

If you mean leading zeroes and without the colon, then Custom Format the
cell with hhmm.

Rick


"kidsmeasy" wrote in message
...
I am trying to create a format for military time in excel




  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default change regular 24 hour format to military time in excel

...
I am trying to create a format for military time in excel


What are you planning on doing with these entries? If it is just for
display, you could just format it to forced 4-digit numbers, "0000".
Don't worry about date/time format.

If you are planning on adding or subtracting as time and date values,
that will be harder. Excel needs it to be entered as a time, with the
colon. Otherwise it can't tell the difference since, for example,
today at 1800 is actually the number 39611.75 to Excel. You could
enter "1800" in one cell and have other cells reformat it to time for
any operation you need to calculate.
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change regular 24 hour format to military time in excel

I appreciate all the help but I guess I'm just not getting it. I trying to
create a time sheet and I want to use military time to represent the start
time and end time.

"Spiky" wrote:

...
I am trying to create a format for military time in excel


What are you planning on doing with these entries? If it is just for
display, you could just format it to forced 4-digit numbers, "0000".
Don't worry about date/time format.

If you are planning on adding or subtracting as time and date values,
that will be harder. Excel needs it to be entered as a time, with the
colon. Otherwise it can't tell the difference since, for example,
today at 1800 is actually the number 39611.75 to Excel. You could
enter "1800" in one cell and have other cells reformat it to time for
any operation you need to calculate.



  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 80
Default change regular 24 hour format to military time in excel

I think you will find it easier in the long run by using the standard time
format as 18:00 for your entries. Will the times be going past 24:00 hrs.
For example if somebody had duty from 21:00 to 03:00 the next day or duty
longer than a 24 hr period let us know and we can generate a formula for
you. For example purposes a1 = start time b1= end of duty. Total will be
in C1 (where the formula will be). ?


"kidsmeasy" wrote in message
...
I appreciate all the help but I guess I'm just not getting it. I trying to
create a time sheet and I want to use military time to represent the start
time and end time.

"Spiky" wrote:

...
I am trying to create a format for military time in excel


What are you planning on doing with these entries? If it is just for
display, you could just format it to forced 4-digit numbers, "0000".
Don't worry about date/time format.

If you are planning on adding or subtracting as time and date values,
that will be harder. Excel needs it to be entered as a time, with the
colon. Otherwise it can't tell the difference since, for example,
today at 1800 is actually the number 39611.75 to Excel. You could
enter "1800" in one cell and have other cells reformat it to time for
any operation you need to calculate.



  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change regular 24 hour format to military time in excel

Yes, the times will be going pass 24:00 hrs. Schedule times are.......0600
to 1400, 1400 to 2200 and 2200 to 0600.

"Meebers" wrote:

I think you will find it easier in the long run by using the standard time
format as 18:00 for your entries. Will the times be going past 24:00 hrs.
For example if somebody had duty from 21:00 to 03:00 the next day or duty
longer than a 24 hr period let us know and we can generate a formula for
you. For example purposes a1 = start time b1= end of duty. Total will be
in C1 (where the formula will be). ?


"kidsmeasy" wrote in message
...
I appreciate all the help but I guess I'm just not getting it. I trying to
create a time sheet and I want to use military time to represent the start
time and end time.

"Spiky" wrote:

...
I am trying to create a format for military time in excel

What are you planning on doing with these entries? If it is just for
display, you could just format it to forced 4-digit numbers, "0000".
Don't worry about date/time format.

If you are planning on adding or subtracting as time and date values,
that will be harder. Excel needs it to be entered as a time, with the
colon. Otherwise it can't tell the difference since, for example,
today at 1800 is actually the number 39611.75 to Excel. You could
enter "1800" in one cell and have other cells reformat it to time for
any operation you need to calculate.




  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default change regular 24 hour format to military time in excel

On Jun 12, 7:39 pm, kidsmeasy
wrote:
I appreciate all the help but I guess I'm just not getting it. I trying to
create a time sheet and I want to use military time to represent the start
time and end time.


Excel can easily handle military time without any adjustments. But it
does need to be entered with a colon, otherwise it doesn't recognize
"time" at all.

To skip the colon, you would need to be able to use other cells with
more complex formulas to be able to add up the time for a time sheet.
This will turn "1800" or "0600" into the appropriate times so Excel
can understand them:
=TIME(LEFT(A1,LEN(A1)-2),RIGHT(A1,2),)

Then you can use that formula on both start and end times and subtract
to get hours worked. Assuming B1 is end time and A1 is beginning time.
=TIME(LEFT(B1,LEN(B1)-2),RIGHT(B1,2),)-
TIME(LEFT(A1,LEN(A1)-2),RIGHT(A1,2),)

And then you can format the output cell as "hhmm" to get that to show
without the colon.
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
How to I convert standard time to Military or 24 hour format? Nacho Excel Discussion (Misc queries) 5 June 28th 06 07:14 PM
convert military time to regular hours Kathy Excel Worksheet Functions 1 April 25th 06 01:20 PM
getting military time format within excel dgarrison Excel Discussion (Misc queries) 3 December 25th 05 11:47 PM
Show timesheet time in and out in regular time versus military tim John Excel Worksheet Functions 1 November 11th 05 06:14 AM
how do you subtract military time? example 12:00 - 07:00 = 5 hour. Bill Excel Worksheet Functions 1 October 27th 04 08:25 PM


All times are GMT +1. The time now is 12:10 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"