+ Reply to Thread
Results 1 to 3 of 3

Basic SUMIFS help with date syntax

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-08-2015
    Location
    London, England
    MS-Off Ver
    2021
    Posts
    142

    Basic SUMIFS help with date syntax

    I've tried several variations, but can't seem to recall, or work out how to use SUMIFS properly

    I want a formula that will show the total sum of figures per person per specific time period (i.e. month), but am getting nowhere. i can create separate formulas to get the answer, but would rather do it in one - can someone explain where i'm going wrong?

    My best effort looks like this:

    =SUMIFS(Data!H2:H10,'Front Page'!A10,Data!G2:G10,Data!$M$2:$M$10,">="&DATE(2018,8,1),Data!$M$2:$M$10,"<="&DATE(2018,8,31))

    which i'm sure you can see is coming up with VALUE?

    any advice greatly appreciated

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,328

    Re: Basic SUMIFS help...

    It looks like you haven't told Excel which range to sum. the syntax is:

    =SUMIFS(range to sum, criterion range 1, criterion 1, criterion range 2, criterion 2, criterion range 3, criterion 3)

    if that doesn't work...

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,328

    Re: Basic SUMIFS help...

    Maybe:

    =SUMIFS(Data!H2:H10,Data!G2:G10,'Front Page'!A10,Data!$M$2:$M$10,">="&DATE(2018,8,1),Data!$M$2:$M$10,"<="&DATE(2018,8,31))

+ 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. SUMIFS with category and date range syntax
    By SLBELL in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2017, 03:01 PM
  2. Basic syntax
    By alex1fly in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-02-2015, 02:55 PM
  3. [SOLVED] URL - Syntax Error (Basic)
    By keen2xl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-10-2013, 03:55 AM
  4. basic macro syntax error..
    By ashish1044 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2013, 05:11 AM
  5. [SOLVED] REALLY Basic question on variable syntax...
    By Accountant II in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2012, 04:31 PM
  6. Basic macro syntax error. What is wrong?
    By hunsnowboarder in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2008, 04:26 AM
  7. [SOLVED] Basic VBA syntax
    By marcmc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2005, 06:17 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