Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want a simple formula that will return the next month on a column. while
maintaining the day as 25th of every month. I mean 25 Nov 2005, 25 Dec 2005, 25 Jan 2006, 25 Feb 2006 and so on.... regards. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() From edit menu click fill then select series and click month so you will get dates by monthly -- dvtapse ------------------------------------------------------------------------ dvtapse's Profile: http://www.excelforum.com/member.php...o&userid=30735 View this thread: http://www.excelforum.com/showthread...hreadid=552609 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With your date in A1, put this in B1 and copy across......
=IF(MONTH(A1)=12,1&"/"&DAY(A1)&"/"&YEAR(A1)+1,MONTH(A1)+1&"/"&DAY(A1)&"/"&YEAR(A1)) This way, whenever you change the date in A1, all the other columns follow.... Vaya con Dios, Chuck, CABGx3 "Afolabi" wrote: I want a simple formula that will return the next month on a column. while maintaining the day as 25th of every month. I mean 25 Nov 2005, 25 Dec 2005, 25 Jan 2006, 25 Feb 2006 and so on.... regards. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for the prompt response. with your method, if I click and drag the
last entry, the result is not in line with my expectation. hence my need for a FORMULA. "Afolabi" wrote: I want a simple formula that will return the next month on a column. while maintaining the day as 25th of every month. I mean 25 Nov 2005, 25 Dec 2005, 25 Jan 2006, 25 Feb 2006 and so on.... regards. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
"Afolabi" wrote:
I want a simple formula that will return the next month on a column. while maintaining the day as 25th of every month. I mean 25 Nov 2005, 25 Dec 2005, 25 Jan 2006, 25 Feb 2006 and so on.... Another play .. With A1 housing a commencement date, put in B1: =DATE(YEAR($A$1),MONTH($A$1)+COLUMN(A1),25) Copy B1 across as far as required To increment copying down, just change COLUMN(A1) to ROW(A1) eg: place in A2: =DATE(YEAR($A$1),MONTH($A$1)+ROW(A1),25) Copy A2 down as far as required -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks friends, Please help modify the formula to read dd-mmm-yyyy
"CLR" wrote: With your date in A1, put this in B1 and copy across...... =IF(MONTH(A1)=12,1&"/"&DAY(A1)&"/"&YEAR(A1)+1,MONTH(A1)+1&"/"&DAY(A1)&"/"&YEAR(A1)) This way, whenever you change the date in A1, all the other columns follow.... Vaya con Dios, Chuck, CABGx3 "Afolabi" wrote: I want a simple formula that will return the next month on a column. while maintaining the day as 25th of every month. I mean 25 Nov 2005, 25 Dec 2005, 25 Jan 2006, 25 Feb 2006 and so on.... regards. |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use this instead, then you can format the cells for a display of however you
wish. =IF(MONTH(A1)=12,1&"/"&DAY(A1)&"/"&YEAR(A1)+1,MONTH(A1)+1&"/"&DAY(A1)&"/"&YEAR(A1))*1 Vaya con Dios, Chuck, CABGx3 "Afolabi" wrote: Thanks friends, Please help modify the formula to read dd-mmm-yyyy "CLR" wrote: With your date in A1, put this in B1 and copy across...... =IF(MONTH(A1)=12,1&"/"&DAY(A1)&"/"&YEAR(A1)+1,MONTH(A1)+1&"/"&DAY(A1)&"/"&YEAR(A1)) This way, whenever you change the date in A1, all the other columns follow.... Vaya con Dios, Chuck, CABGx3 "Afolabi" wrote: I want a simple formula that will return the next month on a column. while maintaining the day as 25th of every month. I mean 25 Nov 2005, 25 Dec 2005, 25 Jan 2006, 25 Feb 2006 and so on.... regards. |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Max, it works! I only replaced "COLUMN" or "ROW" with +1 to get the
right results . i.e =DATE(YEAR(A1),MONTH(A1)+1,25) Thanks once more. "Max" wrote: "Afolabi" wrote: I want a simple formula that will return the next month on a column. while maintaining the day as 25th of every month. I mean 25 Nov 2005, 25 Dec 2005, 25 Jan 2006, 25 Feb 2006 and so on.... Another play .. With A1 housing a commencement date, put in B1: =DATE(YEAR($A$1),MONTH($A$1)+COLUMN(A1),25) Copy B1 across as far as required To increment copying down, just change COLUMN(A1) to ROW(A1) eg: place in A2: =DATE(YEAR($A$1),MONTH($A$1)+ROW(A1),25) Copy A2 down as far as required -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Glad you got it adapted to suit <g !
Thanks for the feedback .. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Afolabi" wrote: Thanks Max, it works! I only replaced "COLUMN" or "ROW" with +1 to get the right results . i.e =DATE(YEAR(A1),MONTH(A1)+1,25) Thanks once more. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula to add dates. | Excel Worksheet Functions | |||
need to convert list of dates to count no. of dates by week | Excel Worksheet Functions | |||
Calculating number of days between two dates that fall between two other dates | Excel Discussion (Misc queries) | |||
Sequential dates in different cells | Excel Worksheet Functions | |||
Sequential dates in different cells | Excel Worksheet Functions |