Remove 4 and 7 character from a cell

excelbag92

New Member
Joined
Mar 5, 2023
Messages
4
Office Version
  1. 365
I am trying to change grid references from 8 characters to 6. Can you help me workout how to remove the 4th and 7th character using a formula so that I can drag the formula down the whole column please?

so I want SK883070 to become SK8807

I have tried nested replace but this just adds additional I.E SK883070 becomes SK8 83070
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi & welcome to MrExcel.
Your description & expect result don't match. Which is correct?
 
Upvote 0
Apoligies, it's the 4th and 8th character that I wish to remove. I did look to change the thread title but couldn't workout how.
 
Upvote 0
Ok, how about
Excel Formula:
=REPLACE(LEFT(A2,7),4,1,"")
 
Upvote 0
Ok, how about
Excel Formula:
=REPLACE(LEFT(A2,7),4,1,"")
Yes, that worked only the 4 needed changing to a 5.

What does the 7 represent btw? I don't quite understand that because the 7th character was actually a 7 which remains.

Thank you very much
 
Upvote 0
The 7 means take the 1st 7 characters.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,613
Members
449,090
Latest member
vivek chauhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top