You could try this formula:
Adjust the range as necessary.
This will blanket a whole range, remove the last character of each, then add them together.
If you really have only
R but can have bare numbers like
10, then you could use this instead:
NOTE: Both of the above formulae should be called with Ctrl+Shift+Enter after having input them in a cell since they are array formulae.
EDIT: To get alternate columns, you can use this:
Again, you need to use Ctrl+Shift+Enter for it to work properly.
For the next column (the ones that should be installed), you simply change the order of the 1's and 0's:
Notice that there is a number for each of the cells within the range (C4:R4 has 16 cells, therefore there are 8 1's and 8 0's)