Forum Discussion

jomacapdb1's avatar
jomacapdb1
Copper Contributor
Oct 10, 2020

Row dependent function

Want to form a function that is row dependent.

For given columns E & G, the following functions appear in cells G7, G8 & G9 :

G7=G6-E7

G8=G7-E8

G9=G8-E9

Form a general function of these equations so that there is no need to individually type in each equation for each cell.

12 Replies

    • jomacapdb1's avatar
      jomacapdb1
      Copper Contributor

      HansVogelaar What goes inside the brackets? Does this formula need to be inserted into the relevant cell for each row? Not yet tried it out.

      • HansVogelaar's avatar
        HansVogelaar
        MVP

        jomacapdb1 

        Nothing goes inside the brackets. ROW() returns the row number of the cell with the formula, and COLUMN() the column number of the cell with the formula.

        Select the range into which you want the formulas, enter or copy/paste the formula from my previous reply and confirm it with Ctrl+Enter to enter it in all cells of the selection.

Resources