SUM

G

Guest

hello,
i have some problem which i mentioned is as under:

A1 B1(this cell has vlookup formula) C1(result)
1000 900 =SUM(A1-B1)

#VALUE! error is coming out if B1 is empty otherwise is ok.

thanks in advance.
 
G

Guest

=IF(ISNA(VLOOKUP(...)),0,VLOOKUP(....)

This puts a 0 in place of a blank or #N/A error. Then your sum will work
correctly.

Dave
 

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