View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.newusers
Kassie
 
Posts: n/a
Default Is there something like an "If, then" formula?

The simplest way would be to add 2 columns, normal time and overtime. If
straight time is in F2, then in say G2 enter =IF(F2<=40,F2,IF(F240,40,""))
and in H2 enter =IF(F2="","",IF(F2<=40,0,F2-40))

"~working mom~" wrote:

I am trying to set up a time card that I downloaded from the templates page
on MS. I like the format of the one that I have, but this is what I want it
to do:

Currently it is set up to calculate time for the week as streight time, i.e.
56.4 hours for the week.

What I would like it to do is when the total number of hours reaches 40,
then anything over that goes into another cell for the number of over-time
hours.

Is there a formula that anyone knows that I can use for this, or a function?