#### calculating clock times

```if i enter "7:00 am in one cell and 5:45 pm in another cell, what formula do
in enter in another cell to caluclate the time?
```
 0
Utf
3/7/2010 7:04:01 PM
excel.worksheet.functions 4936 articles. 2 followers.

7 Replies
726 Views

Similar Articles

[PageSpeed] 49

```On Sun, 7 Mar 2010 11:04:01 -0800, gma <gma@mircosoft.com> wrote:

>if i enter "7:00 am in one cell and 5:45 pm in another cell, what formula do
>in enter in another cell to caluclate the time?

If the first cell is A1 and the other cell is A2, try the following
formula in a third cell:

=A2-A1

Format the third cell to display the time difference the way you like.

Hope this helps / Lars-�ke

```
 0
Lars
3/7/2010 7:15:16 PM
```hi
do you mean subtract or add??
=sum(A2-B2) or +
just remember that excel keeps track of time as a percent of a day.
12 noon is .5 day. enter 7:00 in one cell and 5:45 in another. reformat to
general. these are the accual numerical values that excel is seeing.
formating doesn't change data, it just changes the way it looks on the sheet.

regards
FSt1

"gma" wrote:

> if i enter "7:00 am in one cell and 5:45 pm in another cell, what formula do
> in enter in another cell to caluclate the time?
```
 0
Utf
3/7/2010 7:44:01 PM
```What value is using Sum? And if you're subtracting times, you want the
result formatted as a time, not General.

Regards,
Fred

"FSt1" <FSt1@discussions.microsoft.com> wrote in message
news:B5DA1686-75B9-4111-87B0-4A5F5ED17B12@microsoft.com...
> hi
> do you mean subtract or add??
> =sum(A2-B2) or +
> just remember that excel keeps track of time as a percent of a day.
> 12 noon is .5 day. enter 7:00 in one cell and 5:45 in another. reformat to
> general. these are the accual numerical values that excel is seeing.
> formating doesn't change data, it just changes the way it looks on the
> sheet.
>
> regards
> FSt1
>
> "gma" wrote:
>
>> if i enter "7:00 am in one cell and 5:45 pm in another cell, what formula
>> do
>> in enter in another cell to caluclate the time?

```
 0
Fred
3/7/2010 7:57:49 PM
```I hope that instead of =sum(A2-B2) you intended to say =A2-B2 ?
If not, what is the SUM function doing for us in that formula?
--
David Biddulph

"FSt1" <FSt1@discussions.microsoft.com> wrote in message
news:B5DA1686-75B9-4111-87B0-4A5F5ED17B12@microsoft.com...
> hi
> do you mean subtract or add??
> =sum(A2-B2) or +
> just remember that excel keeps track of time as a percent of a day.
> 12 noon is .5 day. enter 7:00 in one cell and 5:45 in another. reformat to
> general. these are the accual numerical values that excel is seeing.
> formating doesn't change data, it just changes the way it looks on the
> sheet.
>
> regards
> FSt1
>
> "gma" wrote:
>
>> if i enter "7:00 am in one cell and 5:45 pm in another cell, what formula
>> do
>> in enter in another cell to caluclate the time?

```
 0
David
3/7/2010 8:09:21 PM
```hi
i was trying to illistrate a point about the real values behind the formated
times. obviously one would want the value formated as time but it does help
to know what is going on behind the formating ie it's not hocos pocus. it's
simple math using real numbers simply formated to look another way.

regards
FSt1

"Fred Smith" wrote:

> What value is using Sum? And if you're subtracting times, you want the
> result formatted as a time, not General.
>
> Regards,
> Fred
>
> "FSt1" <FSt1@discussions.microsoft.com> wrote in message
> news:B5DA1686-75B9-4111-87B0-4A5F5ED17B12@microsoft.com...
> > hi
> > do you mean subtract or add??
> > =sum(A2-B2) or +
> > just remember that excel keeps track of time as a percent of a day.
> > 12 noon is .5 day. enter 7:00 in one cell and 5:45 in another. reformat to
> > general. these are the accual numerical values that excel is seeing.
> > formating doesn't change data, it just changes the way it looks on the
> > sheet.
> >
> > regards
> > FSt1
> >
> > "gma" wrote:
> >
> >> if i enter "7:00 am in one cell and 5:45 pm in another cell, what formula
> >> do
> >> in enter in another cell to caluclate the time?
>
> .
>
```
 0
