Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Paul (ESI)
 
Posts: n/a
Default 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 future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor

  #2   Report Post  
traineeross
 
Posts: n/a
Default

Instead of 5:23 and 3:55

write 00:05:23 and the same for 00:03:55

HTH

"Paul (ESI)" wrote:

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 future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor

  #3   Report Post  
Paul (ESI)
 
Posts: n/a
Default

Awesome! Thanks, that works. You know something? I feel silly now, though. I
didn't even bother to try first, I just assumed it would need some kind of
formula to understand time. I found out, though, if I just type it in some
kind of time format, Excell calculates it as time. It even worked when I just
typed in 5:23 and 3:55.

--
Have a nice day!

~Paul
Express Scripts,
Charting the future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor



"traineeross" wrote:

Instead of 5:23 and 3:55

write 00:05:23 and the same for 00:03:55

HTH

"Paul (ESI)" wrote:

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 future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor

  #4   Report Post  
Paul (ESI)
 
Posts: n/a
Default

Oops. Nevermind, I spoke to soon. Unless I enter it the way you said, it
takes it as hours and minutes instead of minutes and seconds. So, I have to
enter it the way you said or it won't work.

--
Have a nice day!

~Paul
Express Scripts,
Charting the future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor



"Paul (ESI)" wrote:

Awesome! Thanks, that works. You know something? I feel silly now, though. I
didn't even bother to try first, I just assumed it would need some kind of
formula to understand time. I found out, though, if I just type it in some
kind of time format, Excell calculates it as time. It even worked when I just
typed in 5:23 and 3:55.

--
Have a nice day!

~Paul
Express Scripts,
Charting the future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor



"traineeross" wrote:

Instead of 5:23 and 3:55

write 00:05:23 and the same for 00:03:55

HTH

"Paul (ESI)" wrote:

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 future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor

  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 12 Aug 2005 07:01:05 -0700, "Paul (ESI)"
wrote:

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!


Not sure what your problem is. Did you try it?

If I put

A1: 5:23
A2: 3:55
A3: =A1+A2 =9:18

Of course, Excel is interpreting this as 9 hrs 18 min and not 9min 18sec; but
all you have to do is divide by 60, it it's important.

In the first case, format the result as [h]:mm
If you divide by 60, format as either [m]:ss or [h]:mm:ss depending on how you
want your output.


--ron


  #6   Report Post  
Voodoodan
 
Posts: n/a
Default


Unfortunately, the following is only helpful if you don't mind putting
the hours and minutes in separate cells.

If this is ok then you could use these formulas to total:

HOURS
=INT((SUM(-[range of hour column]-)*60+SUM(-[range of minute
column]-))/60)


MINUTES
=SUM(-[range of hour column]-)*60+SUM(-[range of minute
column]-)-(-[cell where hours formula, shown above, is located]-*60)

Dan


--
Voodoodan
------------------------------------------------------------------------
Voodoodan's Profile: http://www.excelforum.com/member.php...nfo&userid=597
View this thread: http://www.excelforum.com/showthread...hreadid=395311

  #7   Report Post  
Paul (ESI)
 
Posts: n/a
Default

"Ron Rosenfeld" wrote:

Of course, Excel is interpreting this as 9 hrs 18 min and not 9min 18sec; but
all you have to do is divide by 60, it it's important.


Yeah, it worked okay except for that. All I had to do was enter in the full
time (including 0 hours) the way traineeross said and it worked fine. Thanks
for your suggestion as well, Voodoodan. That actually probably will come in
handy for a future project, where it will be more beneficial for me to use
your suggestion instead.

--
Have a nice day!

~Paul
Express Scripts,
Charting the future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor



"Voodoodan" wrote:


Unfortunately, the following is only helpful if you don't mind putting
the hours and minutes in separate cells.

If this is ok then you could use these formulas to total:

HOURS
=INT((SUM(-[range of hour column]-)*60+SUM(-[range of minute
column]-))/60)


MINUTES
=SUM(-[range of hour column]-)*60+SUM(-[range of minute
column]-)-(-[cell where hours formula, shown above, is located]-*60)

Dan


--
Voodoodan
------------------------------------------------------------------------
Voodoodan's Profile: http://www.excelforum.com/member.php...nfo&userid=597
View this thread: http://www.excelforum.com/showthread...hreadid=395311


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
HOW DO I CALCULATE TIME IN A TIME SHEET FOR EXCEL RAFAEL New Users to Excel 1 June 26th 05 11:32 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
calculate negative or positve difference in time kpmoore Excel Discussion (Misc queries) 2 January 5th 05 01:35 AM
Formula to calculate only the negative numbers Dawn Boot-Bunston Excel Worksheet Functions 5 November 24th 04 09:57 PM


All times are GMT +1. The time now is 08:55 AM.

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"