Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Apr 2003
    Location
    Illinois
    Posts
    135
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to Find & Replace #DIV/0! (2000)

    I want to replace all instances of #DIV/0! with NA. Pass the clue, please?

  2. #2
    2 Star Lounger
    Join Date
    Sep 2003
    Location
    Louisville, Kentucky, USA
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to Find & Replace #DIV/0! (2000)

    2 ways:
    1. Change your formula from =A1/B1 to =IF(B1=0,NA(),A1/B1)

    or

    2. Put =NA() in any empty cell. Hit ctrl-c to copy to your clipboard. Hit F5 and click on the Special button. Click on the radio button for Formulas and uncheck everything except Errors. Hit OK. Then hit ctrl-v to paste from your clipboard into all of the selected cells. This will replace all errors, not just #DIV/0!.

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: How to Find & Replace #DIV/0! (2000)

    Or, since I usually prefer to return a zero in a divide-by-zero situation, from =A1/B1 to =IF(B1,A1/B1,)
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

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