Yes, the formula you provided can automatically adjust the row number when pasted into a different row in Excel. This behavior is due to Excel's relative referencing feature. When you use a formula like =CONCAT("CP-",K7,".",N7,L7) and paste it into another row, Excel will automatically change the row references to match the new row number.
For example, if you paste the formula into row 56, it will change to =CONCAT("CP-",K56,".",N56,L56). This allows you to maintain the same formula structure while applying it across different rows without needing to manually adjust the row numbers.
If you want to ensure that certain references remain constant (for example, if you want to always refer to K7), you can use absolute references by adding dollar signs, like this: =CONCAT("CP-",$K$7,".",N7,L7). In this case, K7 will not change when you paste the formula into another row.
Overall, your formula will work as intended when pasted into different rows, adjusting the row numbers automatically.