Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Patrick
 
Posts: n/a
Default Adding hours and minutes

I want to add hours and minutes in Excel but want the result to be displayed
as hours and minutes. not in decimal form. In other words, if I have Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23 hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to just
keep increasing in the 15 minute increments I need to use, changing the total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be

displayed
as hours and minutes. not in decimal form. In other words, if I have

Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23

hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all

over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to

just
keep increasing in the 15 minute increments I need to use, changing the

total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!



  #3   Report Post  
Patrick
 
Posts: n/a
Default

Bob, the format is fine. It's just that when you get to 24:00 it switches
back to 0:00. I need it to keep adding all the way up to 70:00.

Patrick

"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be

displayed
as hours and minutes. not in decimal form. In other words, if I have

Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23

hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all

over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to

just
keep increasing in the 15 minute increments I need to use, changing the

total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!




  #4   Report Post  
tjtjjtjt
 
Posts: n/a
Default

Putting the braces around the hours will make the time go passed 23:59. So,
change your format to:
[hh]:mm

tj

"Patrick" wrote:

Bob, the format is fine. It's just that when you get to 24:00 it switches
back to 0:00. I need it to keep adding all the way up to 70:00.

Patrick

"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be

displayed
as hours and minutes. not in decimal form. In other words, if I have

Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23

hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all

over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to

just
keep increasing in the 15 minute increments I need to use, changing the

total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!




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

On Sun, 9 Jan 2005 12:21:03 -0800, "Patrick"
wrote:

Bob, the format is fine. It's just that when you get to 24:00 it switches
back to 0:00. I need it to keep adding all the way up to 70:00.

Patrick

"Bob Phillips" wrote:

Just format the total cell as [hh]:mm


Patrick,

Reread Bob's answer and note the brackets around the h in the format he
recommended.

The behavior you describe is seen when you do NOT format it as Bob recommended.

In other words:

h:mm rolls over at 24
[h]:mm does NOT roll over at 24


--ron


  #6   Report Post  
Patrick
 
Posts: n/a
Default

Hey! Just like Bob said! Thank you both so much! The brackets made all the
difference. I've been working on this for days. So glad to have found you.
Thanks again Bob and "tjtjjtjt!"

"tjtjjtjt" wrote:

Putting the braces around the hours will make the time go passed 23:59. So,
change your format to:
[hh]:mm

tj

"Patrick" wrote:

Bob, the format is fine. It's just that when you get to 24:00 it switches
back to 0:00. I need it to keep adding all the way up to 70:00.

Patrick

"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be
displayed
as hours and minutes. not in decimal form. In other words, if I have
Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23
hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all
over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to
just
keep increasing in the 15 minute increments I need to use, changing the
total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!



  #7   Report Post  
Patrick
 
Posts: n/a
Default

Thanks Ron,

I already wrote back after it was pointed out that the brackets had to be
inserted. Works great now!

Patrick

"Ron Rosenfeld" wrote:

On Sun, 9 Jan 2005 12:21:03 -0800, "Patrick"
wrote:

Bob, the format is fine. It's just that when you get to 24:00 it switches
back to 0:00. I need it to keep adding all the way up to 70:00.

Patrick

"Bob Phillips" wrote:

Just format the total cell as [hh]:mm


Patrick,

Reread Bob's answer and note the brackets around the h in the format he
recommended.

The behavior you describe is seen when you do NOT format it as Bob recommended.

In other words:

h:mm rolls over at 24
[h]:mm does NOT roll over at 24


--ron

  #8   Report Post  
tjtjjtjt
 
Posts: n/a
Default

Happy to help. Thank you for the feedback.

tj

"Patrick" wrote:

Hey! Just like Bob said! Thank you both so much! The brackets made all the
difference. I've been working on this for days. So glad to have found you.
Thanks again Bob and "tjtjjtjt!"

"tjtjjtjt" wrote:

Putting the braces around the hours will make the time go passed 23:59. So,
change your format to:
[hh]:mm

tj

"Patrick" wrote:

Bob, the format is fine. It's just that when you get to 24:00 it switches
back to 0:00. I need it to keep adding all the way up to 70:00.

Patrick

"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be
displayed
as hours and minutes. not in decimal form. In other words, if I have
Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23
hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all
over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to
just
keep increasing in the 15 minute increments I need to use, changing the
total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!



  #9   Report Post  
Sharmila
 
Posts: n/a
Default

I have to calculate the hours for my employees per week and i wanted to get
some help on this particular subject.
can u show me step by step how to calculate the total amount of hours worked
and the total hours for the week?
i am quite new to the hour formula and i need some assistance , is there
anyone who can help me?
pls use the following eg. in your explanation
John Smith
time in - 9am
time out- 12:30pm* (*this is lunch break)
time in -1pm
time out -4:30 pm
best regards
sharmila

