Forum Discussion

GreVia's avatar
GreVia
Copper Contributor
Apr 10, 2022

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 
  
ES10945
ES10933
ES10975
Es10968
ES10926
ES10952
  
  
Results29

 

 

Many thanks

 

GV

5 Replies

    • GreVia's avatar
      GreVia
      Copper Contributor

      SergeiBaklan Thanks you,

       

      is there a possibility to do also the sum through Vlookup in a solo formula?

      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        GreVia 

        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.

Resources