A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
assuming the text is in A1 enter
=SUBSTITUTE(A1,0,"")
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a column with text strings that that follow the format ABC000000012345
I need a formula to remove the 0000000 and return ABC12345
There are always three letters at the start, and always 7 zeros.
Suggestions appreciated
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Hi,
assuming the text is in A1 enter
=SUBSTITUTE(A1,0,"")
Answer accepted by question author
Hi,
Assuming your string in A1, try this and drag down as required
=LEFT(A1,3) & MID(A1,11,256)
Hi Mike
Maybe shorter : =REPLACE(A1,4,7,"")
Regards
Hi,
What if ABC000000012305
Your formula will remove the 0 after 123.
Regards
JY