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

I have a column of numbers, eg, 1,3,5,7, etc in column A, I want cell Bx to
be a date in the format current year || current month || Cell Ax, where x is
the row. So if A1 is 1, A2 is 3, A3 is 5, then B1, B2 and B3 would be
20070901, 20070903 and 20070905 respectively

How can I do this


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Date question

Here is a formula to go in Cell B1 that references cell A1...

=DATE(YEAR(NOW()), MONTH(NOW()), A1)

Note that Now is a volatile function so that it will recalculate each time
the spreadsheet is opened and they year and month will change accordingly. I
am not too sure if that is what you want or not. If not then

=DATE(2007, 9, A1)
--
HTH...

Jim Thomlinson


"GKW in GA" wrote:

I have a column of numbers, eg, 1,3,5,7, etc in column A, I want cell Bx to
be a date in the format current year || current month || Cell Ax, where x is
the row. So if A1 is 1, A2 is 3, A3 is 5, then B1, B2 and B3 would be
20070901, 20070903 and 20070905 respectively

How can I do this


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

Set the date cell to text and then concatenate(Ax," ","blah")

God Bless

Frank Pytel


"GKW in GA" wrote:

I have a column of numbers, eg, 1,3,5,7, etc in column A, I want cell Bx to
be a date in the format current year || current month || Cell Ax, where x is
the row. So if A1 is 1, A2 is 3, A3 is 5, then B1, B2 and B3 would be
20070901, 20070903 and 20070905 respectively

How can I do this


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
Date Question metaltecks Excel Discussion (Misc queries) 5 June 13th 06 02:55 PM
DATE question nastech Excel Discussion (Misc queries) 5 January 20th 06 01:49 AM
Date Question nastech Excel Discussion (Misc queries) 5 January 19th 06 09:40 PM
This is a date question... Robert Excel Discussion (Misc queries) 4 August 2nd 05 04:22 PM
Another Date Question Kdub via OfficeKB.com Excel Discussion (Misc queries) 1 June 30th 05 01:09 AM


All times are GMT +1. The time now is 05:21 PM.

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"