+ Reply to Thread
Results 1 to 3 of 3

Return multiple cells if one cell is equal to other cells in a range

  1. #1
    Registered User
    Join Date
    03-29-2018
    Location
    California
    MS-Off Ver
    14.7.7
    Posts
    6

    Return multiple cells if one cell is equal to other cells in a range

    I want to populate cell A2 with info from all cells on the "inventory list" sheet Column A that match cell A1 from the location column on the inventory list sheet

    If done correctly cell A2 would have "NA RED MAG 6" in it.
    cell B2 would have 2008 Pape star 1 2000 Zin DD 2 2006 SYRAH ALISOS 1 2001 ZIN PR 1 2011 SPECIAL K 1 all listed in it.

    And lastly is it possible to have the cell formatted so multiple returned cells are stacked? Example below.
    2008 Pape star 1
    2000 Zin DD 2
    2006 SYRAH ALISOS 1
    2001 ZIN PR 1
    2011 SPECIAL K 1
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-23-2020
    Location
    France
    MS-Off Ver
    2019
    Posts
    44

    Re: Return multiple cells if one cell is equal to other cells in a range

    Please Login or Register  to view this content.
    Here it is!

    Cheers,
    --
    AP
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Return multiple cells if one cell is equal to other cells in a range

    at A2
    =IFERROR(INDEX('Inventory list'!$A$1:$A$195,SMALL(IF(B1='Inventory list'!$E$3:$E$195,ROW($E$3:$E$195)),1))&" "&IFERROR(INDEX('Inventory list'!$A$1:$A$195,SMALL(IF(B1='Inventory list'!$E$3:$E$195,ROW($E$3:$E$195)),2)),)&" "&IFERROR(INDEX('Inventory list'!$A$1:$A$195,SMALL(IF(B1='Inventory list'!$E$3:$E$195,ROW($E$3:$E$195)),3)),)&" "&IFERROR(INDEX('Inventory list'!$A$1:$A$195,SMALL(IF(B1='Inventory list'!$E$3:$E$195,ROW($E$3:$E$195)),4)),)&" "&IFERROR(INDEX('Inventory list'!$A$1:$A$195,SMALL(IF(B1='Inventory list'!$E$3:$E$195,ROW($E$3:$E$195)),5)),),"")

    copy to all cell desired to fill

+ 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: 5
    Last Post: 04-06-2018, 12:48 AM
  2. [SOLVED] Search range of cells, return cell locations of all cells of particular colour
    By AJB611 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2017, 11:50 AM
  3. check for match of cell to range of cells only if another cell is equal to X
    By rfigueroa1976 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-25-2015, 07:51 PM
  4. [SOLVED] Count cells in a range, starting from first cell with number that does not equal zero
    By ldoherty in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2014, 10:06 AM
  5. Multiple Cells values - formula to see which cells added together equal zero?
    By rodders0223 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-15-2013, 11:09 AM
  6. Sum cells in a range based between two equal cell values in another range
    By sshone1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-09-2013, 08:12 AM
  7. Replies: 0
    Last Post: 02-06-2013, 10:22 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