Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dada
 
Posts: n/a
Default trouble with date

Hi at all,
i've got this question for excle expert :-)

i've got this kind of cells (about 3000-4000):

start time cell : 2005-04-13 19:43:22.0
end time cell :2005-05-14 22:23:01.0 (i cannot divide the cell in date -
time because someone have formatted them in this way)

I need to separate the time (in minute) in those way (putting the minute in
other cells):
from 08 to 18 (working day) in one cell
from 18 to 08 (working day) in another cell
from friday at 18.00 to monday at 8.00 in another cell
all transformed in minute....
Thanks a lot guy




  #2   Report Post  
Fred Smith
 
Posts: n/a
Default

I'm not sure I understand exactly what you are looking for, but maybe I can give
you some hints to point you in the right direction.

Assume your start time is in A1 and the end time is in A2.

=hour(a1) will return a number from 0 to 23 representing the hour of the day.
=(a2-a1)*60*24 will get you the number of minutes between the two times
=weekday(a1) will tell you what day of the week a1 is

With some If statements and the above formulas, you should be able to create the
cells that you want.

--
Regards,
Fred
Please reply to newsgroup, not e-mail


"dada" wrote in message
...
Hi at all,
i've got this question for excle expert :-)

i've got this kind of cells (about 3000-4000):

start time cell : 2005-04-13 19:43:22.0
end time cell :2005-05-14 22:23:01.0 (i cannot divide the cell in date -
time because someone have formatted them in this way)

I need to separate the time (in minute) in those way (putting the minute in
other cells):
from 08 to 18 (working day) in one cell
from 18 to 08 (working day) in another cell
from friday at 18.00 to monday at 8.00 in another cell
all transformed in minute....
Thanks a lot guy






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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Recurring annual events using a specific date as a trigger date Bamboozled Excel Worksheet Functions 1 June 6th 05 01:44 PM
date and time ladimples247 New Users to Excel 2 February 16th 05 08:52 PM
Date issue between Windows and Macintosh version dlg1967 Excel Discussion (Misc queries) 4 January 19th 05 03:51 PM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM


All times are GMT +1. The time now is 06:44 AM.

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"