0

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.

https://docs.google.com/spreadsheets/d/1aq4afUw29CxdOM4Yp9dgZw2wdJto8H343YMTJLXG-qM/edit?usp=sharing

enter image description here

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.

=INDEX($A$1:$H$6,MATCH($B9,$A$1:$A$6,0),MATCH(C$8,$A$1:$H$1,0))

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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