Is there a way to extract the text comment in the error produced by sumproduct in the following sheet? I expect C9 and C10 to be "Comment1" and "Comment2". This appears in the error message. Either a direct way to get the desired text or to extract the text from the error message using some JavaScript will be fine.

Here is the test sheet.


enter image description here

1 Answer 1


Error occurs as you are trying to multiply text values. If you need to get respective data from Comment column use following INDEX and MATCH formulas.


See results in D9 and D10 cells in your test sheet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.