+ Reply to Thread
Results 1 to 4 of 4

Sumif sold certain product in each month of the year

  1. #1
    Registered User
    Join Date
    03-13-2011
    Location
    Tirana
    MS-Off Ver
    Excel 2013
    Posts
    42

    Sumif sold certain product in each month of the year

    Hi
    I am looking for a formula to sum sales of x product for each month.

    Colum a
    Product1
    Product2
    Product1
    Product3

    Colum b sold amount
    12
    32
    23
    10

    Colum c sold date/month/year
    12/may/2017
    29/may/2017
    16/jun/2017
    09/jul/2017

    I need a formula to sum all sales of a product in each month.
    Any help?
    Thanks in advance

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sumif sold certain product in each month of the year

    Use a Pivot Table. It will summarize all the data by year and month if you set it up that way.

    1) Highlight data
    2) Insert Pivot Table
    3) PRODUCTS go in the Columns values
    4) SOLD goes in the table values
    5) Dates go in the Row values

    After that - right-click on one of the dates in the resulting summary table and select GROUP BY >>
    Group by both Year and Month.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-13-2011
    Location
    Tirana
    MS-Off Ver
    Excel 2013
    Posts
    42
    Thanks for your reply.
    It is not really what i am looking for
    I need to see it everytime updated in a diferent sheet or below the main sheet.
    Thank you

    Quote Originally Posted by JBeaucaire View Post
    Use a Pivot Table. It will summarize all the data by year and month if you set it up that way.

    1) Highlight data
    2) Insert Pivot Table
    3) PRODUCTS go in the Columns values
    4) SOLD goes in the table values
    5) Dates go in the Row values

    After that - right-click on one of the dates in the resulting summary table and select GROUP BY >>
    Group by both Year and Month.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sumif sold certain product in each month of the year

    You can refresh the pivot table, if you added new data in your inputfile.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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] how to get the top product in specific month and year
    By iamchryztyn in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-07-2016, 10:49 PM
  2. [SOLVED] Average value from month, year and product (index,match)
    By danwoltrs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-30-2016, 07:05 PM
  3. [SOLVED] Calculate nested Product with in a SUMPRODUCT with selection by year and month
    By Gerik in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 11-26-2015, 03:53 PM
  4. Sumif with in the same month and year
    By jackson_hollon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-08-2015, 06:54 PM
  5. Replies: 6
    Last Post: 05-22-2013, 05:28 PM
  6. [SOLVED] display cell to show only Month/year to do sumif calc if today()= any day of month
    By fireguy7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2013, 06:55 PM
  7. SUMIF Month & Year
    By VegasL in forum Excel General
    Replies: 2
    Last Post: 12-18-2009, 04:29 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