+ Reply to Thread
Results 1 to 6 of 6

Array formula populates a "0" when there is not value to report, but I want cell blank

  1. #1
    Forum Contributor
    Join Date
    08-28-2013
    Location
    grand rapids, michigan
    MS-Off Ver
    Excel 2010
    Posts
    163

    Array formula populates a "0" when there is not value to report, but I want cell blank

    On the Sequoia teamsheet (4th tab along the bottom) in the CIWA/CINA column if you scroll down you will see that the patient named "ham" has a zero for a value. This is because there are no CIWA or CINA assessments to report from the first tab "Census Sheet". My goal is for the CINA/CIWA column to report only if there are CINA CIWA scored on the "Census Sheet" (tab 1), and leave the cell blank if there is nothing to report. Please help me out on this.
    Attached Files Attached Files

  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: Array formula populates a "0" when there is not value to report, but I want cell blank

    I didn't download your file.

    Try something like this...

    =IFERROR(1/(1/ your_formula_here ),"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    08-28-2013
    Location
    grand rapids, michigan
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Array formula populates a "0" when there is not value to report, but I want cell blank

    Quote Originally Posted by Tony Valko View Post
    I didn't download your file.

    Try something like this...

    =IFERROR(1/(1/ your_formula_here ),"")
    This is my formula...it already has the IFERROR and "" in it. =IFERROR(INDEX('Census Sheet'!$H$1:$H$24,SMALL(IF('Census Sheet'!$N$3:$N$24="S",ROW($M$3:$M$24),""),ROW()-3),1),"")

  4. #4
    Registered User
    Join Date
    02-14-2013
    Location
    South Carolina
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Array formula populates a "0" when there is not value to report, but I want cell blank

    It's clunky, but this will typically work:

    Please Login or Register  to view this content.
    In your case:

    Please Login or Register  to view this content.
    Edit: Because a zero result is not technically an error, the IFERROR will not work for it. I believe Tony was offering a solution that would be a little more elegant than my own, but for numeric values. Since you're seeking text values, try the above.
    Last edited by kbryant414; 12-28-2014 at 08:21 PM.

  5. #5
    Forum Contributor
    Join Date
    08-28-2013
    Location
    grand rapids, michigan
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Array formula populates a "0" when there is not value to report, but I want cell blank

    Quote Originally Posted by kbryant414 View Post
    It's clunky, but this will typically work:

    Please Login or Register  to view this content.
    In your case:

    Please Login or Register  to view this content.
    You, my friend, are too smart for your own good! Thank you! it was staring me in the face the whole time. I guess I was just trying to avoid the clunky effect, but it works so that is all I need. Thank you again.

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

    Re: Array formula populates a "0" when there is not value to report, but I want cell blank

    If the formula is normally supposed to return a TEXT value, try this...

    =IFERROR(T(INDEX('Census Sheet'!$H$1:$H$24,SMALL(IF('Census Sheet'!$N$3:$N$24="S",ROW($M$3:$M$24),""),ROW()-3),1)),"")

    Still array entered.

+ 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. [SOLVED] Keeping particular cell blank if the related cells show "0" or "blank"
    By Anuru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-24-2014, 05:30 AM
  2. [SOLVED] Formula that populates last "used" cell in a row's data
    By askinquestions in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2014, 10:43 PM
  3. Replies: 11
    Last Post: 10-07-2014, 10:06 AM
  4. solution for the blank cell using the IF function
    By ragnaedge in forum Excel General
    Replies: 4
    Last Post: 08-23-2013, 11:03 AM
  5. If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 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