+ Reply to Thread
Results 1 to 4 of 4

Array Help - Using Index, If, Match Etc

  1. #1
    Registered User
    Join Date
    04-05-2018
    Location
    Cleveland, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Array Help - Using Index, If, Match Etc

    Hi -

    I attached the spreadsheet I'm working on, with the desired results listed. Essentially, I need a list of names to populate in one cell, if they meet the below criteria

    IF B30:B79 is between 1-6 AND G2:G11 contains the style name in A30:A79 then I want it to output the name in A2:A11 in G30:G79

    so for line 33, B33 is 1, and ANA the style name which is listed in cell G11, the result is Sarah (cell A11)

    For Line 36, B36 is 2, and Debbie is the style name which is listed in cells G7 & G11 so the result is Katie (A7) Sarah (A11)

    The number of results in column G should equal the number in Column B.

    I hope this makes sense.

    Thanks!!!
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Array Help - Using Index, If, Match Etc

    You had trailing spaces in the Names A2:A11. Be ware of those. They can cause havoc for formulas. I cleaned them up in the attached.

    In your profiled version of Excel you will need VBA to concatenate the desired results in a single cell. The user defined function Concatall by tigeravatar will do this. Here is the code.

    Please Login or Register  to view this content.
    While the above code is already installed in the attached here is how it is done.

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the code into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)


    Then array enter this formula in G30 and fill down. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Dave

  3. #3
    Registered User
    Join Date
    04-05-2018
    Location
    Cleveland, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Array Help - Using Index, If, Match Etc

    Thank you!! That works perfect - do you know if I upload to my google drive, and use a web based excel, if it will still work?

    Thanks again!

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Array Help - Using Index, If, Match Etc

    I am not familiar with web based Excel. Sorry

+ 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] Need help with Index Match or possibly array type of match
    By chadboehne in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-14-2017, 01:16 PM
  2. [SOLVED] Index Match with Partial Match in Lookup Array
    By AliGW in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2016, 03:13 PM
  3. Replies: 3
    Last Post: 04-02-2016, 08:16 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. Index Match array equation with sub-array calculation
    By glebbo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2012, 03:04 AM
  7. Nested Match(index()) vs. Match() array formula.
    By GeneralDisarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2011, 07:57 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