LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
dcoates
 
Posts: n/a
Default Formula for next day based on clock


My worksheet contains a formula to change the date in A2 to
Text in B2 indicating the day of the week. I need a formula in C2 that
would take the date in cell A2 and take into consideration the time in
cell D2. My company's day starts at 06:00 and runs until 06:00 the
next day. I want C2 to show the next day after midnight.

Example: B2 would show Tues for the date 5/31/2005, but after midnight
(in D2), I want C2 to show Wed.


+-------------------------------------------------------------------+
|Filename: DayNumber formula.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=3446 |
+-------------------------------------------------------------------+

--
dcoates
------------------------------------------------------------------------
dcoates's Profile: http://www.excelforum.com/member.php...fo&userid=2320
View this thread: http://www.excelforum.com/showthread...hreadid=375616

 
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
conditional formula - based on 2 separate criteria andrewo-s Excel Worksheet Functions 10 March 14th 05 03:35 AM
Formula to return cell contents based on multiple conditions Bill Excel Worksheet Functions 3 January 19th 05 09:59 AM
Conditional Formatting based on Formula Pete Petersen Excel Worksheet Functions 1 January 17th 05 11:49 PM
formula based on format James Kendall Excel Discussion (Misc queries) 4 December 16th 04 04:47 PM
How to create a calculated field formula based on Pivot Table resu dha17 Excel Discussion (Misc queries) 1 December 15th 04 05:39 AM


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