Google Sheets – ‘Lock’ Part of Formula When Copying Cells

google sheets

I have the following formula in a Google Spreadsheet:

=IF(I11="VSS";G11;IF(I11="MCS";0;G11*Totais!C30))

I would like to freeze Totais!C30 when I click on bottom right of cell and drag down.

Currently when I do this, Totais!C30 change to Totais!C31, Totais!C32,…

Best Answer

By adding a $ in front of the column & row you can lock that specific area up when copying.

Example: Totais!$C$30 would lock down when copying anywhere else in the document. Totais!$C30 would lock down moving column to column. Totais!C$30 would lock down when moving down rows.