+ Reply to Thread
Results 1 to 8 of 8

How to drag a formula while skipping every other cell reference

Hybrid View

  1. #1
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: How to drag and skip cell reference

    It looks as if you just want the 90 in the ROW function to increase by 2 for each successive row. You can do that like this in A2:

    =(IF(ISNUMBER(HLOOKUP(Sheet1!$C$10,'Sheet2'!$D$2:$O$1660,ROW(88+2*ROWS($1:1):$1083),FALSE)),HLOOKUP(Sheet1!$C$10,'Sheet2'!$D$2:$O$1660,ROW(88+2*ROWS($1:1):$1083),FALSE),0))/1000

    then copy down.

    Hope this helps.

    Pete

  2. #2
    Registered User
    Join Date
    08-05-2013
    Location
    new york city, new york
    MS-Off Ver
    Excel 2011
    Posts
    20

    Re: How to drag and skip cell reference

    It didn't work. it says the formula you typed containts an error

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: How to drag and skip cell reference

    Okay, try it like this in A2:

    =(IF(ISNUMBER(HLOOKUP(Sheet1!$C$10,'Sheet2'!$D$2:$O$1660,ROW(INDIRECT(88+2*ROWS($1:1)&":$1083")),FALSE)),HLOOKUP(Sheet1!$C$10,'Sheet2'!$D$2:$O$1660,ROW(INDIRECT(88+2*ROWS($1:1)&":$1083")),FALSE),0))/1000

    Then copy down.

    Hope this helps - if not, then post an example workbook so we can see what you are trying to do.

    Pete

  4. #4
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: How to drag and skip cell reference

    Hmmm... now that I'm looking at the formula rather than how to adapt for skipping rows, you're using an array of numbers for the HLOOKUP row index argument. In a non-array formula, you can only use one number (positive integer) for the row index argument. 90 to 1083 is approaching 1000 numbers.

+ 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. Drag and drop formula while skipping cells in the reference.
    By Carlos90 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2013, 05:57 PM
  2. [SOLVED] Drag down range formula (skipping one row)
    By thaphthia in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-08-2013, 12:52 PM
  3. [SOLVED] Drag/Fill column while skipping multiple reference rows in another worksheet
    By chandlerrw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-22-2013, 07:59 PM
  4. [SOLVED] how to drag and copy a formula by skipping rows
    By loboexcel in forum Excel General
    Replies: 7
    Last Post: 12-17-2012, 11:18 AM
  5. Replies: 3
    Last Post: 10-04-2012, 02:49 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