trouble with date

G

Guest

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
 
F

Fred Smith

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top