A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
A formula cannot duplicate the formatting of cells it refers to. In particular, if a cell has mixed formatting (for example one word in bold, another in red), it is impossible to have a formula recreate that.
On the other hand, if you apply conditional formatting to a cell, you can apply the same (or similar) conditional formatting rules to another cell containing a formula that refers to the first cell.