nicolastella
New Member
- Joined
- May 13, 2019
- Messages
- 6
Hello, I had a code for this but I can find it anymore.
Basically, I have a sheet with a column of alphanumeric values. At the end of each string I have a decimal value between brackets, but also some text. I would like to extract the numeric value only, sum all the extracted values with the result on the next empty cell.
Returned value in B4, B8, B10.
Please see example below:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]DESCRIPTION[/TD]
[TD]TOT.[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]sheet (2.340 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]sheet (12.480 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]14.82[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]plate (23.120 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]plate (3.200 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]plate (4.120 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]30.44[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]bar (12.230 in)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]12.23[/TD]
[/TR]
</tbody>[/TABLE]
Basically, I have a sheet with a column of alphanumeric values. At the end of each string I have a decimal value between brackets, but also some text. I would like to extract the numeric value only, sum all the extracted values with the result on the next empty cell.
Returned value in B4, B8, B10.
Please see example below:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]DESCRIPTION[/TD]
[TD]TOT.[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]sheet (2.340 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]sheet (12.480 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]14.82[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]plate (23.120 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]plate (3.200 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]plate (4.120 sf)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]30.44[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]bar (12.230 in)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]12.23[/TD]
[/TR]
</tbody>[/TABLE]