Dalcassius
New Member
- Joined
- Aug 26, 2015
- Messages
- 2
I have two tables. The first is a reference for values.The second is a sum of associated values.
[TABLE="class: grid, width: 50, align: left"]
<tbody>[TR]
[TD]A[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]-1[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]-2[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]-3[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD]-4[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 50, align: left"]
<tbody>[TR]
[TD]1[/TD]
[TD]B, E[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]B, C, E[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to find a way to take the values in the second column of the second table, use them to search the first column of the first table, and use the associated values in the second column of the first table to create their sums in the first column of the second table.
I am beginning to think this is out of the scope of a formula. I am no good with VBA script which I why I haven't tried that path.
I started by looking for a way to get VLOOKUP to use multiple criteria, but I can't find a method that uses a single cell with multiple criteria. I then moved on to INDEX/MATCH with CHOOSE, but that was a dead end for me.
I would be happy to even find out this is impossible so I can put it to bed.
[TABLE="class: grid, width: 50, align: left"]
<tbody>[TR]
[TD]A[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]-1[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]-2[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]-3[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD]-4[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 50, align: left"]
<tbody>[TR]
[TD]1[/TD]
[TD]B, E[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]B, C, E[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to find a way to take the values in the second column of the second table, use them to search the first column of the first table, and use the associated values in the second column of the first table to create their sums in the first column of the second table.
I am beginning to think this is out of the scope of a formula. I am no good with VBA script which I why I haven't tried that path.
I started by looking for a way to get VLOOKUP to use multiple criteria, but I can't find a method that uses a single cell with multiple criteria. I then moved on to INDEX/MATCH with CHOOSE, but that was a dead end for me.
I would be happy to even find out this is impossible so I can put it to bed.
Last edited: