R. VENKATARAMAN

J

Jaladino

when summing up in H21-- A21*G21 and there is no entry for G that row I'm
getting a #Value! error, can I change somethink so its blank rather than
Value (which will interefere with the total)
 
M

Max

Just change the value_if_true in the error trap formula
to return a zero: 0 instead of ""
i.e. try instead in C21:

=IF(ISNA(MATCH($B21,$J$21:$J$37,0)),0,VLOOKUP($B21,$J$21:$L$37,COLUMNS($A$1:
A1)+1,FALSE))

or use SUM(... ), e.g.: =SUM(A1:A2) instead of : =A1+A2
(SUM will ignore text)
 

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