+ Reply to Thread
Results 1 to 4 of 4

SUMIF - If there is no value to return, return "NO DATA TO DISPLAY"

  1. #1
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Derby, UK
    MS-Off Ver
    Excel 2013
    Posts
    138

    SUMIF - If there is no value to return, return "NO DATA TO DISPLAY"

    Hi,

    I'm using the formula =SUMIF(Table1[Date],G251,LISTINGS!D:D) to return a figure from another sheet, this works fine. However, when there is no data to return is simple shows a 0. What would I add to my formula to say - if no value show text "No Data to Display"?

    Hope this makes sense and thanks in advance.

    Ben

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

    Re: SUMIF - If there is no value to return, return "NO DATA TO DISPLAY"

    Here's one way...

    =IFERROR(1/(1/SUMIF(Table1[Date],G251,LISTINGS!D:D)),"No Data To Display")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Derby, UK
    MS-Off Ver
    Excel 2013
    Posts
    138

    Re: SUMIF - If there is no value to return, return "NO DATA TO DISPLAY"

    Perfect, thanks Tony.

    Ben

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

    Re: SUMIF - If there is no value to return, return "NO DATA TO DISPLAY"

    You're welcome. 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. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  2. Replies: 3
    Last Post: 04-14-2013, 11:53 PM
  3. Return "green", "yellow" or "red" from date/age and priority ranking
    By Cantaloop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 12:12 AM
  4. [SOLVED] Find multiple "text" criteria and return as ""Yes" in Matrix
    By bertrand82 in forum Excel General
    Replies: 11
    Last Post: 04-30-2012, 09:20 AM
  5. Replies: 3
    Last Post: 02-16-2011, 02:55 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