+ Reply to Thread
Results 1 to 5 of 5

SUMIFS Problem

  1. #1
    Registered User
    Join Date
    10-09-2018
    Location
    West Sussex
    MS-Off Ver
    16.17 (Mac) Office 365
    Posts
    3

    SUMIFS Problem

    Hi

    Can anyone see a problem with this formula please?

    =SUMIFS(Totalcost,VBA_code,B1,Receipt_date,">=Period!$C$10")

    The formula is acting on a table with one transaction per row for multiple businesses identified by VB_code. Each transaction has a Receipt Date in a column called "Receipt_date".

    I'm trying to sum the total costs to date of each business (VBA_code) from the date held in Period!$C$10. Cell B1 has the business code I'm interested in.

    The formula always returns zero.

    If I omit Receipt_date,">=Period!$C$10" the formula returns the total costs irrespective of the Receipt_date. So I guess there is something wrong with the syntax of Receipt_date,">=Period!$C$10" but I can't see what it is.

    Help!

    Simon

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    20,794

    Re: SUMIFS Problem

    You need to change where the quotes are located in the final term, to this:

    =SUMIFS(Totalcost,VBA_code,B1,Receipt_date,">="&Period!$C$10)

    The way you had it you were including Period!$C$10 as a literal text string.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-09-2018
    Location
    West Sussex
    MS-Off Ver
    16.17 (Mac) Office 365
    Posts
    3

    Re: SUMIFS Problem

    Thanks for sharing your skills Pete.

    This was going to keep me awake all night. I will sleep like a log now.

    Thanks again.

    Simon

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    20,794

    Re: SUMIFS Problem

    Well, I'm glad to have aided your sleep.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  5. #5
    Registered User
    Join Date
    10-09-2018
    Location
    West Sussex
    MS-Off Ver
    16.17 (Mac) Office 365
    Posts
    3

    Re: SUMIFS Problem

    Done all that.

    Thanks again.

    S

+ 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] Problem with SUMIFS
    By BettyPumpkin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-24-2017, 09:52 PM
  2. problem with sumifs
    By ankitsharma1 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-31-2014, 07:47 AM
  3. Problem with SUMIFS
    By SharpL in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-27-2014, 08:07 AM
  4. [SOLVED] Sumifs problem
    By hammer2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2014, 03:21 AM
  5. Sumifs problem
    By kim296 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-02-2013, 02:56 PM
  6. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM
  7. SUMIFS Problem
    By denise001 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2011, 08:38 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