FryGirl
Well-known Member
- Joined
- Nov 11, 2008
- Messages
- 1,368
- Office Version
- 365
- 2016
- Platform
- Windows
How can I sum these values that are separated by a hyphen other than using =LEFT(A2,FIND("-",A2)-1)+MID(A2,FIND("-",A2)+1,2)
There will always only be one hyphen and the two values will never be over two digits on each side of the hyphen.
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[/TR]
</tbody>[/TABLE]
There will always only be one hyphen and the two values will never be over two digits on each side of the hyphen.
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD][TD]
B
[/TD][/TR]
[TR]
[TD]
1
[/TD][TD]
Count
[/TD][TD]
Total
[/TD][/TR]
[TR]
[TD]
2
[/TD][TD]
1-2
[/TD][TD]
3
[/TD][/TR]
[TR]
[TD]
3
[/TD][TD]
10-3
[/TD][TD]
13
[/TD][/TR]
[TR]
[TD]
4
[/TD][TD]
11-12
[/TD][TD]
23
[/TD][/TR]
</tbody>[/TABLE]
Last edited: