#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Date formula

Morning,

I need to build a spreadsheet that will have the date in a column, running
from the 15th of one month to the 15th of the next month i.e. 07-01-15 to
07-02-15.
I would like the date to be entered onto a Parameters sheet and that needs
to flow to the spreadsheet. The problem is that the spreadsheet needs to be
duplicated depending on the number of drivers I have on the parameters list.
I have a macro to add a spreadsheet depending on the number of drivers. I can
simply then just add to the macro to copy paste the spreadsheet, but then
will the various dropdowns and formulas work?

Anyway back to the crux of the question. Date formula running from 15th to
15th.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Date formula

I'm not sure how you're defining the starting point, but if you want to
start from the 15th of the month of a date specified in F1, then A1 is
=DATE(YEAR(F1),MONTH(F1),15)
A2 is =A1+1 and downwards, until near the bottom of the list, where A28, for
example, would be
=IF(A27="","",IF(DAY(A27)=15,"",A27+1)) and copy down to at least A31.
--
David Biddulph

"Sunnyskies" wrote in message
...
Morning,

I need to build a spreadsheet that will have the date in a column, running
from the 15th of one month to the 15th of the next month i.e. 07-01-15 to
07-02-15.
I would like the date to be entered onto a Parameters sheet and that needs
to flow to the spreadsheet. The problem is that the spreadsheet needs to
be
duplicated depending on the number of drivers I have on the parameters
list.
I have a macro to add a spreadsheet depending on the number of drivers. I
can
simply then just add to the macro to copy paste the spreadsheet, but then
will the various dropdowns and formulas work?

Anyway back to the crux of the question. Date formula running from 15th to
15th.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Date formula

Thanks this works well

"David Biddulph" wrote:

I'm not sure how you're defining the starting point, but if you want to
start from the 15th of the month of a date specified in F1, then A1 is
=DATE(YEAR(F1),MONTH(F1),15)
A2 is =A1+1 and downwards, until near the bottom of the list, where A28, for
example, would be
=IF(A27="","",IF(DAY(A27)=15,"",A27+1)) and copy down to at least A31.
--
David Biddulph

"Sunnyskies" wrote in message
...
Morning,

I need to build a spreadsheet that will have the date in a column, running
from the 15th of one month to the 15th of the next month i.e. 07-01-15 to
07-02-15.
I would like the date to be entered onto a Parameters sheet and that needs
to flow to the spreadsheet. The problem is that the spreadsheet needs to
be
duplicated depending on the number of drivers I have on the parameters
list.
I have a macro to add a spreadsheet depending on the number of drivers. I
can
simply then just add to the macro to copy paste the spreadsheet, but then
will the various dropdowns and formulas work?

Anyway back to the crux of the question. Date formula running from 15th to
15th.

Thanks




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Trending Formula Results by Date sony654 Excel Worksheet Functions 0 January 2nd 06 02:33 AM
Year-to-date year to date formula Philm Excel Worksheet Functions 1 October 7th 05 02:50 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM


All times are GMT +1. The time now is 04:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"