View Single Post
  #1  
Old January 27th, 2010, 07:34 PM posted to microsoft.public.excel.worksheet.functions
--Viewpoint
external usenet poster
 
Posts: 23
Default Time Calculation and formulas needed (2 questions)

#1
I'm creating a time sheet and set it up for time in and out to have separate
cells using the h:mm AM/PM format. In a separate cell I have amount of time
taken ro lunch. The cell for entering the calculation is set up to convert
to decimal format rather than time.

I do not know how to complete the following formula so that it recognizes 5
hours:

=IF(F10-E105 hours, F10-E10-A10, F10-E10)*24

Goal: I want to subtract lunch time if I work over 5 hours, otherwise Iwant
to know the hours worked if under 5 hours)

#2 I think I need an array formula (within one cell):
If cell I100, V, ""
If cell J100, S, ""
If cell K100, P, ""