+ Reply to Thread
Results 1 to 6 of 6

Formula required to bring back all values in a list based on 1 cell

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Hampshire
    MS-Off Ver
    Excel 2019
    Posts
    38

    Formula required to bring back all values in a list based on 1 cell

    Hi,

    Hopefully one of you clever people will be able to help (again) - via a formula I wish to populate the yellow cells in this sheet from the list on the other one based on the code in A1 on the first sheet. There will be multiple different suppliers based on the one code in cell A1.

    Many thanks in advance

    Suzanne
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula required to bring back all values in a list based on 1 cell

    This array formula** entered in A4:

    =IFERROR(INDEX(Sheet1!B:B,SMALL(IF(Sheet1!A$2:A$20=A$1,ROW(Sheet1!A$2:A$20)),ROWS(A$4:A4))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    05-09-2013
    Location
    Hampshire
    MS-Off Ver
    Excel 2019
    Posts
    38

    Re: Formula required to bring back all values in a list based on 1 cell

    That is amazing Tony!

    Thank you so much - I've learnt something new - I had no idea about array formulas. What makes them different?

    It works btw - I will just adapt to the source document.

    Suzanne

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula required to bring back all values in a list based on 1 cell


  5. #5
    Registered User
    Join Date
    05-09-2013
    Location
    Hampshire
    MS-Off Ver
    Excel 2019
    Posts
    38

    Re: Formula required to bring back all values in a list based on 1 cell

    Thanks - I shall read in the morning as I think my head will explode right now - its been a long day!

    Thank you once again for your help.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula required to bring back all values in a list based on 1 cell

    You're welcome. Thanks for the feedback!

+ 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] bring back multiple values from list - with a twist
    By Dscud in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-10-2016, 08:12 AM
  2. [SOLVED] formula to bring back specific data from a list
    By Janey_1980 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-18-2016, 07:40 AM
  3. Replies: 6
    Last Post: 09-25-2015, 01:21 AM
  4. [SOLVED] formula required to list cell values based on condition
    By kiranpat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 04:54 AM
  5. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  6. [SOLVED] IF Formula required to bring back specific answers
    By karimel_romeo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-14-2013, 09:43 AM
  7. Replies: 1
    Last Post: 02-14-2012, 03:41 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