+ Reply to Thread
Results 1 to 5 of 5

Vlookup? Trying to add up all values of a duplicate entry.

  1. #1
    Forum Contributor
    Join Date
    02-13-2012
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    105

    Vlookup? Trying to add up all values of a duplicate entry.

    Hi,

    I am trying to work out a formula so that I can see what the quantity recieved is compared to our purchase order qty. Currently we have a system that adds up the total items on our purchase order and a seperate sheet to book the goods in.

    Where the system breaks down is when purchase orders are part delivered there becomes 2 identical entries (PO number) and my formula only calculates the latest receipt.

    Is there a formula that can add up all of the values for these duplicate entries and give an answer to the amount received in one cell?


    Thanks in advance for your help.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Vlookup? Trying to add up all values of a duplicate entry.

    Try SUMIF.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

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

  3. #3
    Forum Contributor
    Join Date
    02-13-2012
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    105

    Re: Vlookup? Trying to add up all values of a duplicate entry.

    I am having difficulty with SUMIF. I have attached an example of what I am trying to achieve.
    Attached Files Attached Files
    Last edited by gtudor; 02-13-2012 at 09:43 AM.

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Vlookup? Trying to add up all values of a duplicate entry.

    Formula in E5 copied down: =SUMIF($H$5:$H$11,C5,$I$5:$I$11)

    Dom

  5. #5
    Forum Contributor
    Join Date
    02-13-2012
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    105

    Re: Vlookup? Trying to add up all values of a duplicate entry.

    I think that has done it thank you. I will have a play as the data I am trying to fetch is in seperate files.

+ 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