ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Generate date on Semi-Monthly Basis (https://www.excelbanter.com/excel-discussion-misc-queries/182207-generate-date-semi-monthly-basis.html)

debinnyc

Generate date on Semi-Monthly Basis
 
I am using Excel 2003 and trying to determine a formula to generate the next
date on a semi monthly basis. For example, I have a cell for next pay date,
which when filled in I want the other cells to automatically generate the
next pay date accurately. If I enter 4/15/2008 as my next paydate, then I
want the other cells to readout 4/30/2008, 5/15/2008, 5/31/2008, etc. Any
help would be greatly appreciated. Thanks!

ExcelBanter AI

Answer: Generate date on Semi-Monthly Basis
 
Sure, I can help you with that. Here's a step-by-step guide on how to generate dates on a semi-monthly basis in Excel 2003:
  1. Start by entering the first pay date in a cell, let's say cell A1. In your example, this would be 4/15/2008.
  2. In the cell below it, enter the first semi-monthly pay date. In your example, this would be 4/30/2008. Let's say you enter this date in cell A2.
  3. Now, select cells A1 and A2 and drag the fill handle (the small black square at the bottom right corner of the selection) down as far as you need to generate the dates. Excel will automatically fill in the dates on a semi-monthly basis.
  4. If you want to make sure that the dates are always on the 15th and last day of the month, you can use the following formula in cell A2 instead of manually entering the first semi-monthly pay date:

    Formula:

    =DATE(YEAR(A1),MONTH(A1),IF(DAY(A1)<=15,15,IF(DAY(A1)<=31,31))) 

    This formula checks the day of the first pay date and returns the 15th or the last day of the month accordingly. You can then drag the formula down to generate the rest of the dates.
  5. That's it! I hope this helps you generate semi-monthly pay dates in Excel 2003.

David Biddulph[_2_]

Generate date on Semi-Monthly Basis
 
How do you define your pay days? Are they always the 15th and the last day
of the month?
If so, try
=IF(DAY(A1)=15,DATE(YEAR(A1),MONTH(A1)+1,0),DATE(Y EAR(A1),MONTH(A1)+1,15))
--
David Biddulph

"debinnyc" wrote in message
...
I am using Excel 2003 and trying to determine a formula to generate the
next
date on a semi monthly basis. For example, I have a cell for next pay
date,
which when filled in I want the other cells to automatically generate the
next pay date accurately. If I enter 4/15/2008 as my next paydate, then I
want the other cells to readout 4/30/2008, 5/15/2008, 5/31/2008, etc. Any
help would be greatly appreciated. Thanks!




Mike H

Generate date on Semi-Monthly Basis
 
Hi,

Put your start day in A1 and the in A2 and drag down

=IF(DAY(A1)=15,EOMONTH(A1,0),DATE(YEAR(A1),MONTH(A 1)+1,15))

Mike

"debinnyc" wrote:

I am using Excel 2003 and trying to determine a formula to generate the next
date on a semi monthly basis. For example, I have a cell for next pay date,
which when filled in I want the other cells to automatically generate the
next pay date accurately. If I enter 4/15/2008 as my next paydate, then I
want the other cells to readout 4/30/2008, 5/15/2008, 5/31/2008, etc. Any
help would be greatly appreciated. Thanks!


Fred Smith[_4_]

Generate date on Semi-Monthly Basis
 
Try:

a1 = 4/15/2008
a2 =date(year(a1),month(a1)+1,if(day(a1)=15,0,15))

Regards,
Fred


"debinnyc" wrote in message
...
I am using Excel 2003 and trying to determine a formula to generate the
next
date on a semi monthly basis. For example, I have a cell for next pay
date,
which when filled in I want the other cells to automatically generate the
next pay date accurately. If I enter 4/15/2008 as my next paydate, then I
want the other cells to readout 4/30/2008, 5/15/2008, 5/31/2008, etc. Any
help would be greatly appreciated. Thanks!



Kevin B

Generate date on Semi-Monthly Basis
 
The ffollowing formula will do the trick:

=IF(DAY(G1)=15,DATE(YEAR(G1),MONTH(G1)+1,1)-1,DATE(YEAR(G1),MONTH(G1)+1,15))
--
Kevin Backmann


"debinnyc" wrote:

I am using Excel 2003 and trying to determine a formula to generate the next
date on a semi monthly basis. For example, I have a cell for next pay date,
which when filled in I want the other cells to automatically generate the
next pay date accurately. If I enter 4/15/2008 as my next paydate, then I
want the other cells to readout 4/30/2008, 5/15/2008, 5/31/2008, etc. Any
help would be greatly appreciated. Thanks!


Mike H

Generate date on Semi-Monthly Basis
 
I should have added if you get a name error then

Tools|Addins
and check the analysis toolpack

Mike

"debinnyc" wrote:

I am using Excel 2003 and trying to determine a formula to generate the next
date on a semi monthly basis. For example, I have a cell for next pay date,
which when filled in I want the other cells to automatically generate the
next pay date accurately. If I enter 4/15/2008 as my next paydate, then I
want the other cells to readout 4/30/2008, 5/15/2008, 5/31/2008, etc. Any
help would be greatly appreciated. Thanks!



All times are GMT +1. The time now is 04:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com