• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Find and Replace, leaving leading zeros

Jessica Conrad

New Member
Hello!

I have a file that I use a macro in that does sub-totals of cutomer PO numbers. Below is examples of what's left in the column. I need to get rid of the word "Total" but keep the leading zero's of the PO. The PO's can vary in length with numbers and letters. When I'm doing a find and replace to take out the word Total, it also takes away the zero. Any thoughts?

0094832720 Total
020140808WCL Total

Thanks for any help!!
 
Hello!

I have a file that I use a macro in that does sub-totals of cutomer PO numbers. Below is examples of what's left in the column. I need to get rid of the word "Total" but keep the leading zero's of the PO. The PO's can vary in length with numbers and letters. When I'm doing a find and replace to take out the word Total, it also takes away the zero. Any thoughts?

0094832720 Total
020140808WCL Total

Thanks for any help!!
Hi,

I would use a helper column like this

=TRIM(SUBSTITUTE(A1,"Total",""))
 
Back
Top