Giving days

K

Kay

I am doing a timesheet and need to allot 1 day every four month that is 3 per
year.

I have the start date and need a formula to give one on the start month and
then 1 four month after and the other four month after that one. Any
suggestion?
 
S

Sean Timmons

you may need the Toolpak add in... Tools, Add Ins... Toolpak (don't need the
VBA one..)

use EDATE.

=EDATE(start date,4) will give the date 4 months from your start date. You
should be able to get the rest from there! :)
 
S

Sean Timmons

you may need the Toolpak add in... Tools, Add Ins... Toolpak (don't need the
VBA one..)

use EDATE.

=EDATE(start date,4) will give the date 4 months from your start date. You
should be able to get the rest from there! :)
 
G

Gary''s Student

With the first date in A1, In A2 enter:

=DATE(YEAR(A1),MONTH(A1)+4,DAY(A1)) and copy down.

Note the date in A1 cannot be too late in the year.
 
G

Gary''s Student

With the first date in A1, In A2 enter:

=DATE(YEAR(A1),MONTH(A1)+4,DAY(A1)) and copy down.

Note the date in A1 cannot be too late in the year.
 
S

Sean Timmons

So.. your spreadsheet has a list of dates, and you want to put "1" in the
cell corresponding to the day 4 months (then 8, 12, etc) later?
 
S

Sean Timmons

So.. your spreadsheet has a list of dates, and you want to put "1" in the
cell corresponding to the day 4 months (then 8, 12, etc) later?
 
K

Kay

The dates are for different persons and I want to give them 1 every four
months; I have the cell D8:O8 with the month starting JUly and ends with JUne.
 
K

Kay

The dates are for different persons and I want to give them 1 every four
months; I have the cell D8:O8 with the month starting JUly and ends with JUne.
 
S

Sean Timmons

Assuming your start date is in cell A1:

=IF(OR(MONTH($A1)=MONTH(EDATE(B8,0)),MONTH($A1)=MONTH(EDATE(B8,4)),MONTH($A1)=MONTH(EDATE(B8,8))),"1","")

should get you
 
S

Sean Timmons

Assuming your start date is in cell A1:

=IF(OR(MONTH($A1)=MONTH(EDATE(B8,0)),MONTH($A1)=MONTH(EDATE(B8,4)),MONTH($A1)=MONTH(EDATE(B8,8))),"1","")

should get you
 

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