Vector8086
New Member
- Joined
- Jan 4, 2022
- Messages
- 20
- Office Version
- 365
- 2021
- 2016
- 2007
- Platform
- Windows
- Web
I have a google sheet which tracks various categories of values, and these categories get summed up. So, the final result is a number.
Sample data:
"E(12), P-6, TW=4, 5" => The key values are: 12+6+4+5, formula should return 27
"2E, 2P, 6TW, 2O" => The key values are: 2+2+6+2, formula should return 12
I'm able to do this with a custom function via GAS, but if there was a way to do it in a formula, using the built-in functions, my google sheet would run much faster. It contains thousands of instances of the custom function.
Sample data:
"E(12), P-6, TW=4, 5" => The key values are: 12+6+4+5, formula should return 27
"2E, 2P, 6TW, 2O" => The key values are: 2+2+6+2, formula should return 12
I'm able to do this with a custom function via GAS, but if there was a way to do it in a formula, using the built-in functions, my google sheet would run much faster. It contains thousands of instances of the custom function.