A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
If 2,3,4 is in range B1:D1 and A:E is in range A1:A5, then in cell B2, enter this formula
=A$1&$B1
I believe your formula to be corrected by interchanging $ and it should have been =$A1&B$1
May be if data is like this screen shot then, the formula in B2 would be
=$A2&B$1 and then right/down.