+ Reply to Thread
Results 1 to 5 of 5

How to calculate the monthly sales based on the Data given ?

  1. #1
    Registered User
    Join Date
    09-08-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    14

    Question How to calculate the monthly sales based on the Data given ?

    Can anyone advise me on how to calculate the monthly sales based on the data given ?

    Thx
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: How to calculate the monthly sales based on the Data given ?

    In Monthly sheet, in cell B6 use,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  3. #3
    Registered User
    Join Date
    09-08-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: How to calculate the monthly sales based on the Data given ?

    Dear Saarang84,

    Is there any simpler function or formula, eg. VLOOKUP to be used in this calculation.

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: How to calculate the monthly sales based on the Data given ?

    SUMIFS is a relatively simple function, and no more complicated than a VLOOKUP. I suspect it's just that you're not familiar with it. A VLOOKUP would not work in this instance as it only looks up one value and only returns one value. It could be done with a SUMPRODUCT function or an array formula, but they are more complicated, especially to explain.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to calculate the monthly sales based on the Data given ?

    Saarang84's suggestion is the best formula for this application.

    You can shorten it a bit by removing the Monthly sheet name:

    =SUMIFS(Data!B:B,Data!A:A,">="&EOMONTH(A6,-1)+1,Data!A:A,"<="&A6)

    Here's another way to write it:

    =SUMIFS(Data!B:B,Data!A:A,">="&A6-DAY(A6)+1,Data!A:A,"<="&A6)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. How to calculate monthly sales between two dates!
    By rojashan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-21-2014, 09:32 AM
  2. Replies: 6
    Last Post: 10-19-2013, 04:53 PM
  3. Replies: 7
    Last Post: 07-23-2013, 07:56 AM
  4. Replies: 4
    Last Post: 03-27-2013, 05:56 PM
  5. Counting Based on Monthly Condition of Sales
    By napapat in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-06-2009, 08:36 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