"Patrick" wrote:

I want to add hours and minutes in Excel but want the result to be displayed
as hours and minutes. not in decimal form. In other words, if I have Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23 hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to just
keep increasing in the 15 minute increments I need to use, changing the total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!

  #10   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=A5-A2-(A4-A3)

meaning

End-Start-(LunchIn-LunchOut)

format result as hh:mm


--

Regards,

Peo Sjoblom

"Sharmila" wrote in message
...
I have to calculate the hours for my employees per week and i wanted to

get
some help on this particular subject.
can u show me step by step how to calculate the total amount of hours

worked
and the total hours for the week?
i am quite new to the hour formula and i need some assistance , is there
anyone who can help me?
pls use the following eg. in your explanation
John Smith
time in - 9am
time out- 12:30pm* (*this is lunch break)
time in -1pm
time out -4:30 pm
best regards
sharmila

"Patrick" wrote:

I want to add hours and minutes in Excel but want the result to be

displayed
as hours and minutes. not in decimal form. In other words, if I have

Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23

hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all

over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to

just
keep increasing in the 15 minute increments I need to use, changing the

total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!





  #11   Report Post  
Steve Walton
 
Posts: n/a
Default

On Wed, 2 Mar 2005 08:48:47 -0700, "Peo Sjoblom"
wrote:

=A5-A2-(A4-A3)

meaning

End-Start-(LunchIn-LunchOut)

format result as hh:mm


or [hh]:mm if you want to see total hours over 24
ie weekly total 38:45


Steve
  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Adding hours and minutes

Hi Bob, I too am trying to add a column of Hours and minutes (HHH:MM). The
total will be several hundred or even thousands of hours. I have tried every
suggested found out here and the best I get is a 00:00 total. Please show me
the formula one step at a time. Thank you in Advance... Maggie
--
Guru Wannabe


"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be

displayed
as hours and minutes. not in decimal form. In other words, if I have

Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23

hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts all

over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it hits
24:00. I am just trying to find a way to tell it NOT to do that and to

just
keep increasing in the 15 minute increments I need to use, changing the

total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!




  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Adding hours and minutes

Have you done as Bob suggested and formatted the total cell as [hh]:mm ?
If so, what formula are you using, what data values, and what value do you
see if you temporarily change the total call's format to Number rather than
your Custom [hh]:mm ?
If you are seeing zero at that stage, then it looks as if your data cells
probably contain text, rather than real times.
--
David Biddulph

"Maggie" wrote in message
...
Hi Bob, I too am trying to add a column of Hours and minutes (HHH:MM). The
total will be several hundred or even thousands of hours. I have tried
every
suggested found out here and the best I get is a 00:00 total. Please show
me
the formula one step at a time. Thank you in Advance... Maggie
--
Guru Wannabe


"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be

displayed
as hours and minutes. not in decimal form. In other words, if I have

Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23

hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts
all

over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it
hits
24:00. I am just trying to find a way to tell it NOT to do that and to

just
keep increasing in the 15 minute increments I need to use, changing the

total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!






  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Adding hours and minutes

Use a custom format of [H]:mm, if it is equal or greater than 10,000 you
would need to use
decimal hours


--


Regards,


Peo Sjoblom


"Maggie" wrote in message
...
Hi Bob, I too am trying to add a column of Hours and minutes (HHH:MM). The
total will be several hundred or even thousands of hours. I have tried
every
suggested found out here and the best I get is a 00:00 total. Please show
me
the formula one step at a time. Thank you in Advance... Maggie
--
Guru Wannabe


"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be

displayed
as hours and minutes. not in decimal form. In other words, if I have

Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23

hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts
all

over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it
hits
24:00. I am just trying to find a way to tell it NOT to do that and to

just
keep increasing in the 15 minute increments I need to use, changing the

total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!






  #15   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Adding hours and minutes

Thanks David for getting back to me...
This file was converted to an excel file and yes, Im sure the data was
formatted as Text. If I convert the file again should I set the format to
'General' 'Number'?
As far as the formula it is Example: sum=(I1:I267)*24, as I said the number
of hours could be in the thousands.
The total cell was formatted to [hh]:mm
If this gives you any ideas please be specific and spell it out for this
'wannabe'
thanks
Maggie
--
Guru Wannabe


"David Biddulph" wrote:

Have you done as Bob suggested and formatted the total cell as [hh]:mm ?
If so, what formula are you using, what data values, and what value do you
see if you temporarily change the total call's format to Number rather than
your Custom [hh]:mm ?
If you are seeing zero at that stage, then it looks as if your data cells
probably contain text, rather than real times.
--
David Biddulph

