Question : Excel 2010 - Changing VLOOOKUP Values

I have a VLOOKUP statement in one of my cells. If it does not find a VLOOKUP matched value it place #N/A in the cell. I wish to make this say 'No Price' rather than the default, I am guessing I need an if statement, and would aprpeciate any help on this

My VLOOKUP Statement is
=VLOOKUP(C3,INDIRECT("'UFP-Feed'!$B:$R"),10,0)

Thanks

Answer : Excel 2010 - Changing VLOOOKUP Values

You can use this formula in any version of Excel

=IF(ISNA(VLOOKUP(C3,INDIRECT("'UFP-Feed'!$B:$R"),10,0)),"No Price",VLOOKUP(C3,INDIRECT("'UFP-Feed'!$B:$R"),10,0))

or in Excel 2007 or later you can use IFERROR function like this

=IFERROR(VLOOKUP(C3,INDIRECT("'UFP-Feed'!$B:$R"),10,0),"No Price")

regards, barry

Random Solutions  
 
programming4us programming4us