How to lock in specific cells in a formula going down rows

JoshL - Jun 24, 2022 at 12:44 AM
 JoshL - Jun 27, 2022 at 09:42 PM
I am having an issue with easily repeating a formula I've made. the formula is


I want to lock in the 'K' and 'L' values so as the 'AP' values are increasing going down the rows of the spreadsheet, the 'K' and 'L' values remain the same.

Every time I click and drag to try and repeat the formula going down the spreadsheet excel automatically wants to change all the values, for example like this


I want the 'AP' values to increase down the rows of the spreadsheet but I do want the 'K' and 'L' values to increase. Any advice on how I could accomplish this? Than you for your help.

System Configuration: Windows / Edge 101.0.1210.39

1 response

TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 552
Jun 27, 2022 at 12:01 PM
Hi JoshL,

What you are looking for is the dollar symbol.

When you place it in front of a column letter, dragging that cell horizontally won't change the column letter.
Placing it in front of a row number, dragging that cell vertically won't change the row number.
You can also place it in front of both column letter and row number to lock the cell reference completely.

When placing your cursor in the middle of a cell reference (or multiple / all) of your formula, hitting F4 will cycle through all the variations.

In short, your formula would look like this:

Best regards,

Hi Trowa,

Thank you so much! That worked perfectly, really appreciate your help. Have a good day.

Kind regards,