Pass row number as variable in excel sheet

Assuming your row number is in B1, you can use INDIRECT:


This takes a cell reference as a string (in this case, the concatenation of A and the value of B1 – 5), and returns the value at that cell.

Leave a Comment