I've got some rows in Google Sheets that contain strings. I want to extract certain parts from this string and enter them into another cell:
specifically, I want to extract words/names that begin with the character "@".
For example in the string "Hello @Henry how are you" I want the next cell along to display only "@Henry", removing all the other words.
There are also cases when there are multiple names beginning with @ and I would want all of these returned (preferably in separate columns).
Can anyone help me with this?
Edit: dummy spreadsheet below:
https://docs.google.com/spreadsheets/d/1TupcKRHHi94Q3OLmZS0-eEWNwbEZF90gjymoyem3GFI/edit?usp=sharing
Best Answer
The
LEFT
function is for you to find values from the left-to-right summation and theRIGHT
function does just the opposite. TheFIND
function is to find at what position exactly text you want. It automatically starts counting characters forLEFT
orRIGHT
. And theLEN
function is to count the total value of characters that exist in a cell, so you need to use it in theRIGHT
function, because you need to count the total character value minus the position you are looking to separate.