+ Reply to Thread
Results 1 to 9 of 9

V Look Up - reading duplicate codes and adding values together.

  1. #1
    Registered User
    Join Date
    09-16-2016
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    80

    V Look Up - reading duplicate codes and adding values together.

    Hello,

    I was wondering if someone can help me, this is kind of hard to explain.

    I'm doing a V Look Up, where I want to look up a SKU in one spreadsheet and transfer the amount across into my other spreadsheet.

    However if there are the duplicate codes and values I want it to add the amounts together.

    I've attached an example that will hopefully help.

    Regards, Kirk.
    Attached Files Attached Files
    Last edited by ExcelnoviceUK; 02-15-2018 at 04:49 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,041

    Re: V Look Up

    Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional, which means you must change it. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.

    No help to be offered, please, until the OP complies with this request.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    09-16-2016
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: V Look Up - reading duplicate codes and adding values together.

    Hello Ali,

    I have now added a little more information into my thread title.

    Regards, Kirk.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,041

    Re: V Look Up - reading duplicate codes and adding values together.

    Better - thank you.

  5. #5
    Registered User
    Join Date
    09-16-2016
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: V Look Up - reading duplicate codes and adding values together.

    Can you help solve my problem?

  6. #6
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,231

    Re: V Look Up - reading duplicate codes and adding values together.

    Lookup formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Add a couple of helper columns in lookup table
    in D2 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    in E2 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,041

    Re: V Look Up

    In C2 copied down:

    =SUMIFS(Sales!$C$2:$C$18,Sales!$A$2:$A$18,Product!A2,Sales!$B$2:$B$18,Product!B2)

  8. #8
    Registered User
    Join Date
    09-16-2016
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    80

    Re: V Look Up - reading duplicate codes and adding values together.

    Hi Kev and Ali,

    I've got it up and running, thank you for all your help.

  9. #9
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,231

    Re: V Look Up - reading duplicate codes and adding values together.

    You are welcome
    Thanks for marking thread as SOLVED
    Last edited by kev_; 02-15-2018 at 05:14 AM.

+ 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