LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Calculating with 2 different formats

I have 2 fields that I am trying to do calculations with.
The one field has a format of time ([h]:mm) and the other is number (value
represents kilograms).
I am trying to do a calculation where the kg/hour needs to be calculated.
But my answer always comes out wrong.
It seems as though the time format saves the numerical value differently.
Example:
Time begin - 08:00
Time ended - 12:00
I did a calc for the difference and got 4:00 which is fine.
This difference is now multiplied by the amount of people that worked that
shift i.e. 4.
I then get the answer 16, which is also fine.
Now I need to calc the kilograms per hour.
Say for instance the kg is 300kg, the calc should get an answer of 18.75.
However I get the answer as 450 which is obviously way out.
when I convert the 16 hours worked in total to number format, instead of
giving me 16, I get 0.67.
What must I do to overcome this?
 
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
Copying formats - column widths, formats, outlining to worksheets DavidBr318 Excel Worksheet Functions 4 August 14th 09 05:03 AM
Conditional formats- paste special formats? jcarney Excel Discussion (Misc queries) 1 November 1st 07 06:37 PM
paste conditional formats as formats leo Excel Discussion (Misc queries) 2 July 5th 07 10:06 AM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM
$ Formats James Excel Discussion (Misc queries) 2 March 31st 05 03:18 AM


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