C
Colleyville Alan
I have some financial information that I can paste from a mainframe
application to Excel. I would like to take the string information and break
it into several columns. I have tried nested IF statements with FIND
statements embedded in them, but I was wondering if there was a simpler way.
Example - the string comes from the main frame looking like this:
FNMA 6.50% 3/15/04 100000.00
FHMLC 6.50% 3/15/04 100000.00
U S TREASURY 5.75% 8/15/04 400000
FNMA 6.50% 8/15/04 100000.00
HOME DEPOT 5.00% 2/1/05 20000
I'd like the output to be in separate columns:
BondName Yield Maturity ParValue
Using the Data|"Text to columns" menu option will not really work since
neither delimiters nor spacing is consistent.
What would work is if I could extract the bond name first and separate it
from from the rest of the data. Then I could split the other data with Text
to Columns. Is there an easy way to do that or is there another way to
achieve my goals. I could write a macro, but I'd rather use worksheet
functions if possible.
application to Excel. I would like to take the string information and break
it into several columns. I have tried nested IF statements with FIND
statements embedded in them, but I was wondering if there was a simpler way.
Example - the string comes from the main frame looking like this:
FNMA 6.50% 3/15/04 100000.00
FHMLC 6.50% 3/15/04 100000.00
U S TREASURY 5.75% 8/15/04 400000
FNMA 6.50% 8/15/04 100000.00
HOME DEPOT 5.00% 2/1/05 20000
I'd like the output to be in separate columns:
BondName Yield Maturity ParValue
Using the Data|"Text to columns" menu option will not really work since
neither delimiters nor spacing is consistent.
What would work is if I could extract the bond name first and separate it
from from the rest of the data. Then I could split the other data with Text
to Columns. Is there an easy way to do that or is there another way to
achieve my goals. I could write a macro, but I'd rather use worksheet
functions if possible.