Hide Cell value

jonjon_01

New Member
Joined
Oct 31, 2005
Messages
17
Morning all,

Yet another question for the Excel gurus. :p

I'm building a spreadsheet that would give me the hours used by a person. Basically, it's a maintenance log and I would like to keep track of the time it took to fix the equipment.

So I have the formula calculate the sum of "=SUM(H5-E5)" which gives me the hour and minutes worked.

So I have the sheet calculate the sum of the hours used as "=SUM(I5:I34)"

Everything works well, but I would like the formula to skip over anything with no data in it. An example for the situation is that I have the time an issue was noticed but not the time the issue was fixed which gives me a "#VALUE!". This causes the formula to not function properly. I would like the cell to be skipped until I can get the data to input into the missing cell.

Please help.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi,

If E5 houses issue noticed time and H5 houses issue fixed time, this formula should be helpful...

=if(or(E5="",H5=""),"",H5-E5)

Hope this helps...
 
Upvote 0
Should your first formula be =Sum(E5:H5)?

Perhaps, you can avoid the error reply by placing an error-handling argument such as: =IF(SUM(E5:H5)=FALSE,0,SUM(E5:H5))

Then the second formula should work properly.
 
Upvote 0

Forum statistics

Threads
1,203,581
Messages
6,056,180
Members
444,850
Latest member
dancasta7

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top