Calculating Time
Firstly, you don't need the SUM function in =SUM($A$2-B7). If you want
$A$2-B7, use =$A$2-B7. You haven't told Excel anything to which you want
that summing.
Secondly, if you want to convert a number of minutes to an Excel time,
divide by 1440 (or divide by 60 and then by 24, or vice versa).
--
David Biddulph
Connie Martin wrote:
Believe me, I've searched Help, but I'm not finding my answer. In A2
I have a time, formatted as time, which is 8:30 AM. In B7 I have a
time, formatted as time, which is 8:00 AM. G7 is formatted h:mm, and
I have my formula there, which is =SUM($A$2-B7), which is working
properly. It gives me 0:30. Now's the problem. In C7 I have 30
(meaning 30 minutes). In D7, I have 120 (meaning 120 minutes). I
don't know how to format C7 and D7 to minutes. I want to also extend
the formula in G7 to not only calculate the difference in time
between A2 and B7, but to add the minutes in C7 and subtract the
minutes in D7. The formula in G7 should give -0:60.
Can anyone help? Connie
|