I am trying to do an index match function in which I concatenated two text into a string and compared it to the same text in another table. Once comparing the two tables, I am able to pull a number result. However, I can't seem to figure a way to process a long string. In the score on column C it should add up all the values that are associated with the date and test.
EX:

In your posted sample data, you have discrepancies:
Assuming such discrepancies don't exist in your actual data, and that there would be exact matches because the concatenation is the result of a formula and not done by hand, you should be able to use this formula in cell C2 and copy down to get the sums you're looking for. Adjust the ranges to suit your actual data:
=SUMPRODUCT(--(COUNTIF(B2,"*"&$G$2:$G$100&"*")>0),--($F$2:$F$100=A2),$H$2:$H$100)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With