ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional Formatting for ddd hh:mm (https://www.excelbanter.com/excel-worksheet-functions/125487-conditional-formatting-ddd-hh-mm.html)

Alexander

Conditional Formatting for ddd hh:mm
 
Dear all,

Take for example if I want to set Bold / Colour font - Everyday from 1800 to
next day 0900 in a cell whom has a value in a format of ddd hh:mm

How should I go about it?

Thanks in advance!

Bob Phillips

Conditional Formatting for ddd hh:mm
 
Us conditional formatting with a formula of

=OR(A2=TIME(18,0,0),A2<=TIME(9,0,0))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Alexander" wrote in message
...
Dear all,

Take for example if I want to set Bold / Colour font - Everyday from 1800

to
next day 0900 in a cell whom has a value in a format of ddd hh:mm

How should I go about it?

Thanks in advance!




David Biddulph

Conditional Formatting for ddd hh:mm
 
If you've got date *and* time in your input cell, you probably need to
change that to
=OR(MOD(A2,1)=TIME(18,0,0),MOD(A2,1)<=TIME(9,0,0) )
--
David Biddulph

"Bob Phillips" wrote in message
...
Us conditional formatting with a formula of

=OR(A2=TIME(18,0,0),A2<=TIME(9,0,0))


"Alexander" wrote in message
...
Dear all,

Take for example if I want to set Bold / Colour font - Everyday from 1800

to
next day 0900 in a cell whom has a value in a format of ddd hh:mm

How should I go about it?

Thanks in advance!





All times are GMT +1. The time now is 02:13 AM.

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