+ Reply to Thread
Results 1 to 8 of 8

Formula creation lookup multiple matches

  1. #1
    Registered User
    Join Date
    05-04-2011
    Location
    North Loup, Nebraska, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Formula creation lookup multiple matches

    Hi there! I’m new to the forum, and just know enough about Excel to know I need to ask for help!

    The file with which I am working has several worksheets. Is it possible to create a formula that will pull information from several rows on a separate worksheet, at once?

    Here is the “Nebraska version” of this situation:
    We are having a pig sale. On one worksheet (Sale List), I list who purchased each pig…as it comes up to auction. On another worksheet (Receipt), I would like to type in the buyer’s individual number, and have the information about any pigs they bought fill in accordingly.

    I currently have the formula set up where I can type in each pig’s tag number, and the information about that pig will fill in. I would just like to go a step further. I am just SURE it’s possible, I just don’t know how to collect multiple rows in a formula!

    Thanks in advance for the assistance. I can attach the file if someone wants to look at it-
    Kari
    Last edited by farmerswife1; 05-04-2011 at 12:42 PM. Reason: My title changed with my search!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula creation- Sort my piggies!

    Have you looked into VLOOKUP? See Excel help for more.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-04-2011
    Location
    North Loup, Nebraska, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Formula creation lookup information

    Here's the file I'm using. Please don't mind that I took last year's addresses/ phone #s out!

    I used a VLOOKUP for the individual rows. But how to expand that to multiple rows? Hmmm...
    Last edited by farmerswife1; 05-04-2011 at 01:03 PM. Reason: I removed my attachment...problem solved, thanks!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula creation lookup information

    Can you elaborate on what you mean by:

    But how to expand that to multiple rows?
    Where exactly are we looking and what are we expecting to get?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula creation lookup information

    Note: I changed your original title the first time as it did not conform to forum rules... please don't change it back again....

  6. #6
    Registered User
    Join Date
    05-04-2011
    Location
    North Loup, Nebraska, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Formula creation lookup information

    Sure! On my "receipt" worksheet, I want to type in a buyer's number (coordinates D3, to be exact), and have all of the pigs this person purchased show up there accordingly (under Tag #, ear notches, et cetera). That information is currently stored in the worksheet "sale list."

    However, there may be multiple rows from which to copy, if they purchased more than one pig.

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula creation lookup information

    Try this:

    In B2 enter formula:

    Please Login or Register  to view this content.
    This formula needs to be confirmed by holding the CTRL and SHIFT keys down and then hitting ENTER... then copy it down as far as you want.

    In C2 enter formula:

    Please Login or Register  to view this content.
    This is a normal formula and you only need to confirm with ENTER

    Then copy down all the way and across the remaining columns.

  8. #8
    Registered User
    Join Date
    05-04-2011
    Location
    North Loup, Nebraska, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Formula creation lookup multiple matches

    You are amazing! It worked! Thank you SO MUCH for your help and time!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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