Ask Experts Questions for FREE Help!
Ask    ||    Answer
 
Advanced  
 

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Software > Spreadsheets   »   Replace #DIV/0! with other values

 
Thread Tools Search this Thread Display Modes
Question
 
 
#1  
Old May 9, 2008, 01:21 PM
Wonder84lalala
Junior Member
Wonder84lalala is offline
 
Join Date: Aug 2006
Posts: 44
Wonder84lalala See this member's comment history on his/her Profile page.
Replace #DIV/0! with other values

Is it possible to replace the output from #DIV/0! to 0 or other random values within a cell?

I tried using if statement, but it won't let me:

=IF(A1=#DIV/0!,0)

Thanks for your help.

Reply With Quote
 
     

Answers
 
 
Old May 9, 2008, 02:42 PM   #2  
Software Expert
JBeaucaire is offline
 
JBeaucaire's Avatar
 
Join Date: Jan 2008
Location: (Call me JB) Bakersfield, CA
Posts: 4,697
JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.
Pay to call JBeaucaire for advice ($.75/min)
Call JBeaucaire via Skype™
Say you want to divide the value in A1 by the value in A2. That formula is simple:
Code:
=a1/a2
The problem is that if the value in A2 is zero, it doesn't work, thus the error you're seeing, so check that cell first. There are couple of ways to do that.
Code:
=IF(ISERROR(A1/A2),0,A1/A2)
    or
=IF(A2=0,0,A1/A2)
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

 
Similar Sponsors


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Similar Threads
Fundmental values
(2 replies)
Least values
(4 replies)
Stock values
(3 replies)
cultural values
(6 replies)
future values
(1 replies)

Search this Thread

Advanced Search

Bookmarks

Sponsors



Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 03:52 AM.