ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Between time (https://www.excelbanter.com/excel-discussion-misc-queries/102791-between-time.html)

Brento

Between time
 

HI,

If any one could help with this i would be greatful.

I have thetime time in a1 starting at 08:00 and going down the pagein
15 mintue intervals, in the next column i have a number next to the
time.

I would like a formula to be able to read and display the second column
number depending on the time stated in cell c1 in d1.

any help would be great.

thanks
brent


--
Brento
------------------------------------------------------------------------
Brento's Profile: http://www.excelforum.com/member.php...o&userid=25213
View this thread: http://www.excelforum.com/showthread...hreadid=567674


daddylonglegs

Between time
 

In D1

=LOOKUP(C1,A1:B64)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=567674


Sandy Mann

Between time
 
I don't know if this is a problem with my XL97 but if I enter the times by
either entering 08:00 in A1 and 08:15 in A2, highlighting them both and
dragging down or use the formula: = A1+TIME(0,15,0), then Daddylonglegs
excelent formula returns the number *before* the required one. If the times
are entered directly then the formula returns the correct result so it is a
problem with the indexing not the formula.

--

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Brento" wrote in
message ...

HI,

If any one could help with this i would be greatful.

I have thetime time in a1 starting at 08:00 and going down the pagein
15 mintue intervals, in the next column i have a number next to the
time.

I would like a formula to be able to read and display the second column
number depending on the time stated in cell c1 in d1.

any help would be great.

thanks
brent


--
Brento
------------------------------------------------------------------------
Brento's Profile:
http://www.excelforum.com/member.php...o&userid=25213
View this thread: http://www.excelforum.com/showthread...hreadid=567674




daddylonglegs

Between time
 

Hi Sandy,

You're right, you really need to input the times manually, see here

http://support.microsoft.com/kb/211830/en-us


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=567674


Sandy Mann

Between time
 
Thank you Daddylonglegs,

I tried precision as displayed as the article suggests but it failed to
correct the problem for me whether applied before or after the data/formula.

It's not very elegant but I found that:

=CEILING(A1+TIME(0,15,0),TIME(0,15,0))

seemed to correct the problem then of course you could copy/paste special
values

Just thinking about creating a large number of progressive usable times

--

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"daddylonglegs"
wrote in message
news:daddylonglegs.2bzh0j_1154640959.0549@excelfor um-nospam.com...

Hi Sandy,

You're right, you really need to input the times manually, see here

http://support.microsoft.com/kb/211830/en-us


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=567674




Sandy Mann

Between time
 
For the archives, if for no other reason, I tried the *precision as
displayed* on XL 2002 at work and it corrected the return form the function.
(But then you all new that would didn't you <g)

However, there are many times when you would not want to have that option
selected.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Sandy Mann" wrote in message
...
Thank you Daddylonglegs,

I tried precision as displayed as the article suggests but it failed to
correct the problem for me whether applied before or after the
data/formula.

It's not very elegant but I found that:

=CEILING(A1+TIME(0,15,0),TIME(0,15,0))

seemed to correct the problem then of course you could copy/paste special
values


Just thinking about creating a large number of progressive usable times

--

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"daddylonglegs"
wrote in
message news:daddylonglegs.2bzh0j_1154640959.0549@excelfor um-nospam.com...

Hi Sandy,

You're right, you really need to input the times manually, see here

http://support.microsoft.com/kb/211830/en-us


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...o&userid=30486
View this thread:
http://www.excelforum.com/showthread...hreadid=567674








Pete_UK

Between time
 
Sandy,

the Microsoft article did not refer to XL97. One could take that to
mean that it is not affected by this "feature", or that the correction
does not work in XL97 (or that it's a bit old so we're not bothered
anyway...)

Pete

Sandy Mann wrote:
For the archives, if for no other reason, I tried the *precision as
displayed* on XL 2002 at work and it corrected the return form the function.
(But then you all new that would didn't you <g)

However, there are many times when you would not want to have that option
selected.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Sandy Mann" wrote in message
...
Thank you Daddylonglegs,

I tried precision as displayed as the article suggests but it failed to
correct the problem for me whether applied before or after the
data/formula.

It's not very elegant but I found that:

=CEILING(A1+TIME(0,15,0),TIME(0,15,0))

seemed to correct the problem then of course you could copy/paste special
values


Just thinking about creating a large number of progressive usable times

--

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"daddylonglegs"
wrote in
message news:daddylonglegs.2bzh0j_1154640959.0549@excelfor um-nospam.com...

Hi Sandy,

You're right, you really need to input the times manually, see here

http://support.microsoft.com/kb/211830/en-us


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...o&userid=30486
View this thread:
http://www.excelforum.com/showthread...hreadid=567674





Sandy Mann

Between time
 
does not work in XL97 (or that it's a bit old so we're not bothered
anyway...)


yer, I always knew I was the poor cousin <g

--

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Pete_UK" wrote in message
oups.com...
Sandy,

the Microsoft article did not refer to XL97. One could take that to
mean that it is not affected by this "feature", or that the correction
does not work in XL97 (or that it's a bit old so we're not bothered
anyway...)

Pete

Sandy Mann wrote:
For the archives, if for no other reason, I tried the *precision as
displayed* on XL 2002 at work and it corrected the return form the
function.
(But then you all new that would didn't you <g)

However, there are many times when you would not want to have that option
selected.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Sandy Mann" wrote in message
...
Thank you Daddylonglegs,

I tried precision as displayed as the article suggests but it failed to
correct the problem for me whether applied before or after the
data/formula.

It's not very elegant but I found that:

=CEILING(A1+TIME(0,15,0),TIME(0,15,0))

seemed to correct the problem then of course you could copy/paste
special
values

Just thinking about creating a large number of progressive usable times

--

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"daddylonglegs"
wrote in
message
news:daddylonglegs.2bzh0j_1154640959.0549@excelfor um-nospam.com...

Hi Sandy,

You're right, you really need to input the times manually, see here

http://support.microsoft.com/kb/211830/en-us


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...o&userid=30486
View this thread:
http://www.excelforum.com/showthread...hreadid=567674








All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com