vlookup or #N/A

G

Guest

I have designed a sales tracking worksheet which I assigned a specific
numbers to distributors. In an other sheet I copy the sale and vlookup
function just look up the data and display on specific cells. But the problem
is that if any distributor have no sale on particular date. Cell displayed
the error message "#N/A". This means that I first to delete all cells value
which contains that error and then I able to see the total sales.
I used this function with if command to prevent this error but in vain.
Anybody please help me to overcome this situation.
 
G

Guest

Try an IF(ISNA(...), .. error trap, set to return a zero* if TRUE
Eg, something like: =IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...))

*so that downstream calcs can proceed unaffected
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top