"Maggie" wrote in message
...
Hi Bob, I too am trying to add a column of Hours and minutes (HHH:MM). The
total will be several hundred or even thousands of hours. I have tried
every
suggested found out here and the best I get is a 00:00 total. Please show
me
the formula one step at a time. Thank you in Advance... Maggie
--
Guru Wannabe


"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be
displayed
as hours and minutes. not in decimal form. In other words, if I have
Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23
hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts
all
over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it
hits
24:00. I am just trying to find a way to tell it NOT to do that and to
just
keep increasing in the 15 minute increments I need to use, changing the
total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!








  #16   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Adding hours and minutes

Hi Peo, I have formatted the total cell as [h]:mm, I tested the formula and
did get a total, its incorrect but at least I got something other than 00:00.
The total of all the hours will be over 10,000, so now comes the next
question how do I convert to decimal in Excel? I know you are answering many
questions and I thank you for taking time with me. I need to see an example
of the formula if you would.
Thanks Maggie
--
Guru Wannabe


"Peo Sjoblom" wrote:

Use a custom format of [H]:mm, if it is equal or greater than 10,000 you
would need to use
decimal hours


--


Regards,


Peo Sjoblom


"Maggie" wrote in message
...
Hi Bob, I too am trying to add a column of Hours and minutes (HHH:MM). The
total will be several hundred or even thousands of hours. I have tried
every
suggested found out here and the best I get is a 00:00 total. Please show
me
the formula one step at a time. Thank you in Advance... Maggie
--
Guru Wannabe


"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be
displayed
as hours and minutes. not in decimal form. In other words, if I have
Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15 minute
increments. I run into the expected problem when I get beyond 23:45 (23
hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts
all
over
again and gives me 0:00. I do understand that Excel sees these type of
entries (17:30) as time and that is why it switches to 0:00 when it
hits
24:00. I am just trying to find a way to tell it NOT to do that and to
just
keep increasing in the 15 minute increments I need to use, changing the
total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!






  #17   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Adding hours and minutes

Are you sure that you wanted to multiply by 24?
That sounds more like a conversion to decimal hours (which you'd format as
Number or General, rather than as time).
--
David Biddulph

"Maggie" wrote in message
...
Thanks David for getting back to me...
This file was converted to an excel file and yes, Im sure the data was
formatted as Text. If I convert the file again should I set the format to
'General' 'Number'?
As far as the formula it is Example: sum=(I1:I267)*24, as I said the
number
of hours could be in the thousands.
The total cell was formatted to [hh]:mm
If this gives you any ideas please be specific and spell it out for this
'wannabe'
thanks
Maggie
--
Guru Wannabe


"David Biddulph" wrote:

Have you done as Bob suggested and formatted the total cell as [hh]:mm ?
If so, what formula are you using, what data values, and what value do
you
see if you temporarily change the total call's format to Number rather
than
your Custom [hh]:mm ?
If you are seeing zero at that stage, then it looks as if your data cells
probably contain text, rather than real times.
--
David Biddulph

"Maggie" wrote in message
...
Hi Bob, I too am trying to add a column of Hours and minutes (HHH:MM).
The
total will be several hundred or even thousands of hours. I have tried
every
suggested found out here and the best I get is a 00:00 total. Please
show
me
the formula one step at a time. Thank you in Advance... Maggie
--
Guru Wannabe


"Bob Phillips" wrote:

Just format the total cell as [hh]:mm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Patrick" wrote in message
...
I want to add hours and minutes in Excel but want the result to be
displayed
as hours and minutes. not in decimal form. In other words, if I
have
Excel
add 17:30 +17:30+17:30+17:30 I want the total to come out to 70:00,
representing 70 hours and 0 minutes. I am increasing time in 15
minute
increments. I run into the expected problem when I get beyond 23:45
(23
hours
and 59) minutes. Then Excel, seeing this as time (mindnight) starts
all
over
again and gives me 0:00. I do understand that Excel sees these type
of
entries (17:30) as time and that is why it switches to 0:00 when it
hits
24:00. I am just trying to find a way to tell it NOT to do that and
to
just
keep increasing in the 15 minute increments I need to use, changing
the
total
hours by 1 whenever the minutes reach :60.

Many thanks in advance for any suggestions!








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
Adding minutes to time Randberger Excel Discussion (Misc queries) 4 January 19th 05 08:49 PM
add column of minutes, show total in hours & minutes glider pilot Excel Worksheet Functions 1 December 30th 04 10:27 PM
How do I convert times from hours to minutes? kkrebs Excel Discussion (Misc queries) 5 December 30th 04 06:13 PM
calculate average hours and minutes llstephens Excel Worksheet Functions 4 November 30th 04 03:47 PM
adding hours and minutes Tricia New Users to Excel 2 November 27th 04 12:29 AM


All times are GMT +1. The time now is 09:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"