Skip to content

Instantly share code, notes, and snippets.

@parasdaryanani
Created March 2, 2023 08:33
Show Gist options
  • Save parasdaryanani/d9d9b0d1ff704e32ac70ffe3cf9b3c56 to your computer and use it in GitHub Desktop.
Save parasdaryanani/d9d9b0d1ff704e32ac70ffe3cf9b3c56 to your computer and use it in GitHub Desktop.
Remove MR MRS DR prefix from Excel
=IF(OR(LEFT(A1,3)="MR ",LEFT(A1,4)="MRS ",LEFT(A1,3)="DR "),RIGHT(A1,LEN(A1)-FIND(" ",A1)),A1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment