Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
klt klt is offline
external usenet poster
 
Posts: 8
Default Formula needed for date range

A5 is 1st Date
A90 is 2nd Date (2nd date is always 14 days later than A5 Date)

Text and Format wanted is
Dates: 04/11/05 - 04/25/05
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Formula needed for date range

Here is a formula that will give you the text of what you asked for.

=TEXT(A5, "mm/dd/yy") &" - " & TEXT(A5+14, "mm/dd/yy")

Note that this formula returns a text string not a date that Excel can
interpret...without a little bit of work...

HTH

"klt" wrote:

A5 is 1st Date
A90 is 2nd Date (2nd date is always 14 days later than A5 Date)

Text and Format wanted is
Dates: 04/11/05 - 04/25/05

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Formula needed for date range

One way:

=TEXT(A5,"mm/dd/yy - ") & TEXT(A5+14,"mm/dd/yy")

In article ,
klt wrote:

A5 is 1st Date
A90 is 2nd Date (2nd date is always 14 days later than A5 Date)

Text and Format wanted is
Dates: 04/11/05 - 04/25/05

  #4   Report Post  
Posted to microsoft.public.excel.programming
klt klt is offline
external usenet poster
 
Posts: 8
Default Formula needed for date range

Thank you Jim. I've been working on this forever. I'm not very good with
formulas. I really appreciate your response.

klt

"Jim Thomlinson" wrote:

Here is a formula that will give you the text of what you asked for.

=TEXT(A5, "mm/dd/yy") &" - " & TEXT(A5+14, "mm/dd/yy")

Note that this formula returns a text string not a date that Excel can
interpret...without a little bit of work...

HTH

"klt" wrote:

A5 is 1st Date
A90 is 2nd Date (2nd date is always 14 days later than A5 Date)

Text and Format wanted is
Dates: 04/11/05 - 04/25/05

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Formula needed for date range

=TEXT(A5,"mm/dd/.yy")&" - "&TEXT(A90,"mm/dd/yy")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"klt" wrote in message
...
A5 is 1st Date
A90 is 2nd Date (2nd date is always 14 days later than A5 Date)

Text and Format wanted is
Dates: 04/11/05 - 04/25/05





  #6   Report Post  
Posted to microsoft.public.excel.programming
klt klt is offline
external usenet poster
 
Posts: 8
Default Formula needed for date range

Thank you JE.

"JE McGimpsey" wrote:

One way:

=TEXT(A5,"mm/dd/yy - ") & TEXT(A5+14,"mm/dd/yy")

In article ,
klt wrote:

A5 is 1st Date
A90 is 2nd Date (2nd date is always 14 days later than A5 Date)

Text and Format wanted is
Dates: 04/11/05 - 04/25/05


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 formula needed d7 Excel Worksheet Functions 3 April 27th 10 06:36 PM
Date Formula with 2 conditions met needed Amanda Excel Discussion (Misc queries) 7 January 8th 09 05:48 PM
Date Conversion Formula Needed Titanium Excel Worksheet Functions 20 September 16th 07 09:18 PM
Date formula needed Rich Hayes Excel Worksheet Functions 4 December 9th 05 07:25 PM
Date formula needed VDan Excel Discussion (Misc queries) 4 August 31st 05 04:01 PM


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