Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
seve
 
Posts: n/a
Default Dates in a text string?

Hello,

I need to have column headings in this format m/dd - m/dd, the range
would be one week.

The next column would be the next week's date range.

Is there an easy way to do this without typing these by hand?

Example:

Column A= 5/13 - 5/19
Column B = 5/20 - 5/26

Any help would be appreciated.

FYI - I tried using concatenate...but I can't get it to work.


Steve

  #2   Report Post  
Posted to microsoft.public.excel.misc
seve
 
Posts: n/a
Default Dates in a text string?

I found the answer...just had to search on the right words....

This works


=CONCATENATE(TEXT(F1+7,"mm/dd"), " - ",(TEXT(F2+7,"mm/dd")))

  #3   Report Post  
Posted to microsoft.public.excel.misc
seve
 
Posts: n/a
Default Dates in a text string?

I found the answer...just had to search on the right words....

This works


=CONCATENATE(TEXT(F1+7,"mm/dd"), " - ",(TEXT(F2+7,"mm/dd")))

  #4   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Dates in a text string?

In A1 enter:
=TEXT(DATE(2006,5,13+7*(COLUMN()-1)),"m/dd") & " - " &
TEXT(DATE(2006,5,13+7*(COLUMN()-1))+6,"m/dd")

and copy across
--
Gary's Student


"seve" wrote:

Hello,

I need to have column headings in this format m/dd - m/dd, the range
would be one week.

The next column would be the next week's date range.

Is there an easy way to do this without typing these by hand?

Example:

Column A= 5/13 - 5/19
Column B = 5/20 - 5/26

Any help would be appreciated.

FYI - I tried using concatenate...but I can't get it to work.


Steve


  #5   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett
 
Posts: n/a
Default Dates in a text string?

for a formula try this idea where a10 contains 5/6
=TEXT($A$10+ROW(A1)*7,"mm/dd") & "-"&TEXT($A$10+ROW(A1)*7+6,"mm/dd")
I would probably do it with macro instead

--
Don Guillett
SalesAid Software

"seve" wrote in message
oups.com...
Hello,

I need to have column headings in this format m/dd - m/dd, the range
would be one week.

The next column would be the next week's date range.

Is there an easy way to do this without typing these by hand?

Example:

Column A= 5/13 - 5/19
Column B = 5/20 - 5/26

Any help would be appreciated.

FYI - I tried using concatenate...but I can't get it to work.


Steve





  #6   Report Post  
Posted to microsoft.public.excel.misc
seve
 
Posts: n/a
Default Dates in a text string?

Thank you Don and Gary's!

Steve

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
Splitting a text string into string and number mcambrose Excel Discussion (Misc queries) 4 February 21st 06 03:47 PM
Reomving a set numer of characters from a text string ado1963 Excel Discussion (Misc queries) 3 January 10th 06 02:33 PM
can you find specific text in a string ignoring any other text chriscp Excel Discussion (Misc queries) 1 September 18th 05 09:54 PM
Equation in text string? hoising8 Excel Discussion (Misc queries) 3 July 28th 05 08:23 PM
Finding Specific Text in a Text String Peter Gundrum Excel Worksheet Functions 9 April 10th 05 07:21 PM


All times are GMT +1. The time now is 10:37 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"