IFERROR not Working

menor59

Well-known Member
Joined
Oct 3, 2008
Messages
574
Office Version
  1. 2021
Platform
  1. Windows
Hello Folks,

The Following Code is not working
Code:
=IFERROR(IF(E6<>"",(INDEX(Prowatch!AI:AI,MATCH(E6,Prowatch!H:H,0))),""),"No Number Listed")

So in E6 theres and email address
On Prowatch Tab AI:AI is a range of email addresses
IF E6 email matches anywhere in Range Match E6 Prowatch H:H which is a phone number
If E6 is blank it returns Blank
If E6 has an Email address, and is found in AI:AI, but H:H match does not have a phone Number show No Number listed

What am i doing wrong?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Maybe this...

=IFERROR(IF(E6<>"",IF(INDEX(Prowatch!AI:AI,MATCH(E6,Prowatch!H:H,0))=0,"No Number Listed",INDEX(Prowatch!AI:AI,MATCH(E6,Prowatch!H:H,0))),""),"Email not founded")

M.
 
Upvote 0
If the phone numbers are entered as actual numbers, and if No Number Listed is acceptable when E6 is not blank and a match isn't found:

=IF(E6="","",SUMIF(Prowatch!AI:AI,E6,Prowatch!H:H))

Format cell as:
[=0]"No Number Listed";(###) ###-####
 
Upvote 0
Found the problem...Im a nuckle head...I have the Ranges Backwards..Ugh sorry..

Code:
=IFERROR(IF(E6<>"",(INDEX(Prowatch!H:H,MATCH(E6,Prowatch!AI:AI,0))),""),"No Number Listed")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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