Search code examples
arraysregexgoogle-sheets

Get substring from cell after last space in Google Sheets


I would like to get last substring from cell in google Sheets. I mean everything after last space.

For example:
'Viatti V-130 Strada Asimmetrico 215/60 R16 95V' - get 95V
'Viatti Vettore Brina V-525 205/70 R15C 106/104R' - get 106/104R

Thanks for your time!


Solution

  • use:

    =INDEX(IFNA(REGEXEXTRACT(A1:A; "([^ ]+)$")))
    

    enter image description here