Forum Discussion

flexyourdata's avatar
flexyourdata
Iron Contributor
Jul 16, 2022
Solved

What is the simplest formula to return leading digits from a text string?

If I have some text like this:   Text Result 100g of bananas were found in a pool of 120l of liquified banana 100 A banana, standing alone in a field (nothing) They searched t...
  • HansVogelaar's avatar
    Jul 16, 2022

    flexyourdata 

    I'll kick off with

     

    =IFERROR(LOOKUP(9.99999999999999E+307,--LEFT(A2,SEQUENCE(LEN(A2)))),"")

Resources