+ Reply to Thread
Results 1 to 4 of 4

Searching 3 ranges/columns of cells

Hybrid View

  1. #1
    Registered User
    Join Date
    04-01-2009
    Location
    Belfast, NI
    MS-Off Ver
    Excel 2003
    Posts
    2

    Searching 3 ranges/columns of cells

    I am trying to search three columns on a worksheet, that contain a range of customers, product names and the amount of that product sold to the to the customer.

    On a separate worksheet I have created a table, which I hope will show the customer, the product and the amount sold.

    So basically I need either a formula or piece of code that can match the customer and product, along with the amount sold and display it in one table.

    The data is by nature not kept in alpha or numerical order and my problem lies in being able to search through each row and extrapolate the necessary figure.

    Any help would be greatly appreciated.

    A
    Last edited by aidanjcarroll; 04-01-2009 at 11:13 AM.

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

    Re: Searching 3 ranges/columns of cells

    use Vlookup()

    E.g.

    =Vlookup(A2,'Sheet2'!A:D,Columns($A$1:B$1,0),FALSE) copied across and down.

    where A2 contains customer to look up

    Sheet2!A:D contains your database...
    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
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Searching 3 ranges/columns of cells

    Hi and welcome to the board

    One possible solution is using a Pivot Table

  4. #4
    Registered User
    Join Date
    04-01-2009
    Location
    Belfast, NI
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Searching 3 ranges/columns of cells

    Thanks for your help.

    Used a pivot table, worked well.

    Regards

    A

+ 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