Solved

#REF!

Posted on 2012-04-04
3
187 Views
Last Modified: 2012-04-18
Hi,

Can i change, when i have in a cell the result #REF!, it to 0 or Null (like #N/A)?

Tx
0
Comment
Question by:sonmic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Expert Comment

by:helpfinder
ID: 37805462
yes.
use IFERROR formula, e.g. =IFERROR(IF(B1='c'!A1;1;2);"UUPS")
0
 
LVL 23

Accepted Solution

by:
Eirman earned 500 total points
ID: 37805480
IFERROR will nor work in excel 2003. It works in excel 2007 & 2010

Use IF and ISERROR in combination
http://www.excel-examples.com/iserror.htm

or

Use this really excellent excel add-on for painless error handling (there is a free home use version)
http://www.asap-utilities.com/
0
 
LVL 6

Expert Comment

by:wshark83
ID: 37831793
you need to use the IF() and ISERR() combination for #DIV/0 or #REF error's
if you get #N/A then you need to use ISNA() function....

i.e.:  =IF(ISERR(a1+b1),0,a1+b1) or IF(ISNA(a1+b1),"Null",a1+b1)
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question