+ Reply to Thread
Results 1 to 4 of 4

Help populating from a list with criteria

  1. #1
    Registered User
    Join Date
    08-08-2017
    Location
    Florida
    MS-Off Ver
    O365
    Posts
    40

    Help populating from a list with criteria

    Please see updated post below...

    I've attached a sample sheet with data and desired result. I need columns to populate from a master list based on the criteria in the adjacent column. I also need it with no duplicates and to continue to populate as more items are added to the master list. I tried an index,match,countif but could not get it to work, and was using CSE with it.

    Appreciate any help

    Thanks
    Attached Files Attached Files
    Last edited by Ksun23; 02-09-2018 at 01:23 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Help populating from a list with criteria

    hi there. try this array formula:
    =IFERROR(INDEX($B$5:$B$15,MATCH(0,IF($A$5:$A$15=D$4,COUNTIF(D$4:D4,$B$5:$B$15)),0)),"")

    to continue to populate as more items are added, it might be easier to convert your master list to a Table prior to doing the formula. select A5:B15 and press CTRL + T. a header will be added and if you re-ranged the formula, it will look something like:
    =IFERROR(INDEX(Table2[Column2],MATCH(0,IF(Table2[Column1]=D$4,COUNTIF(D$4:D4,Table2[Column2])),0)),"")

    if you're interested, this formula is explained in the file of my link below*Tips & Tutorials I Compiled, sheet 2

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    08-08-2017
    Location
    Florida
    MS-Off Ver
    O365
    Posts
    40

    Re: Help populating from a list with criteria

    Works great, very much appreciated.

    Huge thanks!

  4. #4
    Registered User
    Join Date
    08-08-2017
    Location
    Florida
    MS-Off Ver
    O365
    Posts
    40

    Re: Help populating from a list with criteria

    Updated question.

    My original problem was solved but I need help expanding the formula. I need multiple criteria.

    I tried changing IF to IFS to add the 2 extra logical tests for the date range and used >= and <= for beginning and end date but it just returned a blank cell.

    Hoping I can get some extra help on this please.

    Updated sheet is attached.

    Thanks in advance
    Attached Files Attached Files

+ 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] Populating list based on criteria
    By pauldaddyadams in forum Excel General
    Replies: 3
    Last Post: 04-16-2015, 05:50 PM
  2. [SOLVED] Populating List based on a Value chosen from another List of Values
    By Vinod Krishna.C in forum Excel General
    Replies: 3
    Last Post: 02-03-2014, 07:26 AM
  3. Need Help Populating A Master List For Wedding Invite List
    By cdwelch4 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-23-2013, 01:10 PM
  4. Replies: 4
    Last Post: 03-26-2013, 07:36 AM
  5. Userforms - Populating a List box with Some List Items already selected
    By chuckie200 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2013, 07:06 AM
  6. Replies: 5
    Last Post: 07-06-2012, 02:03 AM
  7. Replies: 1
    Last Post: 05-02-2011, 10:09 PM

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