ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help with IF and VLookup Match Statement (https://www.excelbanter.com/excel-worksheet-functions/220226-help-if-vlookup-match-statement.html)

JessM

Help with IF and VLookup Match Statement
 
I am trying to write an if statement that if a value in the lookup table does
not exist to return a NA instead of an #N/A Error. If the value does exist in
the table than return that value.


Here is my formula that isn't quite working. I am having trouble with the IF
and ISERROR

=IF(VLOOKUP(X$5,Meeting_Planner_Towers_Final.xls!$ C:$ED,MATCH($B10,Meeting_Planner_Towers_Final.xls! $C$1:$ED$1,0),FALSE))=(ISERROR(X10)),"NA",(VLOOKUP (X$5,Meeting_Planner_Towers_Final.xls!$C:$ED,MATCH ($B10,Meeting_Planner_Towers_Final.xls!$C$1:$ED$1, 0),FALSE).

Any help is greatly appreciated!

muddan madhu

Help with IF and VLookup Match Statement
 
=if(iserror(vlookup(.....)),"na",vlookup(...))


On Feb 11, 2:46*am, JessM wrote:
I am trying to write an if statement that if a value in the lookup table does
not exist to return a NA instead of an #N/A Error. If the value does exist in
the table than return that value.

Here is my formula that isn't quite working. I am having trouble with the IF
and ISERROR

=IF(VLOOKUP(X$5,Meeting_Planner_Towers_Final.xls!$ C:$ED,MATCH($B10,Meeting_Planner_Towers_Final.xls! $C$1:$ED$1,0),FALSE))=(ISERROR(X10)),"NA",(VLOOKUP (X$5,Meeting_Planner_Towers_Final.xls!$C:$ED,MATCH ($B10,Meeting_Planner_Towers_Final.xls!$C$1:$ED$1, 0),FALSE).

Any help is greatly appreciated!




All times are GMT +1. The time now is 03:44 AM.

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