Thread: Excel formula
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Excel formula

Try this:

=IF(Pay1+Pay21300,1300-Pay1,Pay2)

--
Biff
Microsoft Excel MVP


"Arlene" wrote in message
...
I am looking for a payroll formula. The formula will combine data from two
separate pay periods.
For each day worked, employee receives $65 not to exceed $1,300 in total
from two pays.
Example:
Payroll 1, employee works 12 days and receives $780.00 ($65 x 12)
Payroll 2, employee works 12 days, this works out to $780, but exceeds the
maximum $1300 payment allowed.
ie: The second pay needs a result of either the actual calculation if the
total of 2 pays is 1300 or less or a calculation of 1300 less 780,
indicating
the actual payment allowed, ie: $520