Hi there,
I a trying to add some time totals using sumif. The formula is as follows:
=SUMIFS('SheetA'!$H$14:$H$143,'Sheet B'!H$14:H$143,"TRUE")
Sheet A's reference is looking at a column that works out the time difference between two columns. The two columns are set as hh:mm. The time difference column in the formula is hh:mm.
The formula is working well and is only adding the values I want added. However I cannot get the cell formatting correct. When I try [hh]:mm I get values that are way too big (by about 100 times!). If I try hh:mm I get stupidly small values.
So one example is:
One cell is looking to add the following times hh:mm:
[TABLE="width: 81"]
<tbody>[TR]
[TD]02:28[/TD]
[/TR]
[TR]
[TD]02:26[/TD]
[/TR]
[TR]
[TD]02:00[/TD]
[/TR]
[TR]
[TD]01:10[/TD]
[/TR]
[TR]
[TD]03:28[/TD]
[/TR]
[TR]
[TD]01:39[/TD]
[/TR]
[TR]
[TD]01:40[/TD]
[/TR]
[TR]
[TD]01:11[/TD]
[/TR]
[TR]
[TD]01:25[/TD]
[/TR]
[TR]
[TD]02:26[/TD]
[/TR]
</tbody>[/TABLE]
The formula is spitting out 259:35 when formatted is [hh]:mm and 19:35 when formatted as hh:mm
I have now completely confused myself and don't even know what the right answer should be!
Thanks,
Claire
I a trying to add some time totals using sumif. The formula is as follows:
=SUMIFS('SheetA'!$H$14:$H$143,'Sheet B'!H$14:H$143,"TRUE")
Sheet A's reference is looking at a column that works out the time difference between two columns. The two columns are set as hh:mm. The time difference column in the formula is hh:mm.
The formula is working well and is only adding the values I want added. However I cannot get the cell formatting correct. When I try [hh]:mm I get values that are way too big (by about 100 times!). If I try hh:mm I get stupidly small values.
So one example is:
One cell is looking to add the following times hh:mm:
[TABLE="width: 81"]
<tbody>[TR]
[TD]02:28[/TD]
[/TR]
[TR]
[TD]02:26[/TD]
[/TR]
[TR]
[TD]02:00[/TD]
[/TR]
[TR]
[TD]01:10[/TD]
[/TR]
[TR]
[TD]03:28[/TD]
[/TR]
[TR]
[TD]01:39[/TD]
[/TR]
[TR]
[TD]01:40[/TD]
[/TR]
[TR]
[TD]01:11[/TD]
[/TR]
[TR]
[TD]01:25[/TD]
[/TR]
[TR]
[TD]02:26[/TD]
[/TR]
</tbody>[/TABLE]
The formula is spitting out 259:35 when formatted is [hh]:mm and 19:35 when formatted as hh:mm
I have now completely confused myself and don't even know what the right answer should be!
Thanks,
Claire
Last edited: