+ Reply to Thread
Results 1 to 6 of 6

Formula to handle Blank Cells

  1. #1
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Formula to handle Blank Cells

    Please Login or Register  to view this content.
    If the range above are all empty I get a #DIV/0 error.

    What is the best way to handle this via formula?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,931

    Re: Formula to handle Blank Cells

    Try this...
    =IFERROR(FORECAST($D$16,$B$4:$B$11,K4:K11),"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Formula to handle Blank Cells

    Since you are using Excel 2007
    Please Login or Register  to view this content.
    OR
    Replace the second IFERROR argument with whatever you want...like:

    Please Login or Register  to view this content.
    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

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

    Re: Formula to handle Blank Cells

    Please Login or Register  to view this content.
    Last edited by rcm; 08-10-2014 at 07:49 PM. Reason: typo

  5. #5
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Formula to handle Blank Cells

    Thanks for the reply guys, appreciated.
    Ended up using:
    Please Login or Register  to view this content.
    Used the "" to eliminate the invalid Date.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,931

    Re: Formula to handle Blank Cells

    Glad we could help, and 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: 11
    Last Post: 09-15-2014, 02:36 AM
  2. Replies: 4
    Last Post: 06-24-2013, 07:17 AM
  3. I want a formula cell to be blank if cells computing formula are blank
    By asawyer3 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2011, 05:24 PM
  4. Formula to handle cells with unicode needed
    By hyyfte in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2007, 08:37 AM
  5. using the fill handle All the cells return the value of the first
    By Chris Simmons in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-12-2005, 12:30 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