I have a vlookup that works just fine as long as I have a result. However I am getting the N/A when my vlookup does not find a match. How can I tweak the formula to give me 0.00 as my result
I have a vlookup that works just fine as long as I have a result. However I am getting the N/A when my vlookup does not find a match. How can I tweak the formula to give me 0.00 as my result
Last edited by ice; 03-08-2010 at 05:45 PM.
=if(isna(vlookup()),0,vlookup())
fill in the blanks with your vlookup...
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
You might not want to use quotes around the 0.00 (this makes it text) and instead use just 0 and then format the cell to number with 2 decimals..
Also, using ISERROR may hide legitimate errors that you might want to look into..
ice= MS Office Version:2007 ?
iferror(vlookup(a1,range,2,false),0) cell formatted number 2 dec places perhaps
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks