SlideShare a Scribd company logo
1 of 5
Download to read offline
How to Remove First 4 Characters in Excel
You may have a workbook which contains text but you only want to extract certain characters from
it. For example, you may only want to extract the first name from a cell which contains the first and
last name of a person. In this tutorial I will show you how to manipulate text and in particular I will
show you some great techniques on how to remove the first 4 characters in Excel using the following
functions:
1) Excel RIGHT Function
2) Excel MID Function
3) Excel REPLACE Function
Using the Excel RIGHT Function
In this example I have a list of UK postcodes. I want to remove the first 4 characters to leave just the
last 3 characters of the postcode.
The formula in cell B2 is =RIGHT(A2,LEN(A2)-4). I then copied the formula down using the fill handle.
How does this Formula Work?
So how does this formula work? Let’s break this down so you can understand how it calculates. I will
use the formula in cell B2 for the explanation.
RIGHT Function
The RIGHT function extracts a given number of characters from the right side of a specified text. For
example =RIGHT(“bananas”,4) will result in “anas”
LEN Function
The LEN function extracts the length of a given string. For example =LEN(“apples”) will result in 6 as
there are 6 characters in the string “apples”.
RIGHT(A2,LEN(A2)
This section of the formula will return 8. For the first argument of the RIGHT function you have to
specify what text to use. In this example it is cell A2. For the second argument you have to specify
the number of characters you want to extract. For this argument I am using the LEN function which
returns the number of characters of the postcode CV36 7BL which is 8. The space between CV36 and
7BL counts as a character. The formula =RIGHT(A2,LEN(A2) translates to =RIGHT(A2,8) which returns
CV36 7BL.
RIGHT(A2,LEN(A2)-4)
I want to remove the first 4 characters so therefore I add a -4 at the end of the formula. LEN(A2)-4
therefore returns 4 (8-4=4).
If I simplify this further the RIGHT function is =RIGHT(A2,4) and returns CV36.
How do you Remove the First nth Character of a String?
If you want to remove the first nth characters in a string you just change the -4 to whatever number
of characters you want to remove. For example, if you want to remove the first 3 characters of a
string then simply change the -4 to -3. If you want to remove the first 2 characters then change it to -
2 and so on.
Using the Excel MID Function
The formula in cell B2 is =MID(A2,5,LEN(A2)). I then just copied the formula down using the fill
handle.
How does this Formula Work?
I will explain how the formula in cell B2 works.
The MID Function
The Excel MID function extracts the middle of a text based on the specified number of characters.
For example, =MID("bananas",3,2) returns “na”. The first argument is the text string or a cell
reference you want to extract from. The second argument is the first character you want to extract.
The third argument is the number of characters you want to extract.
=MID(A2,5
This section of the formula is saying start from the fifth character of the postcode CV36 7BL. This
means that it will start from the space as the space is the fifth character along from the left.
LEN(A2)
The LEN function is returning the number of characters of the postcode CV36 7BL which is 8.
=MID(A2,5,LEN(A2))
If you simplify this formula the MID function is =MID(A2,5,8). It starts from the space and extracts 8
characters along. Because there is only 3 characters after the space it therefore extracts 7BL.
How do you Remove the First nth Character of a String?
If you want to remove the first nth character then just add a 1 in the MID functions second
argument. For example if I want to remove the first 3 characters then I enter 4 in the MID functions
second argument. If I want to remove the first 2 characters then just enter 3 for the second
argument.
Using the Excel REPLACE Function
The formula in cell B2 is =REPLACE(A2,1,4,""). I then copied the formula down using the fill handle.
How does this Formula Work?
I will explain how this formula works using the formula in cell B2 as an example.
The REPLACE Function
The REPLACE function replaces a set of characters in a string with another set of characters. The first
argument of the replace function is the string or the cell you want to replace characters with. The
second argument is the position of the old text to begin replacing characters. The third argument is
the number of characters you want to replace the old text with. The fourth argument is the new
characters you want to replace the old text with.
REPLACE(A2,1,4,"")
The first argument is the postcode in cell A2. The second argument is the start number. I want to
start from the beginning so I enter1. The third argument is 4 as I want to replace the first 4
characters with new text. The last argument is two quotation marks which mean spaces. I want to
replace the first 4 characters with spaces so I am left with the last 3 characters.
How do you Remove the First nth Character of a String?
To remove the first nth character just replace the third argument with the number of characters you
want to remove. For example, if you want to remove the first 3 characters then just change the third
argument to 3.
I hope you enjoyed this tutorial on how to remove the first 4 characters in Excel. If you have any
questions then please leave a comment in my website:
https://www.excelmasterconsultant.com/single-post/2018/08/14/How-to-Remove-First-4-
Characters-in-Excel
If you want to see more tutorials I have written then please see my blog posts:
https://www.excelmasterconsultant.com/blog

More Related Content

Similar to How to Remove First 4 Characters in Excel

Microsoft Excel Advanced Features
Microsoft Excel Advanced FeaturesMicrosoft Excel Advanced Features
Microsoft Excel Advanced FeaturesAkashMeghwar2
 
Lesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxLesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxrubben7
 
Instructions Answer the flowing questions and submit the word docum.docx
Instructions Answer the flowing questions and submit the word docum.docxInstructions Answer the flowing questions and submit the word docum.docx
Instructions Answer the flowing questions and submit the word docum.docxLeilaniPoolsy
 
Introduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.pptIntroduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.pptdejene3
 
TrainingOutline_Excel_FormulasNFunctions_Workshop (Writing Sample)
TrainingOutline_Excel_FormulasNFunctions_Workshop (Writing Sample)TrainingOutline_Excel_FormulasNFunctions_Workshop (Writing Sample)
TrainingOutline_Excel_FormulasNFunctions_Workshop (Writing Sample)Patrice Dowtin, MS, MBA
 
Office technology
Office technology Office technology
Office technology SalwaRegina
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excelmadhuparna bhowmik
 
functionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdffunctionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdfFranzLawrenzDeTorres1
 
CBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxCBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxEdwinAdeolaOluwasina1
 
Assignment 4
Assignment 4Assignment 4
Assignment 4SneaK3
 
Simple formulas excel
Simple formulas excelSimple formulas excel
Simple formulas excelMalika khalil
 

Similar to How to Remove First 4 Characters in Excel (20)

Microsoft Excel Advanced Features
Microsoft Excel Advanced FeaturesMicrosoft Excel Advanced Features
Microsoft Excel Advanced Features
 
Excel formula
Excel formulaExcel formula
Excel formula
 
Lesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxLesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptx
 
Instructions Answer the flowing questions and submit the word docum.docx
Instructions Answer the flowing questions and submit the word docum.docxInstructions Answer the flowing questions and submit the word docum.docx
Instructions Answer the flowing questions and submit the word docum.docx
 
Introduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.pptIntroduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.ppt
 
TrainingOutline_Excel_FormulasNFunctions_Workshop (Writing Sample)
TrainingOutline_Excel_FormulasNFunctions_Workshop (Writing Sample)TrainingOutline_Excel_FormulasNFunctions_Workshop (Writing Sample)
TrainingOutline_Excel_FormulasNFunctions_Workshop (Writing Sample)
 
Office technology
Office technology Office technology
Office technology
 
Grade 5 Computer
Grade 5 ComputerGrade 5 Computer
Grade 5 Computer
 
Grade 6 Computer
Grade 6 Computer Grade 6 Computer
Grade 6 Computer
 
Ms excel
Ms excelMs excel
Ms excel
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excel
 
AAG_Excel_2010_Formulas_and_Functions
AAG_Excel_2010_Formulas_and_FunctionsAAG_Excel_2010_Formulas_and_Functions
AAG_Excel_2010_Formulas_and_Functions
 
functionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdffunctionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdf
 
CBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxCBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptx
 
Assignment 4
Assignment 4Assignment 4
Assignment 4
 
Sql tips split a column
Sql tips split a columnSql tips split a column
Sql tips split a column
 
Simple formulas excel
Simple formulas excelSimple formulas excel
Simple formulas excel
 
Excel (E-Module 2)
Excel (E-Module 2)Excel (E-Module 2)
Excel (E-Module 2)
 
Ch1
Ch1Ch1
Ch1
 
Lesson
LessonLesson
Lesson
 

Recently uploaded

SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...Elaine Werffeli
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...Bertram Ludäscher
 
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...Voces Mineras
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Klinik kandungan
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token PredictionNABLAS株式会社
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样wsppdmt
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024patrickdtherriault
 
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...varanasisatyanvesh
 
jll-asia-pacific-capital-tracker-1q24.pdf
jll-asia-pacific-capital-tracker-1q24.pdfjll-asia-pacific-capital-tracker-1q24.pdf
jll-asia-pacific-capital-tracker-1q24.pdfjaytendertech
 
DS Lecture-1 about discrete structure .ppt
DS Lecture-1 about discrete structure .pptDS Lecture-1 about discrete structure .ppt
DS Lecture-1 about discrete structure .pptTanveerAhmed817946
 
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTS
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTSDBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTS
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTSSnehalVinod
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxronsairoathenadugay
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Klinik Aborsi
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证pwgnohujw
 
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATIONCapstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATIONLakpaYanziSherpa
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeBoston Institute of Analytics
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNKTimothy Spann
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives23050636
 

Recently uploaded (20)

SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
 
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
Abortion pills in Jeddah |+966572737505 | get cytotec
Abortion pills in Jeddah |+966572737505 | get cytotecAbortion pills in Jeddah |+966572737505 | get cytotec
Abortion pills in Jeddah |+966572737505 | get cytotec
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024
 
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
 
jll-asia-pacific-capital-tracker-1q24.pdf
jll-asia-pacific-capital-tracker-1q24.pdfjll-asia-pacific-capital-tracker-1q24.pdf
jll-asia-pacific-capital-tracker-1q24.pdf
 
DS Lecture-1 about discrete structure .ppt
DS Lecture-1 about discrete structure .pptDS Lecture-1 about discrete structure .ppt
DS Lecture-1 about discrete structure .ppt
 
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTS
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTSDBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTS
DBMS UNIT 5 46 CONTAINS NOTES FOR THE STUDENTS
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
 
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATIONCapstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
 

How to Remove First 4 Characters in Excel

  • 1. How to Remove First 4 Characters in Excel You may have a workbook which contains text but you only want to extract certain characters from it. For example, you may only want to extract the first name from a cell which contains the first and last name of a person. In this tutorial I will show you how to manipulate text and in particular I will show you some great techniques on how to remove the first 4 characters in Excel using the following functions: 1) Excel RIGHT Function 2) Excel MID Function 3) Excel REPLACE Function Using the Excel RIGHT Function In this example I have a list of UK postcodes. I want to remove the first 4 characters to leave just the last 3 characters of the postcode. The formula in cell B2 is =RIGHT(A2,LEN(A2)-4). I then copied the formula down using the fill handle.
  • 2. How does this Formula Work? So how does this formula work? Let’s break this down so you can understand how it calculates. I will use the formula in cell B2 for the explanation. RIGHT Function The RIGHT function extracts a given number of characters from the right side of a specified text. For example =RIGHT(“bananas”,4) will result in “anas” LEN Function The LEN function extracts the length of a given string. For example =LEN(“apples”) will result in 6 as there are 6 characters in the string “apples”. RIGHT(A2,LEN(A2) This section of the formula will return 8. For the first argument of the RIGHT function you have to specify what text to use. In this example it is cell A2. For the second argument you have to specify the number of characters you want to extract. For this argument I am using the LEN function which returns the number of characters of the postcode CV36 7BL which is 8. The space between CV36 and 7BL counts as a character. The formula =RIGHT(A2,LEN(A2) translates to =RIGHT(A2,8) which returns CV36 7BL. RIGHT(A2,LEN(A2)-4) I want to remove the first 4 characters so therefore I add a -4 at the end of the formula. LEN(A2)-4 therefore returns 4 (8-4=4). If I simplify this further the RIGHT function is =RIGHT(A2,4) and returns CV36. How do you Remove the First nth Character of a String?
  • 3. If you want to remove the first nth characters in a string you just change the -4 to whatever number of characters you want to remove. For example, if you want to remove the first 3 characters of a string then simply change the -4 to -3. If you want to remove the first 2 characters then change it to - 2 and so on. Using the Excel MID Function The formula in cell B2 is =MID(A2,5,LEN(A2)). I then just copied the formula down using the fill handle. How does this Formula Work? I will explain how the formula in cell B2 works. The MID Function The Excel MID function extracts the middle of a text based on the specified number of characters. For example, =MID("bananas",3,2) returns “na”. The first argument is the text string or a cell reference you want to extract from. The second argument is the first character you want to extract. The third argument is the number of characters you want to extract. =MID(A2,5 This section of the formula is saying start from the fifth character of the postcode CV36 7BL. This means that it will start from the space as the space is the fifth character along from the left. LEN(A2) The LEN function is returning the number of characters of the postcode CV36 7BL which is 8. =MID(A2,5,LEN(A2)) If you simplify this formula the MID function is =MID(A2,5,8). It starts from the space and extracts 8 characters along. Because there is only 3 characters after the space it therefore extracts 7BL.
  • 4. How do you Remove the First nth Character of a String? If you want to remove the first nth character then just add a 1 in the MID functions second argument. For example if I want to remove the first 3 characters then I enter 4 in the MID functions second argument. If I want to remove the first 2 characters then just enter 3 for the second argument. Using the Excel REPLACE Function The formula in cell B2 is =REPLACE(A2,1,4,""). I then copied the formula down using the fill handle. How does this Formula Work? I will explain how this formula works using the formula in cell B2 as an example. The REPLACE Function The REPLACE function replaces a set of characters in a string with another set of characters. The first argument of the replace function is the string or the cell you want to replace characters with. The second argument is the position of the old text to begin replacing characters. The third argument is the number of characters you want to replace the old text with. The fourth argument is the new characters you want to replace the old text with.
  • 5. REPLACE(A2,1,4,"") The first argument is the postcode in cell A2. The second argument is the start number. I want to start from the beginning so I enter1. The third argument is 4 as I want to replace the first 4 characters with new text. The last argument is two quotation marks which mean spaces. I want to replace the first 4 characters with spaces so I am left with the last 3 characters. How do you Remove the First nth Character of a String? To remove the first nth character just replace the third argument with the number of characters you want to remove. For example, if you want to remove the first 3 characters then just change the third argument to 3. I hope you enjoyed this tutorial on how to remove the first 4 characters in Excel. If you have any questions then please leave a comment in my website: https://www.excelmasterconsultant.com/single-post/2018/08/14/How-to-Remove-First-4- Characters-in-Excel If you want to see more tutorials I have written then please see my blog posts: https://www.excelmasterconsultant.com/blog