excel - Need to compare data from string of text in 1 cell to a column of data in another -
i trying index match function in concatenated 2 text string , compared same text in table. once comparing 2 tables, able pull number result. however, can't seem figure way process long string. in score on column c should add values associated date , test.
ex:
in posted sample data, have discrepancies:
- your example data shows concatenated values in cell b2 "test1" "test 2" , "test 3"
- however, in column g, find match "test1" because there no spaces "test2" , "test3"
assuming such discrepancies don't exist in actual data, , there exact matches because concatenation result of formula , not done hand, should able use formula in cell c2 , copy down sums you're looking for. adjust ranges suit actual data:
=sumproduct(--(countif(b2,"*"&$g$2:$g$100&"*")>0),--($f$2:$f$100=a2),$h$2:$h$100)
Comments
Post a Comment