+ Reply to Thread
Results 1 to 5 of 5

Problem searching a comma separated list and return row depending of multiple values

  1. #1
    Registered User
    Join Date
    10-31-2013
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    5

    Problem searching a comma separated list and return row depending of multiple values

    I have made a small example document with 2 sheets in it.

    One called “delivery time” this will be a long list with many shipper and consignee numbers. They will be listed separated with commas in the columns B and C. This sheet will also include the delivery time in days depending of mode of transport and the date where the shipment is shipped.

    The other sheet is names summary, and here is a single shipper, consignee, mode of transport and the shipping day. This is where I would like the column E to do the “magic function”.

    It should find the row in “delivery time” where the mode of transport, shipping day, shipper and consignee is represented.

    If only there was one consignee and one shipper per row in the delivery time sheet, I could do this, but I can’t get it to work when the cells contain comma separated lists. I have tried with search, index and match functions, but I can’t get these to search and return the right value :-(

    Can somebody help me on this?
    Attached Files Attached Files

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Problem searching a comma separated list and return row depending of multiple values

    If I understood you well, this may do the trick.
    Uses the HLookup-function in which the sumproduct function calculates the rownumber.
    This row number is adjusted to accomodate for the delivery times table not starting at row 1.
    Attached Files Attached Files
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    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: Problem searching a comma separated list and return row depending of multiple values

    If I’ve understood correctly this array-entered formula in E2 and filled down should do it.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

    See the attached.
    Dave

  4. #4
    Registered User
    Join Date
    10-31-2013
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Problem searching a comma separated list and return row depending of multiple values

    Your work is fantastic! Thank you very much for your solutions!

  5. #5
    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: Problem searching a comma separated list and return row depending of multiple values

    Glad you found solution, and thank you 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] Compare comma separated values in a cell to a list
    By SMB in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-03-2019, 01:10 AM
  2. INDEX & MATCH multiple rows to return comma separated cell
    By sifuchi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2015, 04:36 PM
  3. Replies: 8
    Last Post: 01-16-2015, 12:16 PM
  4. [SOLVED] Comma separated list of values help needed
    By handcoded in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-07-2014, 02:51 PM
  5. Comma separated list of values help needed
    By handcoded in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-07-2014, 11:41 AM
  6. Validate comma-separated list of values
    By DeDomme in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-21-2013, 12:27 PM
  7. Return Y/N after matching from multiple lookup values separated by comma
    By indoglans in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2011, 03:13 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