+ Reply to Thread
Results 1 to 3 of 3

Populating table with data using multiple criteria

  1. #1
    Registered User
    Join Date
    05-06-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Populating table with data using multiple criteria

    Hi,

    I am attempting to populate multiple rows in one column with data from another table. I need to get the correct street address using multiple values, i.e. first name, last name and city, as some of the names double up.

    Is there a way to do this? I have attached an example of what I need done as reference.

    Thanks in advance,
    Joey
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Populating table with data using multiple criteria

    Hello,

    You can do this by using a simple Array formula, like this
    Please Login or Register  to view this content.
    Paste it on C2, click on the formula bar, hold Ctrl-Shift and hit Enter. If you see the formula being wrapped inside a { } then you did it right.

    Afterward, you can drag it down to C5.

    Here is your sample file with the formula.

    Edit: I suggest you try mama's formula on post #3 (right below this), because it is better.
    Attached Files Attached Files
    Last edited by Lemice; 05-06-2013 at 11:41 PM.
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Populating table with data using multiple criteria

    C2: =LOOKUP(2,1/(A$13:A$16=A2)/(B$13:B$16=B2)/(D$13:D$16=D13),C$13:C$16)

    Normally Enter
    Copy down

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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