freebird11
New Member
- Joined
- Jun 1, 2015
- Messages
- 3
Hello,
I would appreciate your help with the following conundrum:
I want to add the numbers from a set of cells that contain both numbers and text. Below is the example:
[TABLE="class: grid, width: 200, align: left"]
<tbody>[TR]
[TD]11 BUL[/TD]
[/TR]
[TR]
[TD]55 CAN; 81 ITA; 3 BUL[/TD]
[/TR]
[TR]
[TD]BUL[/TD]
[/TR]
[TR]
[TD]71 CAN; 21 POL[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]ITA[/TD]
[/TR]
</tbody>[/TABLE]
So I want to create a function that would take the value of the first cell (11) and add it to the sum of the values of the second cell (139), and so on for all the cells. At the end I should get one big fat number.
The trick is that cells have different amounts of values, some cells have no values or text, and some only have text.
Anyone have an ingenious solution?
Thanks!
I would appreciate your help with the following conundrum:
I want to add the numbers from a set of cells that contain both numbers and text. Below is the example:
[TABLE="class: grid, width: 200, align: left"]
<tbody>[TR]
[TD]11 BUL[/TD]
[/TR]
[TR]
[TD]55 CAN; 81 ITA; 3 BUL[/TD]
[/TR]
[TR]
[TD]BUL[/TD]
[/TR]
[TR]
[TD]71 CAN; 21 POL[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]ITA[/TD]
[/TR]
</tbody>[/TABLE]
So I want to create a function that would take the value of the first cell (11) and add it to the sum of the values of the second cell (139), and so on for all the cells. At the end I should get one big fat number.
The trick is that cells have different amounts of values, some cells have no values or text, and some only have text.
Anyone have an ingenious solution?
Thanks!