Prob very simple to do but I cant figure it out. All I want to do is enetr a formula in every cell in a column until I reach the end of the dataset (the data can vary in size and rows).

So lets say I start in cell J2, how do I enter a formula in J2, then move down to J3, J4 etc. until it reaches the end Many thanks.