Multiplying column values in Google Spreadsheet with ability to add/delete rows -
i have invoice, there 2 columns: rate (column h) , quantity (column i). , there amount (column j).
i need formula automatically multiply rate , quantity , show in amount. number of rows changing (added or deleted), formula should still work.

the following arrayformula() spans row 5 ("books name") row 14 ("total price"), adding rows or deleting them should not problem:
=arrayformula(if((c5:c14="books name")+(c5:c14="total price")=1,"",h5:h14*i5:i14)) 
however, since formula have reside in column j, following formula more useful:
=arrayformula(if(c5:c14="books name","amount",if(c5:c14="total price","",h5:h14*i5:i14)))
Comments
Post a Comment