I have data in cells that are number values and string values. The String values are #_ # with the # being any number. Example:
[TABLE="width: 500"]
<tbody>[TR]
[TD]3
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]1_4
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]2_10
[/TD]
[/TR]
</tbody>[/TABLE]
I want to SUM (3,1,4) and (2,3,2)
Here is what I have (Using Ctrl+Shift+Enter):
[TABLE="width: 500"]
<tbody>[TR]
[TD]3
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]1_4
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]2_10
[/TD]
[/TR]
</tbody>[/TABLE]
I want to SUM (3,1,4) and (2,3,2)
Here is what I have (Using Ctrl+Shift+Enter):
Code:
=SUMPRODUCT((LEFT(IF(ISTEXT(L31:L38), L31:L38, 0),IFERROR(SEARCH("_",L31:L38),0))-1))