Forum Discussion
Steve-TESTRITE
Nov 18, 2024Copper Contributor
formula to extract number value before a specific criteria
Hello, I'm trying to extract first batch of numbers from the string below so it'll be 300, can anyone help? A formula to call out number value before text value "Wh" Jackery 300w portable po...
Lorenzo
Nov 19, 2024Silver Contributor
=VALUE( TAKE( TEXTSPLIT( TEXTBEFORE( A1, "Wh " ), " " ),, -1 ) )
- Harun24HRNov 19, 2024Bronze Contributor
Nice solution. Shorter and simpler.
- LorenzoNov 30, 2024Silver Contributor
One way or another that doesn't seem to matter Steve-TESTRITE