LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default End of month help with shifts

Wonder if anyone can help he
From a raw report I have a date and time in column A (As mm/dd/yyyy
hh:mm:ss) and a shift in column D (ie a,b,c,d).
In column B, I use the following equation:
=CONCATENATE(MONTH(A2),"/",IF(HOUR(A2)=7,DAY(A2),DAY(A2)-1),"/",D2,IF(OR(HOUR(A2)<7,HOUR(A2)=19),"N","D"))

We run shift from 7 to 7 on a 24 hr bases and the above equation works ok
apart from the start of the nex month. errors like below come up
1/31/AN
2/0/AN (error)
2/1/BD

I would like the error to read 1/31/AN until 7:00 Am on the 2/1/BD.
Any suggest welcome?

 
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
Print Area Shifts Matt Excel Discussion (Misc queries) 0 October 11th 06 05:14 PM
More column shifts ... fak119 Excel Discussion (Misc queries) 1 May 29th 06 03:50 PM
Set up schedule for 3 different shifts Tina Excel Discussion (Misc queries) 0 April 27th 06 09:06 PM
what command shifts all cells in a column up or down? marco New Users to Excel 2 January 16th 06 07:56 PM
File Menu Shifts to Right Silver Excel Discussion (Misc queries) 1 March 9th 05 02:02 PM


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