+ Reply to Thread
Results 1 to 5 of 5

Formula in first, third and fifth row. How do I copy down with correct references?

  1. #1
    Registered User
    Join Date
    02-18-2022
    Location
    US
    MS-Off Ver
    Mac
    Posts
    4

    Unhappy Formula in first, third and fifth row. How do I copy down with correct references?

    Going to try and explain this. I have a 9 rows. There is a formula in the first, third, and fifth row. The formula is the same, but references a cells in another sheet. For example:

    B2 ='MyOtherSheet'!A2
    B3 =B2 (this sheet)
    B4 =B2 (this sheet)
    B5 ='MyOtherSheet'!A3
    B6 =B5 (this sheet)
    B7 =B5 (this sheet)
    B8 ='MyOtherSheet'!A4
    B9 =B8 (this sheet)
    B10 =B8 (this sheet)

    I adjusted the formulas in A2, A5, and A8 by hand to make them show what I need to. I was hoping, at this point, I could copy down and get the same result. Instead, the formulas in those cells copy down like so:

    B11 ='MyOtherSheet'!A7
    B12 =B11 (this sheet)
    B13 =B12 (this sheet)

    when I really want it to be:

    B11 ='MyOtherSheet'!A5
    B12 =B11 (this sheet)
    B13 =B11 (this sheet)

    It's a total wreck. I looked for a solution for a while today, but I'm not even sure I know what I'm looking for. What do you think?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,451

    Re: Formula in first, third and fifth row. How do I copy down with correct references?

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


    and pull down

    Adapt range as needed but be sure the INDEX range starts in A1

  3. #3
    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,100

    Re: Formula in first, third and fifth row. How do I copy down with correct references?

    or, more generically, (use the range of the values to be copied)... but otherwise no better or no worse...

    =IFERROR(INDEX(Sheet2!$A$2:$A$11,1+INT((ROWS(B$2:B2)-1)/3)),"")
    Attached Files Attached Files
    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

  4. #4
    Registered User
    Join Date
    02-18-2022
    Location
    US
    MS-Off Ver
    Mac
    Posts
    4

    Re: Formula in first, third and fifth row. How do I copy down with correct references?

    Appreciate it Glenn and Pepe. I was way off in figuring this out. I'm going to try both and see if I can't understand what exactly is happening with these formulas.

  5. #5
    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,100

    Re: Formula in first, third and fifth row. How do I copy down with correct references?

    If you get stuck... ask. Use formulas/formula auditing/evaluate formula to step through what Excel is doing.

+ 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. Duplicating Worksheet Maintaining Correct References
    By WSU2018 in forum Excel General
    Replies: 4
    Last Post: 01-05-2018, 01:09 PM
  2. How to copy formula references across in increments
    By The_Snook in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-19-2015, 07:45 AM
  3. how to copy formula in correct way
    By sunwordelite in forum Excel General
    Replies: 0
    Last Post: 10-05-2009, 02:14 PM
  4. [SOLVED] When I sort how do I keep cell references correct?
    By GLS in forum Excel General
    Replies: 3
    Last Post: 12-03-2005, 12:59 PM
  5. copy formula using same references
    By macsworks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-30-2005, 09:55 PM
  6. Copy a formula across for row references
    By TimT in forum Excel General
    Replies: 2
    Last Post: 09-21-2005, 03:05 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