Forum Discussion

hjameelq's avatar
hjameelq
Copper Contributor
Sep 22, 2021

Adding a formula to a column and make it auto-repetitive and deactivate the column

Hi Guys,

I want to add a formula to the column to the first cell, and then to be repeated for each new row, knowing that I want to disable this column because it is calculated and I do not want the user to change it. In addition, I still want the end-user to change other columns. 

16 Replies

  • Yea_So's avatar
    Yea_So
    Bronze Contributor

    hjameelq 

     

    So this calculated column, does the user have any use for it? or its just for your own use?

  • hjameelq 

    This formula will multiply column B with Column C for each row. Calculated with ROWS:

     

    =INDEX(B2:C11;SEQUENCE(ROWS(B2:B11)),1)*INDEX(B2:C11;SEQUENCE(ROWS(B2:B11)),2)

      Lock and password protect column A

     

     

  • If you want to lock the column reference you just need to put dollar sign before the column $
    =FORMULA($A2)
    If you want to lock the Row reference you just need to put dollar sign before the row $
    =FORMULA(A$2)
    If you want lock both just put dollar sign on both
    =FORMULA($A$2)
    • hjameelq's avatar
      hjameelq
      Copper Contributor
      But I will have to drag it myself, it will not repeat itself and I do not how many records we might have...
      • tabs's avatar
        tabs
        Copper Contributor

        Did you ever get an answer to your question? This is exactly what i'm looking to do, and every article i find either says drag, or double click. I just want the entire column filled to ∞, except for the title.

Resources