I have a formula comparing my two schedules (to see if there are any scheduling conflicts).
=COUNTIF($A$2:$A$83,$I2)
That's the formula. My question is, when I copy that formula to the next cell (and column) over to compare schedules in A and J, for instance, how do I get the formula to automatically adjust to the next cell over?
For example, when I copy and paste that formula the normal way, say I copy it, then I highlight the next 20 cells to the right of it to copy it into all of them, what I get is just the same exact formula over and over again in those cells.
I just get this over and over.
=COUNTIF($A$2:$A$83,$I2)
=COUNTIF($A$2:$A$83,$I2)
=COUNTIF($A$2:$A$83,$I2)
=COUNTIF($A$2:$A$83,$I2)
=COUNTIF($A$2:$A$83,$I2)
When what I want to automatically happen is...
=COUNTIF($A$2:$A$83,$I2)
=COUNTIF($A$2:$A$83,$J2)
=COUNTIF($A$2:$A$83,$K2)
=COUNTIF($A$2:$A$83,$L2)
and so on.
How do I get the last part of the formula, the $I2, to automatically adjust one column over for every column to the right I paste it in, while keeping the A's constant?
Bookmarks