+ Reply to Thread
Results 1 to 7 of 7

Removing #VALUE! and underlying formula

  1. #1
    Registered User
    Join Date
    09-12-2009
    Location
    Miami, Florida
    MS-Off Ver
    Excel 2010
    Posts
    33

    Removing #VALUE! and underlying formula

    Hi Folks,

    I'm working on a massive Excel spreadsheet- perhaps as large as 25 million cells.

    About 1/3 of the cells contain the error: #VALUE!

    In the hopes of speeding things up, I would like to convert these to blank cells. I.e. remove the error message and underlying formula.

    Is it possible to make a simple formula that I can just drag across the affected cells that will identify each "#VALUE!" cell and then replace it with blank cell?
    Last edited by lamkoid; 09-18-2009 at 01:30 PM.

  2. #2
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Removing #VALUE! and underlying formula

    You could change your formulas to use the iferror wrapper... making the condition for a failure = ""
    For example
    =IFERROR(A1/B1,"")
    If A1 = 1 and B1 = 0, instead of getting an error, no value is displayed. That way you don't lose the formula. So, if later there should be a value displayed you won't have to rewrite anything.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Removing #VALUE! and underlying formula

    Do you have other error values that should persist ?

    If not and you truly want to override error values then something along the lines of:

    Please Login or Register  to view this content.
    (the above can be done manually also by highlighting affected range on given sheet pressing F5 -> Special -> Formulas -> Errors (uncheck other options) -> OK -> hit Delete)

  4. #4
    Registered User
    Join Date
    09-12-2009
    Location
    Miami, Florida
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Removing #VALUE! and underlying formula

    Hey DonkeyOte,

    That F5 trick was awesome. It allowed me to overlap the highlight onto cells with data and formuals I needed to be left unaffected, and it removed the error values and the underlying formulas, as advertised.

    It probably would have taken me about a year to figure that out on my own.

    Using this forum is so rewarding, I feel like I am doing something illegal, or immoral.

  5. #5
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Removing #VALUE! and underlying formula

    Wow... that's pretty cool. I already did it to clean up one of my bigger sheets too. Learn something every time I come to this site... THANKS!

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Removing #VALUE! and underlying formula

    WRT the VBA solution on large spreadsheets, suggest you read http://www.rondebruin.nl/specialcells.htm before trying.
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Removing #VALUE! and underlying formula

    thanks shg - I was not aware of that issue previously.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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