I have a simple CF to achieve but don't know how to achieve this.

I have a spreadsheet with times in it. Some times are in bold and some in italic. Whate determines whether it is bold or italic is the value of a separate cell e.g.


The font style in Cell B34 will depend upon the value in Cell B4. How do I set up the CF in Cell B34 to refelect this as Cell B34 has a formula in it not exclusively related to Cell B4?