+ Reply to Thread
Results 1 to 5 of 5

I need help using Match, Index, and ArrayFormula.

Hybrid View

kulich I need help using Match,... 12-06-2018, 04:45 PM
dosydos Re: I need help using Match,... 12-06-2018, 04:53 PM
kulich Re: I need help using Match,... 12-06-2018, 05:11 PM
FDibbins Re: I need help using Match,... 12-07-2018, 03:12 AM
José Augusto Re: I need help using Match,... 12-07-2018, 06:44 AM
  1. #1
    Registered User
    Join Date
    12-06-2018
    Location
    london
    MS-Off Ver
    2018
    Posts
    2

    I need help using Match, Index, and ArrayFormula.

    I need any text inputted in a column to make the adjacent row be populated with the corresponding number on a different sheet; however, if the same text appears in the column, it must correspond to the same number. I need it to look like this:

    Sheet1:

    A1
    123
    1234
    12345
    123456

    Sheet 2:
    A1 B1
    sam 123
    todd 1234
    bob 12345
    sam 123

    But instead it looks like this, using this this formula: =ArrayFormula(INDEX(Sheet1!A1:A28, MATCH(A1:A30, A1:A30,0))):

    Sheet 2:

    A1 B1
    sam 123
    todd 1234
    bob 12345
    sam 123456

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,476

    Re: I need help using Match, Index, and ArrayFormula.

    Put this formula in Sheet1 B1
    =IFERROR(INDEX(Sheet2!$A:$A,MATCH(A1,Sheet2!$B:$B,0)),"")

  3. #3
    Registered User
    Join Date
    12-06-2018
    Location
    london
    MS-Off Ver
    2018
    Posts
    2

    Re: I need help using Match, Index, and ArrayFormula.

    I'm not sure if I explained correctly:

    I need the A column on sheet 1 (the numbers) to appear in the B column on sheet 2 with the condition that the repeating text in column A on sheet 2 corresponds to the same number from column A on sheet 1 each time. I want to paste the formula into the B column on sheet 2. Thank you for your help so far.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: I need help using Match, Index, and ArrayFormula.

    kulich welcome to the forum

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: I need help using Match, Index, and ArrayFormula.

    If I understood

    In Sheet2!B1 use

    =Sheet1!A1

+ 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. Converting index arrayformula from Google Sheets to Excel
    By Kibson in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-03-2018, 10:07 AM
  2. [SOLVED] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  3. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  4. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 AM

Tags for this Thread

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