If(Iserror... Question

isadoko

Active Member
Joined
Jan 10, 2005
Messages
322
Office Version
  1. 365
Platform
  1. Windows
I am trying to get this formula to work but cannot understand my error. I would appreciate any help. It was fine until I add the search for Customer. Thanks.

IF(ISERROR(D28="Customer","Customer",(VLOOKUP(O28,CRISMSTR!$B$392:$R$7572,14,FALSE))),"No Data",(D28="Customer","Customer",(VLOOKUP(O28,HRISMSTR!$B$392:$R$7572,14,FALSE)))
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
I want the formula to look for the term "Customer" and display it if there, else lookup the code or identifier in the field here, CRISMSTR!$B$392:$R$7572,14, if one is there, otherwise simply tell me that the field is empty and thus No Data. Help?
 
Upvote 0
Try (untested)

Code:
=IF(D28="Customer","Customer",IF(ISERROR(VLOOKUP(O28,CRISMSTR!$B$392:$R$7572,14,FALSE)),ISERROR(VLOOKUP(O28,HRISMSTR!$B$392:$R$7572,14,FALSE)),"No Data"))
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,272
Members
449,075
Latest member
staticfluids

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