View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default Calculating Previous Pay Dates

How are you wanting to handle hire dates of 7th or 18th for example?

If I guess what you want - Suppose A1 is the start date

=DATE(YEAR(NOW()),MONTH(NOW()),IF(DAY(A1)<=15,1,15 ))
find one of the dates
=IF(DAY(A1)15,EOMONTH(NOW(),0),DATE(YEAR(NOW()),M ONTH(NOW()),15))
finds the other

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"NFL" wrote:

I have a cell reference that has a begining date (for example Apr 1, 1994)
and payments should have been made on the 1st and 15 of the month every month
up to the present. Is there a way a formula that can be written that way?

I also need a similar formula, but the start date would be the 15th of the
month. These payments will be made on the 15th and the end of the month.
The end of the month could be 30, 31, 28, or 29 (depending on leap year).

With this formula, we could gather totals on the other column to check to
see when payments were made and keep a running total.

Thank you for your help!