+ Reply to Thread
Results 1 to 3 of 3

Pattern in formulas dragging

  1. #1
    Registered User
    Join Date
    02-11-2019
    Location
    Zwolle, the Netherlands
    MS-Off Ver
    2016
    Posts
    2

    Pattern in formulas dragging

    Hi everyone,

    I have this problem: I have a formula which contains searching for particular numbers in cells. I need to know how to repeat this formula for every following 95 cells.

    This is my first formula:
    =(SUMIF(H2:H97;">19000")/4)-(19000*COUNTIF(H2:H97;">19000")/4)


    By dragging I want it to be the following:
    =(SUMIF(H98:H193;">19000")/4)-(19000*COUNTIF(H98:H193;">19000")/4)


    This means, these ranges have to increase by 95. I have to do this till cell H35041, so doing it by hand isn't really an option.


    Can anyone help me? This is my first time on this forum, so I don't know if I've asked the question right.


    Cya

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Pattern in formulas dragging

    Each row should increase by 96 not 95, H2:H97 is 96 rows.

    =(SUMIF(INDIRECT("H"&(ROWS($1:1)-1)*96+2&":H"&(ROWS($1:1)-1)*96+97);">19000")/4)-(19000*COUNTIF(INDIRECT("H"&(ROWS($1:1)-1)*96+2&":H"&(ROWS($1:1)-1)*96+97);">19000")/4)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    02-11-2019
    Location
    Zwolle, the Netherlands
    MS-Off Ver
    2016
    Posts
    2

    Re: Pattern in formulas dragging

    Thank you very much! It worked perfectly!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dragging formulas
    By Tango T in forum Excel General
    Replies: 5
    Last Post: 04-11-2016, 09:13 PM
  2. Dragging formulas
    By Finalfrontier1976 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-20-2016, 10:35 AM
  3. [SOLVED] Dragging Formulas Down
    By hftechno in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2014, 02:01 AM
  4. Excel 2007 : Dragging formulas down
    By mkmed in forum Excel General
    Replies: 8
    Last Post: 06-15-2010, 12:33 PM
  5. Dragging formulas
    By gevo12321 in forum Excel General
    Replies: 3
    Last Post: 01-29-2010, 08:53 PM
  6. [SOLVED] Dragging Formulas
    By J.D. Webster in forum Excel General
    Replies: 1
    Last Post: 02-06-2006, 05:35 PM
  7. dragging formulas
    By rmarks in forum Excel General
    Replies: 5
    Last Post: 11-18-2005, 07:44 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