Forum Discussion

rkrastel's avatar
rkrastel
Copper Contributor
Aug 01, 2023

Copying and Filling with Formula Logic

Hi everyone, I am currently having a lot of difficulty in understanding how I may achieve this. As indicated in the title, I have a specific formula that I would like to have copied down and to retain the logic of that formula

 

Ideally, I would be able to copy the logic as follows (maintaining the same column, but adding +7 for the Row value) from C11 down:

 

C11: "=COUNTIF('Sheet_1'!C97:Z97,1)"
C12: "=COUNTIF('Sheet_1'!C104:Z104,1)"
C13: "=COUNTIF('Sheet_1'!C111:Z111,1)"
etc..

 

What would the best approach be to tackle this scenario? 

5 Replies

    • rkrastel's avatar
      rkrastel
      Copper Contributor
      Hi, thank you for your suggestion! Unfortunately with this formula, I am receiving a "TRUE" statement when I would instead be looking to receive the corresponding COUNTIF calculation.

      Just for clarity/visibility, I added the formula you suggested in C12
      • flexyourdata's avatar
        flexyourdata
        Iron Contributor

        rkrastel 

         

        I see. I misunderstood. I thought your calculation was comparing the content of C11 with the COUNTIF. 

         

        I see now that you want to put the COUNTIF in C11. 

         

        Try this instead:

         

        =COUNTIF(OFFSET(C97:Z97,(ROW()-11)*6,0),1)

         

Resources