Utf
3/7/2010 10:19:01 PM
```hi
it works either way. omitting the sum does reduce typing.

regards
FSt1

"David Biddulph" wrote:

> I hope that instead of =sum(A2-B2) you intended to say =A2-B2 ?
> If not, what is the SUM function doing for us in that formula?
> --
> David Biddulph
>
>
> "FSt1" <FSt1@discussions.microsoft.com> wrote in message
> news:B5DA1686-75B9-4111-87B0-4A5F5ED17B12@microsoft.com...
> > hi
> > do you mean subtract or add??
> > =sum(A2-B2) or +
> > just remember that excel keeps track of time as a percent of a day.
> > 12 noon is .5 day. enter 7:00 in one cell and 5:45 in another. reformat to
> > general. these are the accual numerical values that excel is seeing.
> > formating doesn't change data, it just changes the way it looks on the
> > sheet.
> >
> > regards
> > FSt1
> >
> > "gma" wrote:
> >
> >> if i enter "7:00 am in one cell and 5:45 pm in another cell, what formula
> >> do
> >> in enter in another cell to caluclate the time?
>
>
> .
>
```
 0
Utf
3/7/2010 10:21:01 PM
```All
Let me try this way
cell one: 06:00 am
cell two: 02:30 pm
cell three: formula/calculating cell: 8.5 hours
when i change the numbers in the either cell one or two it changes cell
three to what ever time differance, + or -

"Lars-Åke Aspelin" wrote:

> On Sun, 7 Mar 2010 11:04:01 -0800, gma <gma@mircosoft.com> wrote:
>
> >if i enter "7:00 am in one cell and 5:45 pm in another cell, what formula do
> >in enter in another cell to caluclate the time?
>
> If the first cell is A1 and the other cell is A2, try the following
> formula in a third cell:
>
> =A2-A1
>
> Format the third cell to display the time difference the way you like.
>
> Hope this helps / Lars-Åke
>
> .
>
```
 0
Utf
3/8/2010 5:59:01 PM

Similar Artilces:

Calculating Taxes and Making calculations
Hello, Kindly plz tell me how do i go about making some small calculations based on my existing data such as how to compute taxes and do other calculations based on some quantitative data. where exactly do i make modifications on my application??? Kindly help me out. Thanks , swati you can add code in javascript behind dropdowns or piclist fields. One example might be a dropdown which has shipping options ie ups, fedex etc. When you choose one it takes the weight of your package (whcih you enter) then calculates a shipping cost. search the archives of this group at groups.google.com and ...

Procedure to calculate distance using latitude/longitude
Does anyone know of a vba procedure for access that will calculate straightline distance using latitude and logitude for 2 points? AJ wrote: > Does anyone know of a vba procedure for access that will calculate > straightline distance using latitude and logitude for 2 points? See: http://groups.google.com/group/microsoft.public.access/msg/6b934b0e580b974b James A. Fortune MPAPoster@FortuneJames.com ...

How to calculate age of a person?
Hi, I'm struggling to figure this one out. I have a date column and I'd like to be able to calculate the age without doing it in my head. I've tried to do this but am struggling. Any help will greatly appreciated. Thanks Suzanne Visit www.cpearson.com and search for DATEDIFF best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "Grd" <Grd@discussions.microsoft.com> wrote in message news:6BFFD11C-AECB-4837-93B6-D84B6170B975@microsoft.com... > Hi, > > I'm struggling to figure this one out. I have...

average if with time
I have data sorted by date(mm/dd/yy) and time(hh.mm.ss) and I am tryin to write a function which will average every hour. How can I sor through the times and compute an average without getting all the 2 clocks, for example, as opposed to the hour on one particular day Thanks for the help, Andrew Moo -- Message posted from http://www.ExcelForum.com Need a little more detail. Maybe give me an example of what you have a data and then tell me what results you are trying to recieve from tha data! michae -- Message posted from http://www.ExcelForum.com I see your problem as having separate...

EXCEL 2007 Formula to calculate INTEREST only on a 3 month bridge
I am trying to calculate monthly INTEREST ONLY payment on a short term bridge/swing loan. Assuming an interest rate of 2.75%, paid monthly, Also assuming it will be required for a 3-6 month period, amount approx \$500,000. Just switched to Excel 2007 but don't seem to be able to calculate using the formula builder. Not sure if it is compounded daily or monthly. You might want to check out the IPMT function. From the XL help file: IPMT(rate,per,nper,pv,fv,type) Rate is the interest rate per period. Per is the period for which you want to find the interest and must...

