View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Multiplying time by cost

You have to convert the time to seconds:

=Time * 86400 * multiplier

A1 = 0:00:10
B1 = 10

=A1*86400*B1

Format as GENERAL or NUMBER

Result = 100

--
Biff
Microsoft Excel MVP


"kippers" wrote in message
...
Hi,

I am trying to calculate some activity costs and have some timings that I
want to multiply against some salary costs. The timings on the spreadsheet
are in the format [h]:mm:ss and the costs are per second (as I want to be
as
accurate as possible). However, when I multiply [h]:mm:ss by the cost per
second I get a weird answer. e.g.

0:00:30 * 0.50 = 0.25?

I suppose ideally I could do with coverting the [h]:mm:ss into seconds
only
(i.e. 0:01:30 would equal 5400)?? so that both data are in seconds??

Any ideas gratefully received!

Cheers,