#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default Extract dates

Hi Everyone

I have a form with dates entered as:
Start date ( Cell A3) 01/05/08 End date (Cell B3) 01/08/08
Is it possible with a formula or a macro to list each date in separate cell.
This should give me 4 days including start date.
Thanking you in advance
Regards
John

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Extract dates

John,

Put this in the cell where you want the list of dates to start and drag dwon
intil it starts returning blank cells.

=IF($A$3+ROW(A1)-1<=$B$3,$A$3+ROW(A1)-1,"")

Mike

"John" wrote:

Hi Everyone

I have a form with dates entered as:
Start date ( Cell A3) 01/05/08 End date (Cell B3) 01/08/08
Is it possible with a formula or a macro to list each date in separate cell.
This should give me 4 days including start date.
Thanking you in advance
Regards
John


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default Extract dates

Thank you Mike
It's working well.
Regards
John
"Mike H" wrote in message
...
John,

Put this in the cell where you want the list of dates to start and drag
dwon
intil it starts returning blank cells.

=IF($A$3+ROW(A1)-1<=$B$3,$A$3+ROW(A1)-1,"")

Mike

"John" wrote:

Hi Everyone

I have a form with dates entered as:
Start date ( Cell A3) 01/05/08 End date (Cell B3) 01/08/08
Is it possible with a formula or a macro to list each date in separate
cell.
This should give me 4 days including start date.
Thanking you in advance
Regards
John



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
Stop dates from showing as numbers - when formated as dates JR Excel Discussion (Misc queries) 1 October 29th 08 05:38 PM
compare 2 tables of dates to find the preceding dates Babi Excel Worksheet Functions 3 October 28th 08 06:52 AM
extract and sort dates cityfc Excel Discussion (Misc queries) 0 January 11th 06 09:06 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 07:18 PM
Extract Unique Values, Then Extract Again to Remove Suffixes Karl Burrows Excel Discussion (Misc queries) 23 June 25th 05 11:37 PM


All times are GMT +1. The time now is 12:42 AM.

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

About Us

"It's about Microsoft Excel"