I think there is better way to achieve your goal. Instead of replacing validation string with numbers (which make it difficult to verify what you have already input on the cell), it is better using an UDF that sum the row's values based on vlookup values, this way the validation string is unchanged.
-------------------------------
For learning purpose, here is the way using original method (replace validation string with associated number) :
1) Create named range as much as validation data (in this case : vldB, vldC, vldE, vldF, vldG, vldH, vldI, vldJ)
2) Assign this named range as validation list criteria for each cell, for example for cells on column B, the validation list formula is =INDEX(vldB,0,1)
3) Put this code on Sheet "Project" :
4) Put this code on Module1 :
-------------------------------
Now, using UDF method :
1 and 2) Same as first and second steps above
3) Put this code on Module1 :
4) Put this formula on cell K7 (and copied down) :
Bookmarks