Results 1 to 5 of 5

How to change cell reference for countif formula for every nth row

Threaded View

  1. #1
    Registered User
    Join Date
    03-26-2021
    Location
    Paris
    MS-Off Ver
    Office 365
    Posts
    8

    How to change cell reference for countif formula for every nth row

    Hello, my question is regarding changing cell reference for every 5th row.

    My formula in use is as such,

    From Cell E2 to E5
    IF(COUNTIF(D$2:D$5,"2")>=3,"Active",IF(AND(COUNTIF(D$2:D$5,"2")>=1,COUNTIF(D$2:D$5,"2")<3),"Rarely active","Inactive"))

    But from Cell E6 to E9 I need the formula to change cell reference. So the formula should become
    IF(COUNTIF(D$6:D$9,"2")>=3,"Active",IF(AND(COUNTIF(D$6:D$9,"2")>=1,COUNTIF(D$6:D$9,"2")<3),"Rarely active","Inactive"))

    And this goes for about 10k rows. Therefore I need a quicker way to make the cell reference change. Please help me!

    Thanks ExcelForum fam!
    Last edited by Abis; 06-02-2021 at 05:52 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy formula across cells not changing cell reference COUNTIF
    By rj16184 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-08-2018, 05:55 AM
  2. [SOLVED] Cell reference in a countif formula
    By Losguapos1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-20-2018, 07:11 PM
  3. Reference a dynmaic range from one cell into a countif formula
    By jdoerr1021 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-06-2017, 07:46 PM
  4. Replies: 1
    Last Post: 02-11-2015, 01:56 PM
  5. [SOLVED] countif formula changes cell values and cell reference is unchanged
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-24-2014, 11:37 AM
  6. COUNTIF formula with reference to cell above
    By pri31 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2013, 08:07 AM
  7. Dragging formula, change sheet reference, but not cell reference
    By Kalilaya0419 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2013, 04:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1