+ Reply to Thread
Results 1 to 4 of 4

Copying cells with varied address reference

  1. #1
    Registered User
    Join Date
    07-02-2007
    Posts
    11

    Copying cells with varied address reference

    I have data in rows A1:A100 and then again in rows A501:A600.

    In cell A1001 I want to retrieve A1
    In cell A1002 I want to retrieve A501
    In cell A1003 I want to retrieve A2
    In cell A1004 I want to retrieve A502
    In cell A1005 I want to retrieve A3
    In cell A1006 I want to retrieve A503

    I want to be able to either select these files and copy all the way down to get to A100 and A600 data.

    When I tried the fill handle I get A1, A501, but then A3 because I guess the two rows Im copying is incremented by two instead of 1.

    I've tried some OFFSET formulas to no avail.

    Macro, formulas?

    Thanks in advance, Pete

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copying cells with varied address reference

    In A1000, put this formula: =INDEX($A$1:$A$100, ROWS($A$1:$A1)/2+0.5)

    In A1001, put this formula: =INDEX($A$501:$A$600, ROWS($A$1:$A1)/2+0.5)

    Now highlight and copy the pair down at the same time.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-02-2007
    Posts
    11

    Re: Copying cells with varied address reference

    Worked, thanks. At one time I thought of looking up index

    Pete

  4. #4
    Registered User
    Join Date
    12-13-2019
    Location
    florida
    MS-Off Ver
    Windows 7 Ultimate x64
    Posts
    6

    Re: Copying cells with varied address reference

    thank you for your solution.

+ 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. Replies: 6
    Last Post: 09-30-2016, 03:14 PM
  2. comparing cells for equal but varied text
    By Madfoot99 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2014, 09:43 AM
  3. Copying Cells with Names - And Updating Reference
    By lesoies in forum Excel General
    Replies: 3
    Last Post: 02-16-2013, 01:38 AM
  4. Copying cells that match a reference Cell
    By boll55 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-08-2012, 01:45 AM
  5. Convert text address to cell reference address
    By shaod in forum Excel General
    Replies: 1
    Last Post: 12-23-2011, 01:37 AM
  6. [SOLVED] Reference 5 cells offset from another for copying.
    By justagrunt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-16-2006, 06:00 PM
  7. [SOLVED] How to change an absolute reference while copying cells?
    By Lurka in forum Excel General
    Replies: 7
    Last Post: 05-04-2005, 04:06 AM

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