Filling in specific dates in Excel

U

urandrod

I recieve income on the 1st and the 15th of every month, regardless of
the month, or day.

Understanding the serial number feature of Excel, I cannot create a
autofill that will fill in the 1st and 15th of every month.

I need to be able to type in the 1st of a month then autofill across
and have it pick up the 1st and 15th of every month.

How can this be performed?
 
P

Pete_UK

Type in 1/1/07 in B1 and 15/1/07 (or 1/15/07) in C1, then in D1 enter
this formula:

=DATE(YEAR(B1),MONTH(B1)+1,DAY(B1))

Then copy this across row 1 for as many columns as you need.

You can have different start dates in B1:C1.

Hope this helps.

Pete
 
R

Ron Rosenfeld

I recieve income on the 1st and the 15th of every month, regardless of
the month, or day.

Understanding the serial number feature of Excel, I cannot create a
autofill that will fill in the 1st and 15th of every month.

I need to be able to type in the 1st of a month then autofill across
and have it pick up the 1st and 15th of every month.

How can this be performed?

Instead of auto-fill, why not use a formula:

=IF(DAY(A1)=15,A1+33-DAY(A1+32),A1+14)
--ron
 
R

Ron de Bruin

In A1 : 1/1/2007
In A2 : 1/15/2007

Select both cells and copy down with your mouse but not with your right mouse button
but with your left button.
When you release your mouse you see a dialog with the option "Fill months"
 
T

T. Valko

Try this:

Enter your first date in cell A1.

Enter this formula in B1 and copy across as needed:

=IF(DAY(A1)=1,A1+14,A1+17-DAY(A1+17)+1)

Format the cells as DATE
 
G

Guest

Hi,

Another way:

with a starting date in A1, in B1 put:
=DATE(YEAR(A1),IF(DAY(A1)=1,MONTH(A1),MONTH(A1)+1),IF(DAY(A1)=1,15,1))
copy down

HTH
Jean-Guy
 
D

David McRitchie

If you are not worried about work vs nonwork dates.
B1: =IF(DAY(A1)=1,A1+14,IF(DAY(A1)=15,DATE(YEAR(A1),MONTH(A1)+1,1),"broken"))

Format the row as a date,
fill across with fill handle, and will continue into the next year(s).
 
R

Ron Rosenfeld

Instead of auto-fill, why not use a formula:

=IF(DAY(A1)=15,A1+33-DAY(A1+32),A1+14)
--ron

This assumes A1 contains a date that is either the 1st or 15th of some month.
--ron
 
U

urandrod

Type in 1/1/07 in B1 and 15/1/07 (or 1/15/07) in C1, then in D1 enter
this formula:

=DATE(YEAR(B1),MONTH(B1)+1,DAY(B1))

Then copy this across row 1 for as many columns as you need.

You can have different start dates in B1:C1.

Hope this helps.

Pete






- Show quoted text -

I got a #NUM error on this one.

Sorry.
 
U

urandrod

In A1 : 1/1/2007
In A2 : 1/15/2007

Select both cells and copy down with your mouse but not with your right mouse button
but with your left button.
When you release your mouse you see a dialog with the option "Fill months"

--

Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm








- Show quoted text -

This was JUST simply beautiful What a fantastic shortcut. Thank you
so much...
 
U

urandrod

Try this:

Enter your first date in cell A1.

Enter this formula in B1 and copy across as needed:

=IF(DAY(A1)=1,A1+14,A1+17-DAY(A1+17)+1)

Format the cells as DATE

--
Biff
Microsoft Excel MVP









- Show quoted text -

Thank you. this seems to work similar to the earlier post, using 17
instead of 34/32 This works for me as well. Thanks.
 
T

T. Valko

Thank you. this seems to work similar to the earlier post, using 17
instead of 34/32 This works for me as well. Thanks.

You're welcome. Thanks for the feedback!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top