Thanks for the replies. I think I might be over my head trying to get this
formula to work. I know just one wrong .,-() can mess up the whole thing and
not sure where exactly you wanted me to put MOD(range,1)=--"15:00" in the
formula. I will keep at it though :)....thanks again
> Wrap the ranges in
>
[quoted text clipped - 47 lines]
> >> > Any help would be appreciated.
> >> > Thank you.
I tried that Peo but I ran into rounding problems with MOD(range,1)=--"7:00"
With 7:00 in A1 and 07/01/07 07:00 in B1
=Mod(A1,1) -mod(B1,1) returns 6.79089E-10
=SUMPRODUCT((ROUND(MOD(Sheet1!A3:A9,1),6)>=--("7:00"))*(ROUND(MOD(Sheet1!A3:A9,1),6)<--("15:00")))
Returns the right answer, (rounding to 9 places does not), but I would not
be confident that it would in all circumstances.
It would be much better if the OP separated the dates and times in different
columns, which of course is what I had originally.

Signature
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk
> Wrap the ranges in
>
[quoted text clipped - 48 lines]
>>> > Any help would be appreciated.
>>> > Thank you.
Sapphyre - 12 Jul 2007 23:18 GMT
Thank you Sandy, I see now where you might have misunderstood my date/time.
They are both in column A, not date A and time B, that was my fault in my
original post, I should have clarified better.
Anyway, I think you are right in breaking up the date and time into 2
different columns. I have been trying to get data that my boss wants from a
spread sheet that was already in place when I started working there. Would
have been much easier to just start a whole new one from scratch, but it's
getting there.
Thank you for all your help.
> I tried that Peo but I ran into rounding problems with MOD(range,1)=--"7:00"
>
[quoted text clipped - 61 lines]
> >>> > Any help would be appreciated.
> >>> > Thank you.
Sandy Mann - 13 Jul 2007 00:07 GMT
If it doesn't mess up the rest of the sheet you can insert a new column B,
highlight the Dates & times in columns A and then select Data > Text to
Columns > Delimited > Next > check Space > Finish, reformat the columns to
what you want then use the original formulas.

Signature
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk
> Thank you Sandy, I see now where you might have misunderstood my
> date/time.
[quoted text clipped - 82 lines]
>> >>> > Any help would be appreciated.
>> >>> > Thank you.