Due Date Calculated
I need assistance on an expression that allows for the due date of recurring training to be one year from date completed. Details are as follows: I have a form named [frmTRNComplete] based on table named [tblTRNComplete] Form controls are: TRNID (combo box), DateComp (Text Box) , DateNext (text box), Reccuring (check box) I would like the DateNext to be 1 year from DateComp if Reccuring is true and Date next to be blank if Reccuring is false. -- Aloha, Ron A. Ron I'll assume that you want to use the form to calculate the DateNext, and that you are not trying to s...

how to calculate outliers
Google is your friend: http://www.google.com/search?q=calculate+outliers - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierTech.com _______ "ismhs" <ismhs@discussions.microsoft.com> wrote in message news:035124A0-06FA-4153-932E-6C4E0614F38C@microsoft.com... > ...

Calculated field options???
Here's my Data: Country Status --------- ---------- Canada Green Canada Blue Canada Green Canada Green Canada Blue In my pivot table, 'Country' is an item, and 'Status' is my only data field. What I really need to show in my data area is two column of data, one for 'Green' and one for 'Blue'. I tried creating two 'Calculated' fields with the following formulas, but they don't seem to be working: 'CalculatedField1' = IF((STATUS="Green"),1,0) 'CalculatedF...

Time Conversion question
One of the pieces of software we use gives us time in an awkward format. 16633 means 166 minutes 33 seconds. I need a formula to convert this figure to a decimal respresentation of time (166.55 for the example listed previously). Any help will be much appreciated. =INT(A1/100)+MOD(A1,100)*5/300 HTH. Best wishes Harald "Sean Skallerud" <SeanSkallerud@discussions.microsoft.com> skrev i melding news:050BD3C6-E67A-4F94-B08B-695A038B33A6@microsoft.com... > One of the pieces of software we use gives us time in an awkward format. > 16633 means 166 minutes 33 seconds. I...

tenure calculations
how can I format several dates such as 04/19/2003, 04/01/2004, etc. int a yearly average for the employee tenure -- Message posted from http://www.ExcelForum.com right now say I have my yearly figures in i1-i9. The formula I though would work is =today()-average(i1:i9), but how would i format this to give me yearly read out -- Message posted from http://www.ExcelForum.com Hi djackson! One way is to use YEARFRAC with a third argument of 1 to get your tenures in years and fractions of a year and then average the result. However YEARFRAC does produce some annoying but small errors. Y...

Time Sheet Function to Calculate
I am having some trouble trying to establish a formula that will give me the number of hours worked during the day given the start time say 8.30am with an end time of 5.30pm and say 30 minutes for lunch. For this scenario, total working hours would be eight and a half hours but I need Excel to display this result as 8.30 hours (0.30 being the minutes in the half hour) and not 8.50. Can someone suggest what to do? Typically the layout would be Column A - Start Time say 8.30am Column B - Time in minutes spent at lunch say 30 minutes Column C - End Time say 5.30pm. Column D - the calculati...

Formula to calculate time
I was wondering if anybody knows of a formula to allow you to do calculations based on time. In other words, say I want to put a list of songs on a CD and their durations. Then, I want to add up the durations to get the full time of the CD, or my specific play list. So for example, using the information below: Ghostbusters - Ray Parker Jr. --- 5:23 (Just a guess) Phantom of the Opera Overture --- 3:55 (Another guess) Instead of 8:78, I'd want to see 9:18 Can this be done? Any help would be greatly appreciated. Thank you! -- Have a nice day! ~Paul Express Scripts, Charting the futu...

Not Windows but Chicago Hawks win Stanley Cup
Chicago Blackhawks defenseman Brent Seabrook kisses the Stanley Cup after the Blackhawks stunned the Philadelphia Flyers 4-3 in overtime, capturing their first championship in 49 years. As you might guess, Hockey's key competition is named after me. Just kidding. P.S. I didn't know hockey is so active during Summer time, it was 90 degrees here the past week and we're not far from Chicago. Stanley Starinski I have a goat on Route9, NJ at my farm! "Ibrahim Al-Qassam (Abdelaziz)" <IranWillRuleWorld@alibaba.ir> wrote in message news:hure3v\$...

