+ Reply to Thread
Results 1 to 2 of 2

Formula Needed, could be complex

  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Question Formula Needed, could be complex

    Hi All,

    I need your help as ive been going round in circles for the last few hours working out how to combine two reports into one and im stuck needing your expert help.

    I have tried all sorts of ways but none have worked.

    The problem….

    One report shows the product number and how many units we have sold:
    Product Sold
    2000102 1
    2000162 5
    2000328 6
    2000407 7
    2000622 10


    The other report shows the product codes we have brought:
    Product Purchased
    2000102 5
    2000162 4
    2000329 6
    2000400 2
    2000622 3


    What I need is a report which would show me a list of all the products from both reports, the next to them how many were sold and how many were brought. From the examples given above you can see there are different products sold and purchased. What I want is a formula that lists all products that are unique and then lists the number sold and purchased, if not information is listed I need it to record it as zero.

    The above would look like this:
    Product Sold Purchased
    2000102 1 5
    2000162 5 4
    2000328 6 0
    2000329 0 6
    2000400 0 2
    2000407 7 0
    2000622 10 3




    Hope some one can help, ive pulled all my hair out already!

    Paul
    Last edited by pauldaddyadams; 04-21-2005 at 11:22 AM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    Have you looked at Excel's Data Consolidate functionality?

    1)Insert a blank sheet
    2)Enter these:
    A1: Product
    B1: Purchased
    C1: Sold

    3)Select A1:C1
    4)Data>Consolidate

    Then, select the 2 ranges from the other sheets (be sure to include the column headings)

    4)Click Use Labels in: Top Row and Left column
    5)Click OK

    In my mock-up of your data, the consolidation listed Products down Col A, amts purchased down Col B and amts sold down Col C.

    Is that something you can use?

    Ron

+ 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