+ Reply to Thread
Results 1 to 6 of 6

Using Sumifs (Or other Total Functions)

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2007
    Posts
    3

    Using Sumifs (Or other Total Functions)

    Good Morning,

    I am trying to solve the problem I am having for my weekly report. Currently our Reporting has to be done Via Excel, with no reporting consule to have dynamic ability. I am trying to put a formula table together so all my manager has to do is dump raw data and the calculations take care of the totals for the table. I am running into the issue of when trying to return certain data at a certain date. So here is what I have and what I need (If it can be done without changing the formula each week)

    For the MTD calculation I have:

    =SUMIFS('Raw2'!$L$2:$L$902317,'Raw2'!$O$2:$O$902317,"=2013",'Raw2'!$M$2:$M$902317,"=11",'Raw2'!$N$2:$N$902317,">=1",'Raw2'!$N$2:$N$902317,"<=31",'Raw2'!$B$2:$B$902317,"=0000013")

    The raw data wont have information past the current day of the month so the <=31 allows for the current month to calculate correctly.

    Where I am having trouble is the Previous Month Formula:

    =SUMIFS('Raw2'!$L$2:$L$902317,'Raw2'!$O$2:$O$902317,"=2013",'Raw2'!$M$2:$M$902317,"=10",'Raw2'!$N$2:$N$902317,">=1",'Raw2'!$N$2:$N$902317,"<=24",'Raw2'!$B$2:$B$902317,"=0000013")

    This returns the data, but I have to change the "<=24" every week to the date that I want up to. I have tried =eomonth(today(),-2+1) but that is not allowed as the Criteria.

    Any help would be awesome! I am also open to questions to help clarify anything.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,576

    Re: Using Sumifs (Or other Total Functions)

    How about "<="& DAY(TODAY())?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-28-2013
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Using Sumifs (Or other Total Functions)

    Looks like it worked. I am going to replace the 24 with this formula. Does this also work for the month? So the "=10" can be replaced the month so I do not have to reset the formula sheet each month?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,576

    Re: Using Sumifs (Or other Total Functions)

    Yes, that should do the same thing, or for previous month =MONTH(TODAY())-1

  5. #5
    Registered User
    Join Date
    08-28-2013
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Using Sumifs (Or other Total Functions)

    That worked thanks!

  6. #6
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Using Sumifs (Or other Total Functions)

    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] Help Creating a SUMIFS (Running Total) Formula
    By quibilty in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-29-2013, 09:49 PM
  2. sumif returning correct total while sumifs returns #value
    By mlevitt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-01-2013, 04:16 PM
  3. Complicated SumIfs/Sumif functions
    By WadeLair in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-25-2013, 01:19 PM
  4. [SOLVED] SUMIFS to total product A and B
    By Subject_Name_Here in forum Excel General
    Replies: 5
    Last Post: 05-26-2012, 11:56 AM
  5. Replies: 0
    Last Post: 11-15-2007, 05:24 AM

Tags for this Thread

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