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

Keep Cell reference in a formula fixed while adding columns to a sheet of data [duplicate]

$
0
0

I have a spreadsheet with multiple sheets, and many rows and columns of data. I like to count the number of each occurance of every value for the last "x" values entered. The problem is that when I add a new column, it changes the formula and moves the cells that it references.
Example:

This is the formula that is in Cell C10 of Sheet 6, which references the data in Sheet 3.

=COUNTIF(Sheet3!A11:Z110,"=1")

Every day, I add another column to Sheet 3 all the way on the left (left of Column A). I still want to perform the same formula in cell C10 of Sheet 6, but when I add the column to sheet 3, the new formula is

=COUNTIF(Sheet3!A11:AA110,"=1")

The new formula is fine for counting the data in the new column that I added "A", but now it has added column "AA" to the formula. I still only want to count the data from column A to Column Z.

Please help.


Viewing all articles
Browse latest Browse all 9713

Latest Images

Trending Articles



Latest Images

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