If/is #value! Then [action]?

MEUserII

Board Regular
Joined
Oct 27, 2017
Messages
91
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
Platform
  1. Windows
Is there a way to write an IF formula or an IS formula that checks only for the error #VALUE! (and no other error like #REF!/#NA!...etc), and then executes an action?

For example something like: IF( ( (A1)=(#VALUE!) ), ("#YES VALUE! ERROR"), ("NO #VALUE! ERROR) ) ?

OR

Something like: ISVALUEERROR(A1)=#VALUE! , which would return TRUE/FALSE depending on if A1=#VALUE! ?
 
Last edited:

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
[TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl63, width: 72"]=IFERROR(IF(ERROR.TYPE(A1)=3,"#VALUE!",""),"")[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Use the ERROR.TYPE function...

=IF(ERROR.TYPE(A1)=3,"Yes #Value Error","No #Value Error")
Thank you so much for the help with this as I was not aware of the ERROR.TYPE() function.

[TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl63, width: 72"]=IFERROR(IF(ERROR.TYPE(A1)=3,"#VALUE!",""),"")[/TD]
[/TR]
</tbody>[/TABLE]
I will try this to see how it works, and will follow up.
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,152
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top