How to copy a cell's formatting using a formula?

Posted by Alvin Lim on Super User See other posts from Super User or by Alvin Lim
Published on 2012-10-17T09:17:58Z Indexed on 2012/10/17 11:06 UTC
Read the original article Hit count: 325

Filed under:
|

For example, cell A1 contains the text "Hello World" which is in bold.

In cell A2, I use the formula =A1. Therefore cell A2 now also contains "Hello World", but it is not in bold. How can I modify the formula to also copy the formatting (in this case, bold) of A1?

A more complex example is strikethrough properties, i.e. A1 contains "Orange/Red". How do I show the same content in cell A2 dynamically, so that any changes made in A1 will update A2 as well?

© Super User or respective owner

Related posts about microsoft-excel

Related posts about excel-2007