LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Now you know that you can <g

=TEXT(IF(WEEKDAY(B3,2)<6,B3,B3+(8-WEEKDAY(B3,2))),"m/d/yyy")&" through
"&TEXT(IF(WEEKDAY(C3,2)<6,C3,C3+(8-WEEKDAY(C3,2))),"m/d/yyyy")

--
HTH

Bob Phillips

"Adam" wrote in message
...
Thanks Bob that worked great!

I got one more question:
What if my date range result lands on a weekend and i don't want it to?

Is there a way that i can identify and check that that the result is a
weekend and if it is move the range to the next earliest range?

If possible please use my work email as well ).

Thanks.

"Bob Phillips" wrote:

No need for SUM

=A3+2
=A3+7

=TEXT(B3,"m/d/yyy")&" through "&TEXT(C3,"m/d/yyyy")

--
HTH

Bob Phillips

"Adam" wrote in message
...
Hello,

I have one cell where i enter a date 8/30/2005 (which resides in A3).

And i need another cell to display a date range based on the above

date.
The date range will always be the same number of days apart. For

example
the
date range will always be 2-7 days from the entered above date. What i

did
so
far was 2 seperate calculations in 2 different cells. One for the low

end
(=SUM(A3+2) and one for the high end =SUM(A3+7). Then I put =(B3) & "

" &
"through" & " " & (C3) in the third cell where i want the range to

appear.
But what happens is it comes out like:
38596 through 38599

How can i get the dates to remain in date format even though there is

text
between them???








 
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 range criteria and Pivot tables (again!) DerbyJim1978 Excel Worksheet Functions 3 July 13th 05 10:14 PM
Update cell based on date range deversole Excel Discussion (Misc queries) 3 July 6th 05 01:58 PM
Change cell color dependin on date ... T. Denford Excel Worksheet Functions 4 April 13th 05 01:59 AM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 03:03 PM
Excel: How to return count for each cell within date range criter. Louisa Excel Worksheet Functions 0 November 5th 04 11:58 AM


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