Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Don't display errors like #VALUE! ???

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Posts
    97
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I'm creating an Excel app that gets a lot of data from another application (PI-System). I am doing some calculations and in some cases there are empty cells in the range that I'm doing a calculation on. Eventually, the empty cells might have data in them. I don't want the user to see the #VALUE! in the formulated cell. Help please!

  2. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    How about

    =IF(ISERR("any function"),"","Any function")


    Or if you only want them hidden Conditional Formatting.



  3. #3
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-11 08:52, charlie79 wrote:
    I'm creating an Excel app that gets a lot of data from another application (PI-System). I am doing some calculations and in some cases there are empty cells in the range that I'm doing a calculation on. Eventually, the empty cells might have data in them. I don't want the user to see the #VALUE! in the formulated cell. Help please!
    I doubt that you have just empty cells in the range -- empty cells wouldn't cause the #VALUE! error. Generally, functions and arithemtic operatiors will treat an empty cell as 0.

    So, find out what's really there and deal with 'em. Arbitrarily, ignoring a #VALUE! error is never a good idea. What calculation are you performing?

    [ This Message was edited by: Mark W. on 2002-03-11 09:46 ]

  4. #4
    New Member
    Join Date
    Mar 2002
    Location
    San Ramon CA
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default


    I've had to deal with that problem, in that sometimes a cell is empty, and sometimes it's not. I use the

    IF(condition,true_action,false_action)

    function to determine if a cell has a valid entry, and if it does, run the formula. If not, pass the "empty value" or assign a placeholder.

    You do have to use this "value checking" routine on formulae that are 'downstream', but if you set all your formulae up right the first time, your users never have to see a #VALUE error in the results again.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •