MAKE A SET OF DATE

sal21

Active Member
Joined
Apr 1, 2002
Messages
260
EXAMPLE :
http://www.gssitaly.com/RATE.ZIP

i have 2 sheets ANAGRAFE e DATE IN RATE.XLS
in ANAGRAFE cell D2 i have the value 60 in the cell J2 i have a date, for example 27/11/2004, i colud want fill a set of date in RATE to start in the cell G2 for every 60 month day year, for example:

sheet RATE
in the cell G2 27/11/2004
in the cell H2 27/12/2004
in the cell I2 27/01/2005
in the cell J2 27/02/2005
....
in the cell BN2 27/10/2009

this macro for every data present in the column D2:D2000 and in the column J2:J2000 from ANAGRAFE

when the actual date is the same in the cell G2 of sheet RATE delete the cell G2 and skip to left the other cell

this in automaticly mode when i put the data in J2 e G2 of sheet ANAGRAFE
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

CraigM

Active Member
Joined
Feb 27, 2003
Messages
320
Hi, if I understand you correctly try entering:
=DATE(YEAR(G2),MONTH(G2)+1,DAY(G2))
in cell H2 and fillin it across.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,101
Messages
5,768,101
Members
425,453
Latest member
bince

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top