google spreadsheet - Is it more efficient to make one calculation N times, or to create a cell containing the result of that calculation and reference it N times? -


consider 2 below spreadsheets. produce same data, first makes calculation twice, whereas second has column dedicated result of calculation it's made once.

0 |  | b  | c  | d  | e  | f                   | g 1 | xx | yy | zz | nn | qq | =sum(a1,b1,c1) * d1 | =sum(a1,b1,c1) * e1 

0 |  | b  | c  | d  | e  | f              | g        | h 1 | xx | yy | zz | nn | qq | =sum(a1,b1,c1) | =f1 * d1 | =f1 * e1 

if high-traffic spreadsheet, configuration more efficient? programmer in me says second way more efficient since doesn't duplicate code, ui engineer in me says first way more efficient because adding column requires more memory running calculations.

i'm not sure more correct, , unsure how test it. thanks!


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -