Adding cells

  • Thread starter Thread starter David
  • Start date Start date
D

David

In a spread sheet I have a group of cells, b4 thru b34 that represent
minutes but are entered as single digits. Example - b4 = 35, b5 = 15,
b6 = 55 and so on.
The entry cells are formatted as custom - 00. That way if I have an
entry of 5 or 0 it will read 05 or 00.
I need a formula that will give me the total of all these cells and
convert it into minutes.
If I have a total of 285 it should read 45 as in :45. I have tried
sum(b4:b34)/60 but it doesnt work on any formats.

What would be a good solution if there is one.
Thanks for any help.
 
David,

Format your cell for time, and use the formula

=SUM(B4:B34)/1440

1440 is the number of minutes in one day (24 hours * 60 minutes/hour). Excel
treats one day as 1, so that is the conversion.

HTH,
Bernie
MS Excel MVP
 
Thanks, it was close. I got the a result of 5:35 after totaling the
cells and setting the format to time but I need the 5 removed. Only need
it to read :35.


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
That did it, thanks again. If you would like I will send the spreadsheet
so you can see what I was getting at.
It might be a good sample for others to use. I was trying to stay away
from the time formats and make it easier for people to enter times
without using the " : ".
Just need an address.


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Dave,

That really isn't necessary - I usually make my own spreadsheets.

Thanks anyway,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top