Forum Discussion

asacristano's avatar
asacristano
Copper Contributor
Oct 26, 2023

excel : write in a specific cell

good evening.
how to write data in a specific cell.
given two columns A and B, in A I have the name of the cell where I want to put the content of column B.
thank you. 

3 Replies

  • asacristano 

    One option would be a VBA macro.

    If you'd rather not use VBA, you can use formulas, but you'd have to enter them in the entire range that could be covered by the cell addresses in column A.

    Enter the formula

    =XLOOKUP(ADDRESS(ROW(),COLUMN(),4),$A:$A,$B:$B,"")

    in all cells of that range.

Resources