+ Reply to Thread
Results 1 to 6 of 6

matching Items, quantity and price from 2 diferent sheets

Hybrid View

  1. #1
    Registered User
    Join Date
    05-28-2012
    Location
    Beirut
    MS-Off Ver
    Excel 2007
    Posts
    5

    matching Items, quantity and price from 2 diferent sheets

    Dear all, one of my job is to audit data implimented on two diferent system.
    I want to match item code to quantity and sales amount in each of two sheets, and I want to catagorize them at 3 levels
    1st no matched item
    2nd matching item but diferent quantity
    3rd matching item, matching quantity but diferent price

    is this possible to do?

    Thanks
    Last edited by hisham_a_j; 05-29-2012 at 04:06 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: matching Items, quantity and price from 2 diferent sheets

    Hi

    I think it is.

    Would you like to upload a small sample workbook?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    05-28-2012
    Location
    Beirut
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: matching Items, quantity and price from 2 diferent sheets

    OK I attached a sample of the first 150 items
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: matching Items, quantity and price from 2 diferent sheets

    A way to do this, is using these 3 Formulae. One for eatch requietment.

    =IF(COUNTIF(Sheet2!$B$3:$B$148;Sheet1!B3)>=1;"Matced";"No")
    =IF(AND(COUNTIF(Sheet2!$B$3:$B$148;Sheet1!B4)>=1;SUMPRODUCT((Sheet2!$B$3:$B$148=Sheet1!B3)*(Sheet2!$C$3:$C$148))>=1);"Matced";"No")
    =IF(AND(COUNTIF(Sheet2!$B$3:$B$148;Sheet1!B5)>=1;SUMPRODUCT((Sheet2!$B$3:$B$148=Sheet1!B4)*(Sheet2!$C$3:$C$148))>=1;SUMPRODUCT((Sheet2!$B$3:$B$148=Sheet1!B3)*(Sheet2!$C$3:$C$148=Sheet1!D3)*(Sheet2!$D$3:$D$148<>Sheet1!E3))>=1);"Matced";"No")

    Then, use Auto filter and if you want, copy-paste as 3 different lists.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-28-2012
    Location
    Beirut
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: matching Items, quantity and price from 2 diferent sheets

    WOW I appreciate your help , I need some time just to understand what you did :D

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: matching Items, quantity and price from 2 diferent sheets

    Let me know...

+ 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