#1   Report Post  
comotoman
 
Posts: n/a
Default 'Date' problem


cell a1: =today()

if a1 is 'October 7, 2005'

i need b1 to be '10/1/05'
b2: '10/2/05'
b3: '10/3/05'
etc......

Any ideas?


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=474230

  #2   Report Post  
neopolitan
 
Posts: n/a
Default


I assume that in Col B you just want to fill in the dates from the start
of OCT (10/1) to the date in A1. With the formula "=Today()" in A1,
enter the following formula in B1: =EOMONTH(A1,-1)+1

In B2, enter this formula: =IF(B1<(A$1-1),B1+1,"") and then copy down
until the last cell you copy to appears blank. The blank cell contains
the formula but displays the null value ("") because it would be equal
to A1.

Hope this is what you wanted.


--
neopolitan


------------------------------------------------------------------------
neopolitan's Profile: http://www.excelforum.com/member.php...nfo&userid=611
View this thread: http://www.excelforum.com/showthread...hreadid=474230

  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 7 Oct 2005 12:10:47 -0500, comotoman
wrote:


cell a1: =today()

if a1 is 'October 7, 2005'

i need b1 to be '10/1/05'
b2: '10/2/05'
b3: '10/3/05'
etc......

Any ideas?


It's not clear how far you want your series to extend.

But to return the first of the month of the date in A1:

B1: =A1+1-DAY(A1)

then

B2: =B1+1
B3: =B2+1

etc.....

Format appropriately.

If you just want the current month in column B, change the formulas to
something like:

B2: =IF(ROW()=DAY($B$1+ROW()-1),$B$1+ROW()-1,"")

and copy/drag down to B31




--ron
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
Time Date Formula Problem Oowf Excel Worksheet Functions 2 June 1st 05 06:01 PM
Login Logout Date Problem ascool_asice Excel Worksheet Functions 2 May 30th 05 12:50 AM
Identifying Date Overlaps Tremain Excel Discussion (Misc queries) 1 May 10th 05 01:58 AM
Date and Time Picker Control problem Andy Tallent Excel Discussion (Misc queries) 0 May 4th 05 12:50 PM
dsum with date criteria Jed Martin Excel Worksheet Functions 0 March 24th 05 05:29 PM


All times are GMT +1. The time now is 05:15 AM.

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"