+ Reply to Thread
Results 1 to 5 of 5

copy & increment row +1 w index/match formula

  1. #1
    Registered User
    Join Date
    05-01-2008
    Posts
    29

    copy & increment row +1 w index/match formula

    I have searched all over and can not find a thread that addresses my issue. If I missed it - please help and direct me to it. My issue is that someone helped me on this forum with the following formula which works great. However, I need to copy it down at least 200 rows. Problem is when I've copied it down - row 1 stays as row 1. I need that to increment +1 because right now I am going in and manually changing the formula I copied down. There has got to be a better way.

    [I even learned about macros and tried Range("P1:P200").Formula = "=INDEX(Matrix!$B$8:$IV$65500,1,MATCH($B$1,Matrix!$1:$1,0))" but had the same problem. It copied 1 all the way down.]

    Currently when copied - formula looks like this:
    =INDEX(Matrix!$B$8:$IV$65500,1,MATCH($B$1,Matrix!$1:$1,0))
    =INDEX(Matrix!$B$8:$IV$65500,1,MATCH($B$1,Matrix!$1:$1,0))
    =INDEX(Matrix!$B$8:$IV$65500,1,MATCH($B$1,Matrix!$1:$1,0))

    Desired Result when copied - to look like this:
    =INDEX(Matrix!$B$8:$IV$65500,1,MATCH($B$1,Matrix!$1:$1,0))
    =INDEX(Matrix!$B$8:$IV$65500,2,MATCH($B$1,Matrix!$1:$1,0))
    =INDEX(Matrix!$B$8:$IV$65500,3,MATCH($B$1,Matrix!$1:$1,0))

    Any help would be immensely appreciated.
    Cindy

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =INDEX(Matrix!$B$8:$IV$65500,Rows($A$1:$A1),MATCH($B$1,Matrix!$1:$1,0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-01-2008
    Posts
    29

    Thank you sooo much.

    I'm amazed at how much information is contained in this forum and that people like you are so willing to help. I've spent hours on this and you answered it in a minute. THANK YOU! BTW - I tried it and it works great if you couldn't tell.

  4. #4
    Registered User
    Join Date
    05-01-2008
    Posts
    29

    also...

    Cute baby!

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by cdl
    Cute baby!

    Thank You.... and thanks for the positive feedback....

+ 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