+ Reply to Thread
Results 1 to 7 of 7

Sumifs formula with a twist

Hybrid View

  1. #1
    Registered User
    Join Date
    01-20-2010
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    21

    Sumifs formula with a twist

    Is there a way to make a sumifs formula that still works if one of the criteria is blank in some cases.

    =SUMIFS('Indirect Rate Plan Analysis'!$F:$F,'Indirect Rate Plan Analysis'!$D:$D,$D17,'Indirect Rate Plan Analysis'!$L:$L,$C17,'Indirect Rate Plan Analysis'!$G:$G,E$15)

    Sometimes C17 is blank

    Thanks

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Sumifs formula with a twist

    =if(c17<>"",SUMIFS('Indirect Rate Plan Analysis'!$F:$F,'Indirect Rate Plan Analysis'!$D:$D,$D17,'Indirect Rate Plan Analysis'!$L:$L,$C17,'Indirect Rate Plan Analysis'!$G:$G,E$15)
    ,sumifs(criterias to be eveluated if c17 is ""))
    what criteria is there to use if c17 is blank?
    Last edited by rcm; 01-25-2013 at 07:30 PM. Reason: wrong format

  3. #3
    Registered User
    Join Date
    01-20-2010
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Sumifs formula with a twist

    Nothing, this is pulling from a pivot table and sometimes that cell is blank because it a subtotal line. I still need it to calculate as if it did or did not have something in that cell.

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Sumifs formula with a twist

    so formulate the sumifs() without the c17 matching criteria it in the criteria part if c17 is blank

  5. #5
    Registered User
    Join Date
    01-20-2010
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Sumifs formula with a twist

    Im sorry I dont understand what you mean.

  6. #6
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Sumifs formula with a twist

    =if($c17<>"",SUMIFS('Indirect Rate Plan Analysis'!$F:$F,'Indirect Rate Plan Analysis'!$D:$D,$D17,'Indirect Rate Plan Analysis'!$L:$L,$C17,'Indirect Rate Plan Analysis'!$G:$G,E$15)
    ,SUMIFS('Indirect Rate Plan Analysis'!$F:$F,'Indirect Rate Plan Analysis'!$D:$D,$D17,'Indirect Rate Plan Analysis'!$G:$G,E$15))

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumifs formula with a twist

    What type of data is in 'Indirect Rate Plan Analysis'!$L:$L?

    Is it text? Numeric? Could be both? Something else?

    Are there any empty cells in 'Indirect Rate Plan Analysis'!$L:$L?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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