Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Summing decimal values to time

I have a column of decimal values, A1 = 6, A2 = 1.30, A3 = .30 How do
I get the Total to sum with result of 8 hours and not 7.60?

All have is much appreciated

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,345
Default Summing decimal values to time

You would make your life a whole lot easier for yourself if you used XL
times like 1:30 instead of decimal numbers. You can then just SUM() the
times up as normal and it they are liable to sum to more then 24 hours,
custom format the SUM() cell as [h]:mm

if you already have the numbers entered and want to add them up as a one off
then use:

=INT(SUMPRODUCT(INT(A1:A200)+MOD(A1:A200,1)/0.6))+MOD(SUMPRODUCT(INT(A1:A200)+MOD(A1:A200,1)/0.6),1)*0.6

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Sunflower" wrote in message
ups.com...
I have a column of decimal values, A1 = 6, A2 = 1.30, A3 = .30 How do
I get the Total to sum with result of 8 hours and not 7.60?

All have is much appreciated



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,718
Default Summing decimal values to time

Try this:

=TIME(INT(SUM(A1:A3)),MOD(SUM(A1:A3),1)*100,0)*24

Format cells as General


"Sunflower" wrote:

I have a column of decimal values, A1 = 6, A2 = 1.30, A3 = .30 How do
I get the Total to sum with result of 8 hours and not 7.60?

All have is much appreciated


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Summing decimal values to time

Try that using these values:

1.59 = 1:59
0.30 = 0:30
3.35 = 3:35

Biff

"Teethless mama" wrote in message
...
Try this:

=TIME(INT(SUM(A1:A3)),MOD(SUM(A1:A3),1)*100,0)*24

Format cells as General


"Sunflower" wrote:

I have a column of decimal values, A1 = 6, A2 = 1.30, A3 = .30 How do
I get the Total to sum with result of 8 hours and not 7.60?

All have is much appreciated




  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Summing decimal values to time

That worked perfectly! Thanks so much!

On Apr 22, 4:20 pm, "Sandy Mann" wrote:
You would make your life a whole lot easier for yourself if you used XL
times like 1:30 instead of decimal numbers. You can then just SUM() the
times up as normal and it they are liable to sum to more then 24 hours,
custom format the SUM() cell as [h]:mm

if you already have the numbers entered and want to add them up as a one off
then use:

=INT(SUMPRODUCT(INT(A1:A200)+MOD(A1:A200,1)/0.6))+MOD(SUMPRODUCT(INT(A1:A20*0)+MOD(A1:A200,1)/0.6),1)*0.6

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk

"Sunflower" wrote in message

ups.com...



I have a column of decimal values, A1 = 6, A2 = 1.30, A3 = .30 How do
I get the Total to sum with result of 8 hours and not 7.60?


All have is much appreciated- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Summing decimal values to time

That worked as well, thank you!

On Apr 22, 8:20 pm, Teethless mama
wrote:
Try this:

=TIME(INT(SUM(A1:A3)),MOD(SUM(A1:A3),1)*100,0)*24

Format cells as General



"Sunflower" wrote:
I have a column of decimal values, A1 = 6, A2 = 1.30, A3 = .30 How do
I get the Total to sum with result of 8 hours and not 7.60?


All have is much appreciated- Hide quoted text -


- Show quoted text -



  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,345
Default Summing decimal values to time

You are very welcome. I would, however, still strongly recommend that you
convert to using real XL times, it will avoid many many problems. If you do
use XL times and you want to convert the times to decimal hours, (to
calculuate wages etc.), then as Teethless Mama did, multiply the time by 24
and you will get a number that can be used to multiply by the wage rate.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Sunflower" wrote in message
oups.com...
That worked perfectly! Thanks so much!

On Apr 22, 4:20 pm, "Sandy Mann" wrote:
You would make your life a whole lot easier for yourself if you used XL
times like 1:30 instead of decimal numbers. You can then just SUM() the
times up as normal and it they are liable to sum to more then 24 hours,
custom format the SUM() cell as [h]:mm

if you already have the numbers entered and want to add them up as a one
off
then use:

=INT(SUMPRODUCT(INT(A1:A200)+MOD(A1:A200,1)/0.6))+MOD(SUMPRODUCT(INT(A1:A20*0)+MOD(A1:A200,1)/0.6),1)*0.6

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk

"Sunflower" wrote in message

ups.com...



I have a column of decimal values, A1 = 6, A2 = 1.30, A3 = .30 How do
I get the Total to sum with result of 8 hours and not 7.60?


All have is much appreciated- Hide quoted text -


- Show quoted text -




  #8   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Summing decimal values to time

I will convert as you suggested :)
Thanks for all your help

On Apr 24, 1:39 am, "Sandy Mann" wrote:
You are very welcome. I would, however, still strongly recommend that you
convert to using real XL times, it will avoid many many problems. If you do
use XL times and you want to convert the times to decimal hours, (to
calculuate wages etc.), then as Teethless Mama did, multiply the time by 24
and you will get a number that can be used to multiply by the wage rate.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk

"Sunflower" wrote in message

oups.com...
That worked perfectly! Thanks so much!

On Apr 22, 4:20 pm, "Sandy Mann" wrote:



You would make your life a whole lot easier for yourself if you used XL
times like 1:30 instead of decimal numbers. You can then just SUM() the
times up as normal and it they are liable to sum to more then 24 hours,
custom format the SUM() cell as [h]:mm


if you already have the numbers entered and want to add them up as a one
off
then use:


=INT(SUMPRODUCT(INT(A1:A200)+MOD(A1:A200,1)/0.6))+MOD(SUMPRODUCT(INT(A1:A20**0)+MOD(A1:A200,1)/0.6),1)*0.6


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



with @tiscali.co.uk


"Sunflower" wrote in message


oups.com...


I have a column of decimal values, A1 = 6, A2 = 1.30, A3 = .30 How do
I get the Total to sum with result of 8 hours and not 7.60?


All have is much appreciated- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



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
Need help summing time ascottbag-hcm Excel Worksheet Functions 6 September 17th 08 11:17 PM
summing values in one row based on values in another row Bert Excel Worksheet Functions 6 June 26th 06 09:43 PM
Converting decimal time to standard time? mpendleton Excel Discussion (Misc queries) 4 May 12th 06 10:07 PM
SUBTRACTING TIME VALUES INSTEAD OF DECIMAL!! Lexicon Excel Discussion (Misc queries) 8 April 19th 05 08:06 PM
searching for values and summing the corresponding values Simon Excel Worksheet Functions 1 February 4th 05 12:13 AM


All times are GMT +1. The time now is 05:59 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"