+ Reply to Thread
Results 1 to 3 of 3

How do you add an ISNUMBER() into a formula to return 0 for cells with no data

  1. #1
    Registered User
    Join Date
    01-28-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    8

    How do you add an ISNUMBER() into a formula to return 0 for cells with no data

    Hello,

    I have this formula that sums columns depending on two criteria. It works perfectly, until there is no data in the cell. What I would like to do is add an ISNUMBER check to the index data so that the function will work without returning errors and return 0 if there is no data in a cell. Here is the formula:

    =IFERROR(INDEX(MMULT(TRANSPOSE(Table1[[Lemons]:[Apples]]),1*(Table1[Project Release]=FruitOrVeg)),MATCH(B3#,Table6[[#Headers],[Lemons]:[Apples]],0)),0)

    Thanks for the help.

  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,830

    Re: How do you add an ISNUMBER() into a formula to return 0 for cells with no data

    Welcome to the forum.

    ISNUMBER may NOT be the best solution.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    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
    Valued Forum Contributor
    Join Date
    07-13-2021
    Location
    California, USA
    MS-Off Ver
    2010
    Posts
    513

    Re: How do you add an ISNUMBER() into a formula to return 0 for cells with no data

    Quote Originally Posted by OllieR View Post
    It works perfectly, until there is no data in the cell.
    I'm not sure what "the cell" is. Perhaps:

    Please Login or Register  to view this content.
    Last edited by curiouscat408; 11-28-2021 at 03:19 PM.

+ 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. IF(Isnumber) formula - update cells with character depending on dates.
    By Actygation in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-15-2021, 11:43 AM
  2. [SOLVED] ISNUMBER to return value found instead of TRUE?
    By kingofcamden in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-19-2018, 04:50 AM
  3. Formula to return data two cells over
    By gerst0230 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-03-2018, 11:10 AM
  4. [SOLVED] Formula to return N for cells with 0 and empty cells, and Y for cells with data
    By stpeter in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-13-2016, 05:20 PM
  5. Replies: 14
    Last Post: 06-17-2013, 09:43 AM
  6. [SOLVED] Alphanumeric 'ISNUMBER' formula to return 'Yes' or 'No'
    By RuthieBuxton in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-08-2013, 10:27 AM
  7. [SOLVED] Formula to look at multiple cells with the same data, but only return a value once
    By jonas245 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2013, 01:36 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