+ Reply to Thread
Results 1 to 7 of 7

get sum of values based on assigned code

  1. #1
    Registered User
    Join Date
    05-18-2018
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    22

    get sum of values based on assigned code

    Hello forum members,

    Based on the file that i have attached, on sheet3, column I (Quantity),
    I want to have a formula that can add up add the the values in Sheet2 from the Stock out Qty ( Column N) based on the Code Number.

    E.g., in sheet 3 cell I2, based on the code number 5004216(1)-MSG NO.015, it will look up for all the individual entries in Sheet 2 and sum the stock in qty for all those entries whose codes are also 5004216(1)-MSG NO.015.

    Thus it should return me a value of 5292 at cell I2.
    Attached Files Attached Files
    Last edited by Excel God; 06-04-2018 at 01:05 AM. Reason: I broke the rule by accident

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,898

    Re: Index lookup sumif

    Welcome to the forum! 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!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-18-2018
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    22

    Re: Index lookup sumif

    Sorry, I have changed the title

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,898

    Re: get sum of values based on assigned code

    Better - thanks.

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: get sum of values based on assigned code

    As per code 5004216(1)-MSG NO.015 the result in I2 is 570.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  6. #6
    Registered User
    Join Date
    05-18-2018
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    22

    Re: get sum of values based on assigned code

    Quote Originally Posted by avk View Post
    As per code 5004216(1)-MSG NO.015 the result in I2 is 570.
    Yes, my bad, its 570

  7. #7
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: get sum of values based on assigned code

    in I2 simple sumif formula use.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help today please! Sumif, index, index match
    By helpmeplz_ in forum Excel General
    Replies: 2
    Last Post: 08-26-2017, 12:50 PM
  2. Help with Lookup, Index/Match, Sumif??
    By MattC72 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-28-2016, 12:24 PM
  3. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  4. Match/Index/Lookup - Searching From Bottom to Top (A reverse lookup maybe)
    By Neutralizer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-02-2013, 03:55 AM
  5. Replies: 7
    Last Post: 06-19-2011, 12:51 PM
  6. Using Lookup instead of Index/Match for left lookup
    By teylyn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-07-2008, 09:20 PM
  7. Help with SUMIF, INDEX, LOOKUP Please !!
    By Robert in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-12-2005, 09:06 PM

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