ok broken down
gets rid of all “ – “ returning say 123456789
gets first 4 characters characters from string above so 1234
Use this in the OR function to return true/false
would find 1234 in first 4 digits of 123456789 and return TRUE
Use this in an IF statement and then define which you want returned for each condition true/false)
now for the formula if true use
You wanted to delete ,in this case 1st and third digits so we need to get the 2nd and anything after the third
extracts the 2nd digit
extracts the rest of the digits starting from the 4th one
The 255 is the number of digits to return in effect use of 255 simply means everything!
Then simply use & to join strings together
For formula if false
You wanted to delete first 3 digits so re use the
part to return everything from 4th digit onwards
Bookmarks