Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9628

how to do math in google sheets relative to a cell?

$
0
0

I'm working on some things relating to properties of one dimensional cellular automata, and am trying to make a function in which the value of a cell in column A is equal to the sum of all other cells in its row, instead of them all being a specific row. this is to make it so that column A can be a sort of timeline of populations, is this possible, and if so, what statement should i use? for example, if row 1 has twelve live cells, then the value in A1 should be 1+1+1+1+1+1+1+1+1+1+1+1, or 12, but if row 2 has 5 live cells, then the value in A2 should be 1+1+1+1+1, or 5.


Viewing all articles
Browse latest Browse all 9628

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>