+ Reply to Thread
Results 1 to 4 of 4

If no SUMIFS matches, 1, otherwise the SUMIFS result...

  1. #1
    Forum Contributor
    Join Date
    08-25-2014
    Location
    Pennsylvania, US
    MS-Off Ver
    Windows '16
    Posts
    165

    If no SUMIFS matches, 1, otherwise the SUMIFS result...

    Hi guys, I have a question which might not have an answer, but I'll give it a shot. Let's say I have a long SUMIFS function, one that is both processor intensive and contributes to the size of my workbook significantly. I want to test it the return value is 0, and if so return 1. Otherwise I would like to return the SUMIFS result. So I would like

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Without having to repeat my SUMIFS function. Anyone know a way? I feel like there's a math function hidden somewhere...

    On a side, does anyone know if Excel will actually calculate those identical SUMIFS functions twice? I suppose I could test it but that would be great to know. Thanks!

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: If no SUMIFS matches, 1, otherwise the SUMIFS result...

    Try this
    =IFERROR(1/(1/(SUMIFS(... ... ... ... ... ...))),1)

  3. #3
    Forum Contributor
    Join Date
    08-25-2014
    Location
    Pennsylvania, US
    MS-Off Ver
    Windows '16
    Posts
    165

    Re: If no SUMIFS matches, 1, otherwise the SUMIFS result...

    Aha! Beautiful and so simple. Thanks!

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: If no SUMIFS matches, 1, otherwise the SUMIFS result...

    Thanks for the feedback.

+ 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 name column matches, along with a specific date range
    By mhewitson15 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-20-2016, 05:00 AM
  2. [SOLVED] Neither SUMIFS nor SUMPRODUCT deliver the required result
    By Gijs in forum Excel General
    Replies: 3
    Last Post: 07-11-2016, 05:25 AM
  3. [SOLVED] SUMIFS - #VALUE and not a result
    By Vestlink in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-05-2015, 04:54 AM
  4. SUMIFS Puzzle - Trying to avoid adding multiple SUMIFS to get valid result
    By haldavid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2013, 03:42 PM
  5. [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
  6. [SOLVED] SUMIFS + condition on result
    By Davzx in forum Excel General
    Replies: 4
    Last Post: 06-28-2012, 12:59 PM
  7. [SOLVED] Use sumifs only when first character in cell matches criteria
    By steinfm in forum Excel General
    Replies: 5
    Last Post: 06-27-2012, 04:18 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