{"items":["5fda1ff2ffb0f20017abdb74","5fda1ff2ffb0f20017abdb70","5fda1ff2ffb0f20017abdb71"],"styles":{"galleryType":"Columns","groupSize":1,"showArrows":true,"cubeImages":true,"cubeType":"max","cubeRatio":1.7777777777777777,"isVertical":true,"gallerySize":30,"collageAmount":0,"collageDensity":0,"groupTypes":"1","oneRow":false,"imageMargin":5,"galleryMargin":0,"scatter":0,"rotatingScatter":"","chooseBestGroup":true,"smartCrop":false,"hasThumbnails":false,"enableScroll":true,"isGrid":true,"isSlider":false,"isColumns":false,"isSlideshow":false,"cropOnlyFill":false,"fixedColumns":0,"enableInfiniteScroll":true,"isRTL":false,"minItemSize":50,"rotatingGroupTypes":"","rotatingCropRatios":"","columnWidths":"","gallerySliderImageRatio":1.7777777777777777,"numberOfImagesPerRow":3,"numberOfImagesPerCol":1,"groupsPerStrip":0,"borderRadius":0,"boxShadow":0,"gridStyle":0,"mobilePanorama":false,"placeGroupsLtr":true,"viewMode":"preview","thumbnailSpacings":4,"galleryThumbnailsAlignment":"bottom","isMasonry":false,"isAutoSlideshow":false,"slideshowLoop":false,"autoSlideshowInterval":4,"bottomInfoHeight":0,"titlePlacement":["SHOW_ON_THE_LEFT","SHOW_BELOW"],"galleryTextAlign":"center","scrollSnap":false,"itemClick":"nothing","fullscreen":true,"videoPlay":"hover","scrollAnimation":"NO_EFFECT","slideAnimation":"SCROLL","scrollDirection":0,"scrollDuration":400,"overlayAnimation":"FADE_IN","arrowsPosition":0,"arrowsSize":23,"watermarkOpacity":40,"watermarkSize":40,"useWatermark":true,"watermarkDock":{"top":"auto","left":"auto","right":0,"bottom":0,"transform":"translate3d(0,0,0)"},"loadMoreAmount":"all","defaultShowInfoExpand":1,"allowLinkExpand":true,"expandInfoPosition":0,"allowFullscreenExpand":true,"fullscreenLoop":false,"galleryAlignExpand":"left","addToCartBorderWidth":1,"addToCartButtonText":"","slideshowInfoSize":200,"playButtonForAutoSlideShow":false,"allowSlideshowCounter":false,"hoveringBehaviour":"NEVER_SHOW","thumbnailSize":120,"magicLayoutSeed":1,"imageHoverAnimation":"NO_EFFECT","imagePlacementAnimation":"NO_EFFECT","calculateTextBoxWidthMode":"PERCENT","textBoxHeight":26,"textBoxWidth":200,"textBoxWidthPercent":65,"textImageSpace":10,"textBoxBorderRadius":0,"textBoxBorderWidth":0,"loadMoreButtonText":"","loadMoreButtonBorderWidth":1,"loadMoreButtonBorderRadius":0,"imageInfoType":"ATTACHED_BACKGROUND","itemBorderWidth":0,"itemBorderRadius":0,"itemEnableShadow":false,"itemShadowBlur":20,"itemShadowDirection":135,"itemShadowSize":10,"imageLoadingMode":"BLUR","expandAnimation":"NO_EFFECT","imageQuality":90,"usmToggle":false,"usm_a":0,"usm_r":0,"usm_t":0,"videoSound":false,"videoSpeed":"1","videoLoop":true,"jsonStyleParams":"","gallerySizeType":"px","gallerySizePx":292,"allowTitle":true,"allowContextMenu":true,"textsHorizontalPadding":-30,"itemBorderColor":{"themeName":"color_12","value":"rgba(220,226,233,0)"},"showVideoPlayButton":true,"galleryLayout":2,"calculateTextBoxHeightMode":"MANUAL","targetItemSize":292,"selectedLayout":"2|bottom|1|max|true|0|true","layoutsVersion":2,"selectedLayoutV2":2,"isSlideshowFont":true,"externalInfoHeight":26,"externalInfoWidth":0.65},"container":{"width":300,"galleryWidth":305,"galleryHeight":0,"scrollBase":0,"height":null}}

# 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 include 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.

**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 enter a 1. 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 a blank string. I want to replace the first 4 characters with a blank string 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 or feedback then please leave a comment below.

#HowtoRemoveFirst4CharactersinExcel #RemovefirstnthcharacterinExcel #ExcelRightfunction #ExcelMIDFunction #ExcelREPLACEFunction