+ Reply to Thread
Results 1 to 5 of 5

Lookup & Pull multiple rows from one sheet to another

  1. #1
    Registered User
    Join Date
    06-11-2008
    Posts
    1

    Lookup & Pull multiple rows from one sheet to another

    Hi Everyone, I'm new on this forum.

    We are trying to create invoices by pulling together data from multiple worksheets. We have an "AccountsList" worksheet with account numbers, customer name addr etc. in rows and a "RECEIPTS" worksheet with receipt numbers and account numbers and dollar totals. We can use VLOOKUP to populate the appropriate fields on the invoice sheet by looking up the account number. But when we try to use VLOOKUP to access the Receipts sheet to pull the Receipt number and Amount, we only get the first receipt number, it will not pull them all if a customer number has several receipts.
    example:
    Cust#702 has 3 Receipts in 3 different rows like this:

    Cust# Rec# Amount
    702 10123 $725.92
    702 10475 $125.21
    702 10587 $75.11

    All we can get is the first row.

    What is the best way to pull multiple rows with the same lookup criteria? Or is this even possible?

    Appreciate any help!

    Thanks!

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Use a PivotTable, see

    http://www.excel-it.com/pivot_tables.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    The attachment shows an array formula approach.
    Attached Files Attached Files

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

    http://www.excelforum.com/showthread.php?t=616924
    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.

  5. #5
    Registered User
    Join Date
    10-13-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Lookup & Pull multiple rows from one sheet to another

    EXAMPLE.xlsx
    I tried this and it doesn;t seem to work for me. When I copy down the second line I am getting a circular reference error.
    Attached is a copy of my information. I want to be able to type
    Lrg BP or Walmart CG and have all the rows and columns reference.
    Can you help StephenR?
    Attached Images Attached Images

+ 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