Allen_Mead
New Member
- Joined
- May 31, 2019
- Messages
- 36
- Office Version
- 365
- Platform
- Windows
Hi,
I've trawled through the forum to see if I can find an answer on this but most apply to VLOOKUP which is not appropriate in my case.
I have the following table where I want to add up the number of hours spent on each task, but, if there are no hours, I don't want a 0 in the total column
[TABLE="width: 500"]
<tbody>[TR]
[TD]Task[/TD]
[TD]Mon[/TD]
[TD]Tues[/TD]
[TD]Wed[/TD]
[TD]Thurs[/TD]
[TD]Fri[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have to following formula in the total column
=IFERROR(SUM(D7:H7),"")
Which works just fine but leaves a 0 which to my mind shouldn't
Some help would be much appreciated!
I've trawled through the forum to see if I can find an answer on this but most apply to VLOOKUP which is not appropriate in my case.
I have the following table where I want to add up the number of hours spent on each task, but, if there are no hours, I don't want a 0 in the total column
[TABLE="width: 500"]
<tbody>[TR]
[TD]Task[/TD]
[TD]Mon[/TD]
[TD]Tues[/TD]
[TD]Wed[/TD]
[TD]Thurs[/TD]
[TD]Fri[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have to following formula in the total column
=IFERROR(SUM(D7:H7),"")
Which works just fine but leaves a 0 which to my mind shouldn't
Some help would be much appreciated!