I have an Excel spreadsheet with some 4000 instances of data entered in a cell as (for example) =234+3455+456+876. [The data are stock market related.] It turns out I only need the first two data elements. Each datum can be anywhere from 1 to 4 or 5 characters long.
I'm VBA illiterate, but was wondering if someone could point me toward a macro or global command that would truncate the string after the last digit of the first two data elements. So, the above string would end up as =234+3455. Maybe an "if, then" function of some sort? How would I apply same to the entire spreadsheet?
At this point, I could probably have just manually deleted the 4000 cells, but now it has become a challenge!! I also realize I really need to learn VBA!
Any help would be most appreciated.