Solved

Excel IFERROR specific ERROR not all perhaps VBA?

Posted on 2014-10-13
2
323 Views
Last Modified: 2014-10-13
Hello Excelers and Champs

i am looking for a specific function that whenever the result of my formula, has a specific type of error then the IFERROR sort of function can deal with it.

as far as i know, IFERROR treats all errors the same, and we have another one called ISNA and ISERROR is similar like iferror.

what i want in my formula is that if my error is #REF then put NullString otherwise if there is 0DIV error then put 0 and if there is "VALUE" error then put "Not OK"  and if there is "#NULL!" error then put "Exceeded" if there is #NAME? error then put "Name Deleted"

i am not sure it could be done with built-in function or if not with existing built in function then is there any UDF that can handle all of these?

thanks.
0
Comment
Question by:ProfessorJimJam
[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
2 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40376862
Hi,

pls try

=IFERROR(25/0,CHOOSE(ERROR.TYPE(25/0),"Exceeded",0,"Not OK","","Name Deleted","#Num!","#N/A!"))

And replace 25/0 twice with your formula

Regards
0
 
LVL 26

Author Closing Comment

by:ProfessorJimJam
ID: 40376895
@ Rgonzo1971  

you are a champion.  very fast and best solution.

thanks alot
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

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