+ Reply to Thread
Results 1 to 14 of 14

Blank formula cells until data is entered?

  1. #1
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Blank formula cells until data is entered?

    Right now I have a table that has cells with formulas in it, but because some cells are missing certain input values not yet entered, The cells with formulas either display numbers from the cells it's pulling data from, or DIV/0.

    Is there anyway to have these cells be completely blank until all of the necessary data is entered at which point the formula would "activate" and displays it's proper output instead of DIV/0?
    Last edited by DarkSoul; 07-27-2014 at 08:50 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Blank formula cells until data is entered?

    Try this:

    =iferror(your formula,"")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Blank formula cells until data is entered?

    Or if using excel 2003 or earlier:

    =if(iserror(your formula),"",your formula again)
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Blank formula cells until data is entered?

    You could use something like this:

    =If(certain cell is blank,"",your formula)
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Re: Blank formula cells until data is entered?

    Excellent, the IFERROR clears up the div/0 errors nicely.
    The next step however might be more complicated....or not...

    Quote Originally Posted by newdoverman View Post
    You could use something like this:

    =If(certain cell is blank,"",your formula)
    I think this is kind of what I need now.

    My table calculates losses and returns....without getting into too many details.

    So the cells that had errors are cleaned up, they're cells/rows that have no values as of yet.

    Some rows have some numbers, but aren't complete in that the "loss" calculations comes up to 100%, and the "returns" calculations come up as 0% because one of the values has not yet been entered to do the full calculation.

    Is it possible to retain the "IFERROR" clause, but to also blank out cells where the formulas are missing one of the values to do the calculation properly?

    That probably doesn't make sense but I have to go out for a short while, so when I get back I will post a sample of my spreadsheet to make it more clear what I want to do, if it's possible.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Blank formula cells until data is entered?

    Try this. I just used a very simple formula to act as an example...

    Delete a1 or B1...
    or delete c1.
    Attached Files Attached Files

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Blank formula cells until data is entered?

    In effect what you are wanting to do is use the =IF(YOUR FORMULA="","",YOUR FORMULA) and surround it by the IFERROR.
    =IFERROR(IF(YOUR FORMULA="","",YOUR FORMULA),"")

  8. #8
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Re: Blank formula cells until data is entered?

    Thank you, I worked it out and applied it to my spreadsheet. It's looking pretty professional now.

    The only problem I have now is with a chart I wanted to throw in.

    I have 2 sets of numbers. In, and Out.

    In is always a larger number than Out.

    When I chart them, the Out numbers are above the In numbers on the chart, even though Out is lower. it's a line graph, so the line for Out is above the line for In.

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Blank formula cells until data is entered?

    Can you supply a sample of the data for the chart that has the lesser value over the greater value?

  10. #10
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Re: Blank formula cells until data is entered?

    Nevermind, it appears to be working now.

    Thanks guys.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Blank formula cells until data is entered?

    OK. If that's your problem sorted, can you mark the thread as solved and (preferably) say thanks to all who helped by clicking the Add Reputation button at the foot of their post(s)?

  12. #12
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Re: Blank formula cells until data is entered?

    rep'd and solved

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Blank formula cells until data is entered?

    Thanks for that.

  14. #14
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Blank formula cells until data is entered?

    Thank you for the feedback and good luck.

+ 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] Leaving cell with formula blank until data is entered.
    By Marley04 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2013, 09:17 PM
  2. Keeping cells blank until data is entered?
    By mikeuk1954 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 04-27-2013, 03:48 PM
  3. Replies: 2
    Last Post: 02-22-2013, 04:24 PM
  4. Replies: 6
    Last Post: 05-01-2012, 10:34 PM
  5. Keeping Blank Cells Until Data Entered
    By msf316 in forum Excel General
    Replies: 3
    Last Post: 02-27-2009, 03: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