Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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 - |
#8
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help summing time | Excel Worksheet Functions | |||
summing values in one row based on values in another row | Excel Worksheet Functions | |||
Converting decimal time to standard time? | Excel Discussion (Misc queries) | |||
SUBTRACTING TIME VALUES INSTEAD OF DECIMAL!! | Excel Discussion (Misc queries) | |||
searching for values and summing the corresponding values | Excel Worksheet Functions |