Is it possible to have different send/receive patterns at different times?
Basically, here's what I want to happen. >From 8-5 or so, Outlook downloads my e-mail automatically with Send/Receive. At 5 or 5:30, when I leave the office, Outlook stops, and I can check my e-mail through our web interface. The simple approach is to just close Outlook, but I tend to forget to do that. So is there a way to set it, either with or without an add-in? Justin <jmeyer@incrementaladvantage.com> wrote: > Basically, here's what I want to happen. >> From 8-5 or so, Outlook downloads my e-mail automatically with > Send/Receive. At 5 or 5:30, when I le...

Insert calculated median field in pivottable
Anyone know how to get a median calculation in a pivot table? I've tried inserting a calculated field but it always sums the calculated field. Thanks, Joel Not supported in a pivot -- Regards, Peo Sjoblom (No private emails please) "Joel Schaefer" <joel@disintegrators.com> wrote in message news:ev4P0Nk6FHA.2616@TK2MSFTNGP15.phx.gbl... > Anyone know how to get a median calculation in a pivot table? I've tried > inserting a calculated field but it always sums the calculated field. > > Thanks, > > Joel > ...

Approving time sheets in Business Portal
A user is modifying a timesheet that was previously returned by a supervisor. The timesheet has a status of "Returned". The user corrects the information and when proceed to save the following message appears: Microsoft.Dynamics.Pma.Pma.Cost Category. [Cause] The entity, Timesheet, accessed by the user failed security validation. [Correction] The system should accept a query or update for the entity that the user has..(final part of message is not displayed). The timesheet was made using Business Portal 2.5. Great Plains version is 8.0 Any suggestion on the cause of this er...

Javascript help, calculation whoes when calculating from a calculation....
I am having a strange issue with Javascript and I cannot see what the issue us? Essentially I need to be able to calculate two values, one is addition and the second is multiplication. I am getting some strange numbers. My code is at the bottom under the ------, here are the details. crmForm.all.estimatedvalue.DataValue = 10 crmForm.all.new_cfp_estrev_nextyr.DataValue = 10 crmForm.all.new_cfp_estrev_yrtwoplus.DataValue = 10 This should make totalestrev = 30, Then its getting weird, I am taking the following formula (10/100)*30 = 270? Here 10 is the value selected from the drop down value, I ...

calculator errors
when i enter an equation into a cell such as: =product(a1,b1) into cell c1. If a1 is 1000 and b1 is .10 than c1 should equal 100, but it equals 102.04. My calculator is off somehow when i try to multiply. Please help me. Thank You, Kat I'd take a look at the values in A1 and B1. Are they really 1000 and .10 or are they 1000.49999 or .10444 (for example) "Kat and the Calculator" <KatandtheCalculator@discussions.microsoft.com> wrote in message news:591A3F6E-7C20-4C88-B1E2-6B76CFF502BA@microsoft.com... > when i enter an equation into a cell such as: =product(a...

Run time error with Find Box and automatic DOLE
I have a form for sorting through a catalog of samples. I made a find box on my form for the catalog number so records can be browsed more easily. I added the following code to the before update property of the form to fill the date in the DOLE field whenever the record is edited. Private Sub Form_BeforeUpdate(Cancel As Integer) If (IsNull(DOC)) Then DOC = Date DOLE = Date Else DOLE = Now End If End Sub If I switch records using the find box on my form after having changed something in the form I get a run time error. "Run-time error '-214...

Printing 2 documents at the same time from different trays
When sending letters to clients, I would like to be able to print a copy on headed and also a copy on plain paper for the file. Is there anyway I can create a setting for this? It would be fairly straightforward using a macro to select the trays and print the document, change trays and print it again. You will find code at http://www.gmayor.com/fax_from_word.htm that you can modify to achieve this. If you need any further help let us know. -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham M...

Calculating Employee hours for the current week
Hello, I am new to excel and have been assigned the task of creating a file that breaks down the amount of time each of our employees spends on different projects. Most importantly I want to create a rollup sheet that shows the total number of hours all the employees have spent on the different projects (there are 6) for the current week. Is there any way for excel to figure out the current week then add together the hours all the employees worked on these 6 projects? Thanks in advance. Hi, Take a look at the templates available from Microsoft at http://office.microsoft.com/en-us/template...