Solved

Excel IFERROR specific ERROR not all perhaps VBA?

Posted on 2014-10-13
2
329 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

691 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