Thread: Vlookup
View Single Post
 
Old 09-12-2011, 01:24 PM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Hi Karen,

Sure, if you are using Excel 2007 or later you can do it like this:

=IFERROR(VLOOKUP(A2,'Sheet1'!$A$2:$B$141,2,0),"no match")

If you are using Excel 2003 or earlier then you can do it like this:

=IF(ISNA(VLOOKUP(A2,'Sheet1'!$A$2:$B$141,2,0)),"no match",VLOOKUP(A2,'Sheet1'!$A$2:$B$141,2,0))
__________________
Colin

RAD Excel Blog
Reply With Quote