+ Reply to Thread
Results 1 to 8 of 8

Sumifs formula

  1. #1
    Registered User
    Join Date
    12-04-2017
    Location
    USA
    MS-Off Ver
    MS 365
    Posts
    18

    Sumifs formula

    i have to worksheets: 1) expenses and 2) track expense based on projects. In the sheet 2, i am trying to figure out how to add up column E (subsystem amount) based on 3 criteria, 1) Column B - Far # , 2) ColumnB period and 3) column D all expenses that starts with "56 of sheet 1.

    the formula i have return the #spills error.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,878

    Re: Sumifs formula

    Are you still using Excel 2013? The #SPILL! error suggests not (maybe 2021 or 365), so try this:

    =SUM(FILTER(gl!E:E,(gl!A:A=B$5)*(gl!B:B=C$3)*(LEFT(gl!D:D,2)="56")))
    Last edited by AliGW; 03-20-2024 at 09:35 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-04-2017
    Location
    USA
    MS-Off Ver
    MS 365
    Posts
    18

    Re: Sumifs formula

    Hello, thank you so much for assisting me. I am currently using 365. formula works on cells that returns a value other than 0. where the return is 0, it has #calc! instead.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,878

    Re: Sumifs formula

    Please update your forum profile and attach a sample workbook that shows the problem.

    You can try:

    =IFERROR(SUM(FILTER(gl!E:E,(gl!A:A=B$5)*(gl!B:B=C$3)*(LEFT(gl!D:D,2)="56"))),"")

  5. #5
    Registered User
    Join Date
    12-04-2017
    Location
    USA
    MS-Off Ver
    MS 365
    Posts
    18

    Re: Sumifs formula

    Thank you, is there a way to return the value in the same format as the rest of the empty cells ($ -)? Thank you

  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,783

    Re: Sumifs formula

    C6=SUMPRODUCT((gl!$A$2:$A$1000='exp track'!$B6)*(gl!$B$2:$B$1000='exp track'!C$3)*(LEFT(gl!$D$2:$D$1000,2)="56")*(gl!$E$2:$E$1000))

    Copy across

  7. #7
    Registered User
    Join Date
    12-04-2017
    Location
    USA
    MS-Off Ver
    MS 365
    Posts
    18

    Re: Sumifs formula

    Thank you so much!!!

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,878

    Re: Sumifs formula

    Glad to have helped.

    You still need to update our forum profile - please do this NOW!

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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] Sumifs formula without using sumifs....
    By blockbyblock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-10-2017, 10:45 AM
  2. Replies: 3
    Last Post: 01-24-2017, 08:08 AM
  3. Replies: 10
    Last Post: 12-16-2015, 03:16 PM
  4. [SOLVED] Sumifs formula giving #value even though each part individually works as a sum formula
    By carrach in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2015, 10:34 AM
  5. Replies: 2
    Last Post: 05-22-2014, 04:14 AM
  6. [SOLVED] Either/Or within a SUMIFS formula (part of a weighted average formula)
    By macrorookie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 09:56 PM
  7. [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

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