Google-sheets – Add new row while keeping functions in new Google Spreadsheets

formulasgoogle sheets

In the new Google Spreadsheets, I'm trying to make a simple spreadsheet which will assign points to my salesmen regarding some actions they complete.

I would like to be able to add a new row below the 2nd row that replicates the formula I have in column "U":

=COUNTIF(H3:Q3,"email")+(COUNTIF(H3:Q3,"response")*2)+(COUNTIF(H3:Q3,"call")*5)+(COUNTIF(H3:Q3,"deal")*10)

Ideally, in Excel I would use a macro, but I'm lost here…

Best Answer

Either I'm totally misunderstanding what the problem is, or this is very easy with no macros required (in either tool).

Making a new row is easy, just select row 2, and then choose InsertRow below from the menus.

Then, to replicate the formula you have in column U (I'm assuming just in the new cell is that row):

  • click on one the formula in one of the other rows;
  • press F2, to go into editing mode select the whole formula;
  • copy it—Ctrl+C;
  • click into the cell where you need to place it;
  • paste it—Ctrl+V.