+ Reply to Thread
Results 1 to 5 of 5

How to skip columns whilst dragging a formula

  1. #1
    Registered User
    Join Date
    05-22-2014
    Posts
    4

    How to skip columns whilst dragging a formula

    I have data fields on every 4th column in a target sheet and wish to interrogate this with formulas from a query sheet in the same XL file whilst eliminating the null data I'd get in the three intervening columns if I just dragged the formulas across. Essentially I want my formula to skip 3 cells in the target sheet when I drag it 1 column across in the query sheet. I've been trying the indirect & offset commands with "column" references as discussed in some threads , but have not been able to make them work for me and realise I am not understanding something in the construction of these formulas that are offsetting or skipping columns. An example I can replicate and understand would be appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: How to skip columns whilst dragging a formula

    Do the columns in the target sheet have unique headings? If so you could use the MATCH function in conjunction with an OFFSET function. In order for us to provide an example it would be best if we had an example to work with. Can you upload a sample file (with sanitised data)?

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to skip columns whilst dragging a formula

    Does this help...

    We want to return the data from every 4th cell starting at cell A1.

    Data Range
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    1
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    2
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    3
    4
    5
    1
    5
    9
    13


    This formula entered in A5 and copied across:

    =INDEX($A1:$O1,COLUMNS($A5:A5)*4-4+1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    05-22-2014
    Posts
    4

    Re: How to skip columns whilst dragging a formula

    Thank you so much, this was a great reply, the picture and the formula helped me figure out what was going on and I've got it working. Once again many thanks.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to skip columns whilst dragging a formula

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. skip 1 cell when dragging down formula
    By excelhelpneeds in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2014, 01:30 PM
  2. [SOLVED] How to skip columns when dragging formulas?
    By mandar86 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-03-2013, 05:02 AM
  3. [SOLVED] Skip column when dragging formula.
    By D_N_L in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2012, 07:42 AM
  4. Skip every other line while dragging formula
    By dlswa in forum Excel General
    Replies: 2
    Last Post: 03-05-2012, 09:31 PM

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