IF(ISERROR(LOOKUP

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
567
Office Version
  1. 365
Platform
  1. Windows
=IF(ISERROR(VLOOKUP(D261,$Z$39:$Z$70,1,FALSE)),D261,””)

I have the above formula. Not quite working. I want to look at the data in cell D261 and if it matches with anything in column Z to delete it. otherwise if no match then show data in D261 in the cell.

Thanks in advance for your help
James
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi - Welcome to MrExcel !

Try this... (I have used Columns - B (source)& C (comparison data) and the value will be in Column D)

=IF(ISNA(VLOOKUP(B4,$C$4:$C$15,1,0)),"No Match",VLOOKUP(B4,$C$4:$C$15,1,0))
 
Upvote 0
How about
Excel Formula:
=IF(ISNUMBER(MATCH(D261,$Z$39:$Z$70,0)),"",D261)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,152
Messages
6,129,168
Members
449,490
Latest member
TheSliink

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