+ Reply to Thread
Results 1 to 9 of 9

Referencing every Nth Row from another worksheet

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

    Referencing every Nth Row from another worksheet

    Hi,
    I have data in another worksheet in a fixed column, however I want to reference every 55th row onto another worksheet. I have done 4 enters, however when I drag across it reverts to the first entry not the next 55th. There are heaps so I'd rather not manual do. Any help would be appreciated.

    Thankyou

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

    Re: Referencing every Nth Row from another worksheet

    Are you copying the formula down a column or across a row? What is the cell address of the first cell that will hold the formula?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    05-28-2014
    Posts
    4

    Re: Referencing every Nth Row from another worksheet

    Hi Tony,

    My data from the original sheet in down the column, I'm transferring to new sheet across a row.

    ='PC1'!$M4
    ='PC1'!$M59
    ='PC1'!$M114
    etc

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

    Re: Referencing every Nth Row from another worksheet

    I also want to do a more complicated formula later.

    =('PC1'!$K29+'PC1'!$K39+'PC1'!$K49)/('PC1'!$L29+'PC1'!$L39+'PC1'!$L49)
    =('PC1'!$K84+'PC1'!$K94+'PC1'!$K104)/('PC1'!$L84+'PC1'!$L94+'PC1'!$L104)
    etc

    But I thought I'd start with the basics 1st lol.

    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: Referencing every Nth Row from another worksheet

    Let's assume you enter the formula in cell A1.

    =INDEX(PC1!$M4:$M1000,COLUMNS($A1:A1)*55-54)

    Copy across as needed. Adjust for the correct end of range where I use down to row 1000.

  6. #6
    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: Referencing every Nth Row from another worksheet

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-28-2014
    Posts
    4

    Re: Referencing every Nth Row from another worksheet

    Thank-you you're amazing!

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

    Re: Referencing every Nth Row from another worksheet

    Using the COLUMN/ROW functions leaves the formula vulnerable to new column/row insertions before the cell that contains the formula.

    Using the COLUMNS/ROWS functions are more robust.

    If the formula is entered in cell A1:

    COLUMN() = 1

    COLUMNS($A1:A1) = 1

    If you were to insert a new column A:

    COLUMN() = 2

    COLUMNS($B1:B1) = 1

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

    Re: Referencing every Nth Row from another worksheet

    Quote Originally Posted by kmullens View Post
    Thank-you you're amazing!
    Can't tell who you're replying to but in any case, we appreciate 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. [SOLVED] Auto Name Worksheet while referencing diff worksheet
    By fourmurphys in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-15-2013, 12:26 PM
  2. button to copy worksheet with formulas referencing previous worksheet
    By Alexelius in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-28-2011, 09:40 AM
  3. Replies: 3
    Last Post: 01-21-2011, 08:07 AM
  4. Indirect Worksheet Function Referencing Another Worksheet
    By Larry.LeBlanc@O in forum Excel General
    Replies: 1
    Last Post: 11-13-2009, 05:51 PM
  5. [SOLVED] CountIF() in Worksheet B while referencing cells in Worksheet A
    By jfj3rd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-14-2006, 06:30 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