View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Nested Functions Help

Try it this way:

=IF(OR(G18=0,G188),0,8-G18)

Hope this helps.

Pete

On Oct 13, 4:46*pm, Swtmelly
wrote:
I have a time sheet calculating comp t time used if hours worked (G18) under
8 (based on time in and out)

=IF(G188,0,8-G18) *

If the employee doesn't work then I'm also getting answer '8'. *How can I
fix the formula so that if there are no times logged in or out I can get the
answer '0.00' or a blank cell?