+ Reply to Thread
Results 1 to 12 of 12

Drag formula but skip every other row

  1. #1
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Drag formula but skip every other row

    Hi,

    I am trying to link the cells up in a new workbook the problem is the data I need is setup in a way the formula needs to skip every other row.
    For example:

    Please Login or Register  to view this content.
    When I drag this the next cell down is "C70"
    However I need the formula to be C71 and so on down to C137

    How can you drag a formula yet skip every other row?

    Any Idea's?

    Thank You, Mike
    Last edited by realniceguy5000; 05-11-2009 at 11:19 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Drag formula but skip every other row

    For sake of example let's assume:

    A1: ='[New Totals.xls] Totals'!$C69
    A2: ='[New Totals.xls] Totals'!$C71

    to achieve the above output using a dragged formula from A1

    A1: =INDEX('[New Totals.xls] Totals'!$C$69:$C$1000,1+(2*(ROWS(A$1:A1)-1)))
    drage down ... adjust ranges to suit
    Last edited by DonkeyOte; 05-11-2009 at 11:04 AM.

  3. #3
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Drag formula but skip every other row

    Quote Originally Posted by DonkeyOte View Post
    For sake of example let's assume:

    A1: ='[New Totals.xls] Totals'!$C69
    A2: ='[New Totals.xls] Totals'!$C71

    to achieve the above output using a dragged formula from A1

    A1: =INDEX('[New Totals.xls] Totals'!$C$69:$C$1000,1+(2*(ROWS(A$1:A1)-1)))
    drage down ... adjust ranges to suit
    Thanks!!! I have no idea how that works but it appears to be working just fine...

    Thanks Again for your help!!!
    Mike

  4. #4
    Registered User
    Join Date
    08-30-2012
    Location
    Dunedin, New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Drag formula but skip every other row

    Thank you so much DonkeyOat with a little tweaking you have given my the formula to solve a pain every second date reference I have had for weeks thank you soooo much!!

  5. #5
    Registered User
    Join Date
    09-22-2014
    Location
    Sudbury, Ontario, Canada
    MS-Off Ver
    2007
    Posts
    1

    Re: Drag formula but skip every other row

    I'm trying to do the opposite as this. On one page I have a list of dates that I'm trying to copy to a different work page.
    Where I'm putting the results there are titles on every second row and every third row is hidden.

    Ex:
    A5= '% Solids'!A2
    A8= '% Solids'!A3
    A11='% Solids'!A4
    and so on

    how would the formula work for that?

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Drag formula but skip every other row

    devonlabelle,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ben Van Johnson

  7. #7
    Registered User
    Join Date
    09-01-2015
    Location
    London Town
    MS-Off Ver
    Excel for Mac
    Posts
    5

    Re: Drag formula but skip every other row

    Thanks very much for posting this!

  8. #8
    Registered User
    Join Date
    11-10-2015
    Location
    San Diego, CA
    MS-Off Ver
    2013
    Posts
    1

    Re: Drag formula but skip every other row

    Quote Originally Posted by protonLeah View Post
    devonlabelle,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    I registered an account for the sole purpose of providing the following feedback:
    This is not a bad policy, but the way you've applied it here is. The follow-up question was 100% relevant to the original question, and was the same question I had that caused Google to lead me to this discussion. I can't describe the level of irritation your response caused. Your action does not foster the exchange of relevant information but rather impedes it. I hope feedback like mine causes you to rethink such a pointlessly and detrimentally rigid approach to discussion in the future. Feel free to delete my account - I only created it for you.

  9. #9
    Registered User
    Join Date
    04-18-2016
    Location
    Malaysia
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Drag formula but skip every other row

    I am using index formula to represent horizontal data into vertical one. And the balance is updated every week skipping three rows. How can i use the formula to show the latest figures automatically?

    Capture.PNG

  10. #10
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Drag formula but skip every other row

    harryxmin,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

  11. #11
    Registered User
    Join Date
    09-10-2018
    Location
    Denver, CO
    MS-Off Ver
    2016
    Posts
    1

    Re: Drag formula but skip every other row

    Quote Originally Posted by devonlabelle View Post
    I'm trying to do the opposite as this. On one page I have a list of dates that I'm trying to copy to a different work page.
    Where I'm putting the results there are titles on every second row and every third row is hidden.

    Ex:
    A5= '% Solids'!A2
    A8= '% Solids'!A3
    A11='% Solids'!A4
    and so on

    how would the formula work for that?
    Did you ever find a solution to this?

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Drag formula but skip every other row

    I don't want to read through 11 posts to try to figure out what you want. Please start your own thread. ALSO...

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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