I want to use a VLOOKUP to find values that are greater than zero. If the value is zero or non-existent, I want the vlookup to display a zero. Can someone help?
VLOOKUP will already do what you want so VLOOKUP may NOT be the function you want to use!I want to use a VLOOKUP to find values that are greater than zero. If the value is zero or non-existent, I want the vlookup to display a zero. Can someone help?
Excel Workbook | ||||
---|---|---|---|---|
A | B | |||
1 | value >0 found | 4 | ||
2 | ||||
3 | ||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A1 | =IF(COUNTIF(B:B,">0"),"value >0 found",0) |
Assuming the value being returned is numeric.Well, the default behavior isn't exactly working the way I want it to. In some cases, the search string I'm looking for is missing. So... if the vlookup can't find the search string, I want a zero, but what I'm getting is that #N/A symbol. Basically what I want it to do is to return the value it finds - if the search string is there - if the value is over zero. If not, then I want it to just record a zero. Make sense?