+ Reply to Thread
Results 1 to 7 of 7

Index-Match drag in rows Horizontally

  1. #1
    Registered User
    Join Date
    02-16-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    70

    Index-Match drag in rows Horizontally

    Hi all,

    Please see attached file and help me to drag Index-Match formula in rows instead of columns.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Index-Match drag in rows Horizontally

    Hi,

    Try this formula in J1 and drag to right:

    Please Login or Register  to view this content.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Registered User
    Join Date
    02-16-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    70

    Re: Index-Match drag in rows Horizontally

    Quote Originally Posted by GC Excel View Post
    Hi,

    Try this formula in J1 and drag to right:

    Please Login or Register  to view this content.

    Thanks for your quick response.
    this formula does not work, it return only one value A when drag.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Index-Match drag in rows Horizontally

    I would suggest that you put this formula in C1:

    =IF(A1="","-",A1&"_"&COUNTIF(A$1:A1,A1))

    and copy this down to below your data (the hyphens will indicate where it is active). Then you can put this formula in J1:

    =IFERROR(INDEX($B$1:$B$16,MATCH($I1&"_"&COLUMNS($J:J),$C$1:$C$16,0)),"")

    which can be copied across and down as required.

    The attached file demonstrates this.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Index-Match drag in rows Horizontally

    Thanks for your quick response.
    this formula does not work, it return only one value A when drag.
    Can it be that your calculations settings are set to manual?
    Press F9 and tell me if the values change?

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Index-Match drag in rows Horizontally

    ARRAY formula in J1, then dragged across
    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-16-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    70

    Re: Index-Match drag in rows Horizontally

    Thanks guys.
    you are all amazing.

+ 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] Drag horizontally and copy vertical cells
    By shamskh2 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 04-11-2020, 12:33 PM
  2. [SOLVED] Drag autosum formula down but refrences cells horizontally
    By cmorten82 in forum Excel General
    Replies: 2
    Last Post: 05-26-2015, 02:31 PM
  3. formula to drag horizontally to equal vertical cells
    By jasonanthony in forum Excel General
    Replies: 6
    Last Post: 05-14-2015, 03:24 AM
  4. How do you drag down an index match function with multiple criteria?
    By larryg003 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2014, 01:26 PM
  5. Replies: 4
    Last Post: 09-26-2012, 12:42 PM
  6. Drag formulas horizontally every 3rd col
    By chris1983 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-22-2011, 04:03 PM
  7. Drag horizontally but have formula increase vertically?
    By Greg_2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-15-2011, 09:24 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