+ Reply to Thread
Results 1 to 4 of 4

Sum if based on two criteria and values in multiple rows and columns

  1. #1
    Registered User
    Join Date
    10-14-2013
    Location
    Brisbane, Queensland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Sum if based on two criteria and values in multiple rows and columns

    Hi,

    This is my first post, can anyone please help?

    I need to add all the values in rows based on one criteria and columns for the other criteria... meaning, all sold kilos for December, all received kilos for November etc.

    eg.

    Financial Week 20 21 22 23
    Month Nov-13 Nov-13 Dec-13 Dec-13

    Sold KG - Mod 6 16,214 31,077 32,606 34,050
    Sold KG - Mod 8 413 825 825 866
    Sold KG - Mod 12 1,550 4,420 2,900 3,256
    Sold KG - Mod 24 586 1,172 1,172 1,230
    Received Mod 6 16,233 31,113 32,643 34,088
    Received Mod 8 413 826 826 867
    Received Mod 12 1,552 4,425 2,904 3,260

    I have attached my file Sum issue.xlsx

    Thank you

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Sum if based on two criteria and values in multiple rows and columns

    welcome to the forum, Alkina. try this in M14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Rpened KG will not have anything because your data is "Ripened" instead. i find it based on the first word before the space

    you can consider providing manually keyed answers next time too. that's so that we can check our answers

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-14-2013
    Location
    Brisbane, Queensland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Sum if based on two criteria and values in multiple rows and columns

    Hi Benishiryo,

    Thank you so much! I haven't used Sumproduct or Find formulas before and was trying to do this with Sumifs and just not getting what I was after.

    I really appreciate your help

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Sum if based on two criteria and values in multiple rows and columns

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. [SOLVED] Copy Rows based on 1 criteria showing in Multiple columns
    By smartbuyer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-07-2013, 06:07 AM
  2. Find and Delete rows based on criteria in multiple columns
    By Doctor_H in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2013, 08:03 PM
  3. [SOLVED] Copy/Paste multiple columns as values based on another columns criteria
    By Dgp2012 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-28-2013, 06:50 AM
  4. Pivot multiple columns into rows based on criteria
    By vboz5 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-09-2012, 11:54 AM
  5. Replies: 1
    Last Post: 05-18-2009, 11:21 AM

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