+ Reply to Thread
Results 1 to 4 of 4

SUMIFS when no values to sum

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    SUMIFS when no values to sum

    Hi,

    I am using the SUMIFS function to sum data.

    In my data some of the criteria are only associated with "n/a" in the sum_range for the period, rather than actual numerical values. However, SUMIFS evaluates this as zero, which is not what I want. Instead I'd rather "n/a" was returned if there are no values to add.

    Can someone please suggest how I do this.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: SUMIFS when no values to sum

    Try

    =IF(SUMIFS(.......),SUMIFS(.....),"N/A")

    e.g

    =IF(SUMIFS(B2:B400,A2:A400,1),SUMIFS(B2:B400,A2:A400,1),"n/a")

  3. #3
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Re: SUMIFS when no values to sum

    Works a treat, thanks!

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: SUMIFS when no values to sum

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

+ 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 and looking up values
    By jdude in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-13-2016, 05:55 PM
  2. [SOLVED] SUMIFS but I want to know the values
    By ImolAyrton in forum Excel Formulas & Functions
    Replies: 64
    Last Post: 05-13-2016, 07:53 AM
  3. Replies: 2
    Last Post: 09-30-2015, 11:10 AM
  4. Sumifs Paste Values
    By kannan1847 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2015, 07:55 AM
  5. sumif or sumifs values less than corresponding values in the adjacent column
    By harikaraj in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-24-2015, 03:21 PM
  6. HELP PLEASE!!! SUMIFS top 10 values
    By mehdih in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-09-2014, 01:24 AM
  7. SUMIFS Between two Values?
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-19-2013, 11:44 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