dellehurley
Board Regular
- Joined
- Sep 26, 2009
- Messages
- 171
- Office Version
- 365
- Platform
- Windows
I am using Mac Excel 2008
[TABLE="class: grid, width: 1"]
<tbody>[TR]
[TD][/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]7:36[/TD]
[TD]p[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]0:00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]7:36[/TD]
[TD]p[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]7:36[/TD]
[TD]a[/TD]
[/TR]
</tbody>[/TABLE]
I am using this formula. I want to add the times which have a P in the corresponding column.
=SUMIFS(H15:H28,I15:I28,"p")
but if come back as 0 even thought the times should add up to something else.
Ideally I would like to leave the cell blank if it is 0 rather than 0:00 however I am trying everything I can think of which might fix this.
I have tried SUMIF too. And I have used a cell reference instead of "p" too. Nothing has worked.
I am sure I'm missing something really obvious but I just can't see it!
Thanks for your help.
[TABLE="class: grid, width: 1"]
<tbody>[TR]
[TD][/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]7:36[/TD]
[TD]p[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]0:00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]7:36[/TD]
[TD]p[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]7:36[/TD]
[TD]a[/TD]
[/TR]
</tbody>[/TABLE]
I am using this formula. I want to add the times which have a P in the corresponding column.
=SUMIFS(H15:H28,I15:I28,"p")
but if come back as 0 even thought the times should add up to something else.
Ideally I would like to leave the cell blank if it is 0 rather than 0:00 however I am trying everything I can think of which might fix this.
I have tried SUMIF too. And I have used a cell reference instead of "p" too. Nothing has worked.
I am sure I'm missing something really obvious but I just can't see it!
Thanks for your help.