ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   VLOOKUP (https://www.excelbanter.com/excel-worksheet-functions/230969-vlookup.html)

Gary T[_2_]

VLOOKUP
 
I'm trying to find exact matches from Sheet 1 to Sheet 2, and to show a zero
value if there is no match. Can't seem to get the formula right...

=IFERROR(VLOOKUP($B13,Sheet2!$A$2:$A$298,3),0)

Any ideas?
Thanks

Sean Timmons

VLOOKUP
 
Close!

=IF(ISERROR(VLOOKUP($B13,Sheet2!$A$2:$A$298,3)),0, VLOOKUP($B13,Sheet2!$A$2:$A$298,3))

"Gary T" wrote:

I'm trying to find exact matches from Sheet 1 to Sheet 2, and to show a zero
value if there is no match. Can't seem to get the formula right...

=IFERROR(VLOOKUP($B13,Sheet2!$A$2:$A$298,3),0)

Any ideas?
Thanks


Teethless mama

VLOOKUP
 
Try like this:

=IFERROR(VLOOKUP($B13,Sheet2!$A$2:$A$298,3,0),0)


"Gary T" wrote:

I'm trying to find exact matches from Sheet 1 to Sheet 2, and to show a zero
value if there is no match. Can't seem to get the formula right...

=IFERROR(VLOOKUP($B13,Sheet2!$A$2:$A$298,3),0)

Any ideas?
Thanks



All times are GMT +1. The time now is 07:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com