Results 1 to 13 of 13

SUM IF FORMULA BASED ON CURRENT/PREVIOUS/NEXT Month

Threaded View

  1. #1
    Registered User
    Join Date
    11-25-2015
    Location
    na
    MS-Off Ver
    2010
    Posts
    24

    SUM IF FORMULA BASED ON CURRENT/PREVIOUS/NEXT Month

    Dear All

    I have attached a spreadsheet I am currently working on. I have a list of dates and a list of revenue. I would like to use a SUMIF formula to total up the revenue for specific months, however it goes slightly further then this. I have listed the month buckets I require in A2:D7.

    B2 - I need the sum of all revenues that are prior to todays month (i.e before march), please note that I want to use the today function so that the formula can be future proof i.e in April it will automatically total all fees prior to april, without me having to edit the formula.
    D2 - will show the sum of all revenues in March (todays month) I have already tried using the formula: =SUMIF(D9:D1000,">="&DATE(YEAR(TODAY()),MONTH(TODAY()),1),E9:E1000)-SUMIF(D9:D1000,">"&DATE(YEAR(TODAY()),MONTH(TODAY())+1,1),E9:E1000)
    however this sum of 2,576 does not reconcile with the sum i get of 2,270 when adding manually.
    D3 - will show the sum of all revenues in the NEXT (April) month i.e todays month +1 month
    D4 - will show the sum of all revenues in the SECOND NEXT (May) month i.e todays month +2 month

    The rest of the buckets are self explanatory, sum of all fees between june and august in D5. D6 will show the sum of all revenues in august onwards.

    If you could populate the table and re-attach that will be a great help.

    Please let me know if you have any other questions.

    Thanks,
    AK
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Dynamic formula to calculate the difference between current and previous month
    By kay007 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-19-2015, 11:19 AM
  2. VBA code adjustment to include only current month and previous month automatically.
    By ElmerFud in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-05-2015, 03:02 PM
  3. [SOLVED] Formula issue for Current/Previous month Date
    By hecgroups in forum Excel General
    Replies: 3
    Last Post: 03-01-2014, 06:41 AM
  4. [SOLVED] Formula for amount on previous month based on current month
    By Yu Marquez in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-21-2014, 12:42 AM
  5. Macro using vlookups comparing 2 months paysheet(previous month and current month)
    By srinivasan1965 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2012, 03:45 AM
  6. Replies: 5
    Last Post: 10-04-2012, 07:06 AM
  7. [SOLVED] VBA to identify the current month and previous month based on system date
    By ravikumar00008 in forum Excel General
    Replies: 10
    Last Post: 07-26-2012, 10:04 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