Codes Formula
A001,A002 (return 10+20+30=60)
B001 (return 40=40)
[table="width: 500"]
[tr]
[td]Code Data1 Data2
A001 10 20
A002 30
B001 40[/td]
[td][/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td][/td]
[/tr]
[/table]
I have two tables, one with the Codes and Formula columns, the second with the Code, Data1 and Data2 column. In the codes column, the codes are entered in one cell and are comma separated. I'm trying to enter a formula that selects the comma separated codes and returns Data1 and Data2 values from the second table when the codes match. It would be easy to do if I was to split the Codes column into two or more, but I have to keep multiple codes per cell. I'm writing in my second language so please let me know if I should explain it better.
A001,A002 (return 10+20+30=60)
B001 (return 40=40)
[table="width: 500"]
[tr]
[td]Code Data1 Data2
A001 10 20
A002 30
B001 40[/td]
[td][/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td][/td]
[/tr]
[/table]
I have two tables, one with the Codes and Formula columns, the second with the Code, Data1 and Data2 column. In the codes column, the codes are entered in one cell and are comma separated. I'm trying to enter a formula that selects the comma separated codes and returns Data1 and Data2 values from the second table when the codes match. It would be easy to do if I was to split the Codes column into two or more, but I have to keep multiple codes per cell. I'm writing in my second language so please let me know if I should explain it better.