Hi
You have your bracket in the wrong place, which I assume is a typo, not
a copied formula.
You will see B2 in cell B3, because you have put quotes around the
value, therefore you are telling Excel to literally use "B2"
=IF(B1=1,B2,"")
David's initial response would have done the same - had you tried it.