Forum Discussion
GreVia
Apr 10, 2022Copper Contributor
Text Extraction and Sum with Vlookup
Hello all,
I have thought all day about this problem without any solution.
I have a table with a many codes in single cell (see below). I need to extract ( comma as delimiter) each single code and use a vlookup in other table to sum all codes present in that cell.
Maybe the best option is to use a matrix formula but I have no idea how to do.
ES1094,ES1093,ES1097,ES1096,ES1092,ES1095 | |
ES1094 | 5 |
ES1093 | 3 |
ES1097 | 5 |
Es1096 | 8 |
ES1092 | 6 |
ES1095 | 2 |
Results | 29 |
Many thanks
GV
5 Replies
- SergeiBaklanDiamond Contributor
- GreViaCopper Contributor
SergeiBaklan Thanks you,
is there a possibility to do also the sum through Vlookup in a solo formula?
- SergeiBaklanDiamond Contributor
It all depends on which Excel version/platform do you use and how your data is structured. In any case it'll be few formulas - split codes, lookup values for codes and sum them. On Excel with dynamic arrays perhaps you may combine all together in one block.