Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing AM time to PM time

I have a huge problem with my Excel spreadsheet and cannot
find an answer anywhere. Here is my situation.

I have a master spreadsheet that is populated from another
spreadhseet that is created and exported by an Access
database. The information in the Access database contains
information entered in by people on a web page that
requires them to enter a time sheet for each work week.

However, here lies my problem. On the web page, there are
fields specifically named AM Start, AM Stop, PM Start and
PM Stop. All a person has to do is enter 7:00 in the AM
Start field and 11:30 for the AM Stop field. The same
holds true when a person enters 12:30 for the PM Start and
5:00 for the PM Stop. As you can tell, I am having a time
problem when this information is exported to my first
spreadsheet that is linked to my master spreadsheet.

The master spreadsheet calculates the AM times correctly
(all I want to do is to find out how much is worked
between start and stop). But with the PM times, it
interprets the times entered as AM! For example, when a
person enters 1:00 for the PM Start time, Excel interprets
this as 1:00 AM! Doing research, the only way around this
is if people enter military time which is crazy!

How do I work around this problem? Are there any formulas
or some format I can apply to the cells that contain PM
Start and Stop times that will correctly compute my
times? Please help !!

Thanks a million.

Richard A.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Changing AM time to PM time

Richard,

one way would be to add 0.5 to your PM values. Depending
on how you import the values you could do it during that
process, or just have another column after the raw data
wit that formula in it.

Pete.

-----Original Message-----
I have a huge problem with my Excel spreadsheet and

cannot
find an answer anywhere. Here is my situation.

I have a master spreadsheet that is populated from

another
spreadhseet that is created and exported by an Access
database. The information in the Access database

contains
information entered in by people on a web page that
requires them to enter a time sheet for each work week.

However, here lies my problem. On the web page, there

are
fields specifically named AM Start, AM Stop, PM Start and
PM Stop. All a person has to do is enter 7:00 in the AM
Start field and 11:30 for the AM Stop field. The same
holds true when a person enters 12:30 for the PM Start

and
5:00 for the PM Stop. As you can tell, I am having a

time
problem when this information is exported to my first
spreadsheet that is linked to my master spreadsheet.

The master spreadsheet calculates the AM times correctly
(all I want to do is to find out how much is worked
between start and stop). But with the PM times, it
interprets the times entered as AM! For example, when a
person enters 1:00 for the PM Start time, Excel

interprets
this as 1:00 AM! Doing research, the only way around

this
is if people enter military time which is crazy!

How do I work around this problem? Are there any

formulas
or some format I can apply to the cells that contain PM
Start and Stop times that will correctly compute my
times? Please help !!

Thanks a million.

Richard A.
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Changing AM time to PM time

If you are only interested in the elapsed time, what difference does it make
if you are finding the difference between times between midnight and noon
and then again between noon and midnight. If the latter times are
interpreted as being before noon, it wouldn't change the elapsed time.
But, as advised, time is stored as a fraction of a day, so if add 0.5 to
your times, it should put thim back between noon and midnight.

--
Regards,
Tom Ogilvy

"Richard A." wrote in message
...
I have a huge problem with my Excel spreadsheet and cannot
find an answer anywhere. Here is my situation.

I have a master spreadsheet that is populated from another
spreadhseet that is created and exported by an Access
database. The information in the Access database contains
information entered in by people on a web page that
requires them to enter a time sheet for each work week.

However, here lies my problem. On the web page, there are
fields specifically named AM Start, AM Stop, PM Start and
PM Stop. All a person has to do is enter 7:00 in the AM
Start field and 11:30 for the AM Stop field. The same
holds true when a person enters 12:30 for the PM Start and
5:00 for the PM Stop. As you can tell, I am having a time
problem when this information is exported to my first
spreadsheet that is linked to my master spreadsheet.

The master spreadsheet calculates the AM times correctly
(all I want to do is to find out how much is worked
between start and stop). But with the PM times, it
interprets the times entered as AM! For example, when a
person enters 1:00 for the PM Start time, Excel interprets
this as 1:00 AM! Doing research, the only way around this
is if people enter military time which is crazy!

How do I work around this problem? Are there any formulas
or some format I can apply to the cells that contain PM
Start and Stop times that will correctly compute my
times? Please help !!

Thanks a million.

Richard A.



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
Time calculations for Scheduled Time vs. Actual Time Worked The Caterer Excel Discussion (Misc queries) 1 November 29th 09 08:08 AM
straight time, time and a half, and double time Jeremy Excel Discussion (Misc queries) 3 September 23rd 08 09:03 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
Changing decimal time into 24 hour time and reverse Bobzter100 Excel Discussion (Misc queries) 4 January 25th 08 11:38 AM
Changing many references at a time. rmellison Excel Discussion (Misc queries) 2 September 22nd 05 04:41 PM


All times are GMT +1. The time now is 03:43 PM.

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"