[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

bony_tony

12/12/2006 11:26:00 PM

assuming you've got =now() in cell A1;

=IF(AND(A1-ROUNDDOWN(A1,0)>=0.5833333,A1-ROUNDDOWN(A1,0)<=0.625),B5,"")

Tony
AMP

wildauk wrote:
> Hi, I would like to put live time in a cell (I think with NOW) and put in a
> formula in say cell a5 that would show the contents of say cell b5 if it is
> between 14:00 hrs and 15:00 hrs in the time cell, any ideas???
> Thanks in advance, Barry.

3 Answers

wildauk

12/12/2006 11:40:00 PM

0

Thanks Tony, how did you get the numbers for the time as I would like to do a
couple more time periods.

Barry.

"bony_tony" wrote:

> assuming you've got =now() in cell A1;
>
> =IF(AND(A1-ROUNDDOWN(A1,0)>=0.5833333,A1-ROUNDDOWN(A1,0)<=0.625),B5,"")
>
> Tony
> AMP
>
> wildauk wrote:
> > Hi, I would like to put live time in a cell (I think with NOW) and put in a
> > formula in say cell a5 that would show the contents of say cell b5 if it is
> > between 14:00 hrs and 15:00 hrs in the time cell, any ideas???
> > Thanks in advance, Barry.
>
>

bony_tony

12/13/2006 2:27:00 AM

0

Type in a time you want in a cell, then press;
format----->cells---->number(with as many decimals places as you want)

Tony


wildauk wrote:
> Thanks Tony, how did you get the numbers for the time as I would like to do a
> couple more time periods.
>
> Barry.
>
> "bony_tony" wrote:
>
> > assuming you've got =now() in cell A1;
> >
> > =IF(AND(A1-ROUNDDOWN(A1,0)>=0.5833333,A1-ROUNDDOWN(A1,0)<=0.625),B5,"")
> >
> > Tony
> > AMP
> >
> > wildauk wrote:
> > > Hi, I would like to put live time in a cell (I think with NOW) and put in a
> > > formula in say cell a5 that would show the contents of say cell b5 if it is
> > > between 14:00 hrs and 15:00 hrs in the time cell, any ideas???
> > > Thanks in advance, Barry.
> >
> >

bony_tony

12/13/2006 6:18:00 AM

0

Or if you want to be mathmatical x=(1/24)*14 where 24 are the hours in
the day, and 14 is the 14th hour (2PM) ; - )

Tony

On Dec 13, 10:40 am, wildauk <wild...@discussions.microsoft.com>
wrote:
> Thanks Tony, how did you get the numbers for the time as I would like to do a
> couple more time periods.
>
> Barry.
>
>
>
> "bony_tony" wrote:
> > assuming you've got =now() in cell A1;
>
> > =IF(AND(A1-ROUNDDOWN(A1,0)>=0.5833333,A1-ROUNDDOWN(A1,0)<=0.625),B5,"")
>
> > Tony
> > AMP
>
> > wildauk wrote:
> > > Hi, I would like to put live time in a cell (I think with NOW) and put in a
> > > formula in say cell a5 that would show the contents of say cell b5 if it is
> > > between 14:00 hrs and 15:00 hrs in the time cell, any ideas???
> > > Thanks in advance, Barry.- Hide quoted text -- Show quoted text -