LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Calculating Previous Pay Dates

Here are slightly shorter versions of the previous formulas

=--(TEXT(MONTH(NOW()),"mmm")&IF(DAY(A1)<=15,1,15))
and
=IF(DAY(A1)15,EOMONTH(NOW(),0),--(TEXT(MONTH(NOW()),"mmm")&15))

The EOMONTH is part of the ATP in Excel <=2003 so you may need to attach it-
Tools, Add-ins, and check the Analysis ToolPak

--
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!

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculating values where it depends on the value of a previous cel DavidF Excel Discussion (Misc queries) 2 October 27th 08 05:46 PM
Working with dates previous 1900 MaR Excel Discussion (Misc queries) 2 January 31st 07 05:56 PM
Count dates for previous month [email protected] Excel Worksheet Functions 3 April 30th 06 08:40 PM
Calculating monthly totals for current and previous year Pieman New Users to Excel 1 February 26th 06 12:43 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM


All times are GMT +1. The time now is 06:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"