I have thousands of items with boxes that have NBC-AB-440 and ABC-EA-150E, etc. I want to be able to remove the dashes and the first two parts of text (the NBC-AB- & ABC-EA-) so that I am just left with "440" & "150"
Thank you
I have thousands of items with boxes that have NBC-AB-440 and ABC-EA-150E, etc. I want to be able to remove the dashes and the first two parts of text (the NBC-AB- & ABC-EA-) so that I am just left with "440" & "150"
Thank you
This works for your two examples
VBA Noob=MID(A1,8,3)
_________________________________________
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
OK... so close...
But how do I get the cell to recognize the new value and not the formula?
I need to compare the last part of the text ("106" compared to "ABC-CE-106")
These I need to sort in a new way. I am trying to avoid having to sit and manually delete "ABC-CE-" from every line. Not every line starts with "ABC-CE-".
Thank you
Last edited by jonasmacs; 09-13-2008 at 03:18 PM. Reason: not working as I want it to
Not using formulas also consider Data - Text to columns - Check "delimited" - check others and enter "-" ( no quotes)
Thank you. I remember that now. Silly...
Thank you for your help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks