rangeralex
New Member
- Joined
- Jan 3, 2013
- Messages
- 20
I am trying to create a conversion tool for data I get in a PDF. I have a rows worth of data that all shows up in the same cell when pasted into Excel. I am trying to use formulas to separate the data to make the process repeatable in an easy fashion. (Paste into sheet 1, auto converted copy appears like magic on sheet 2).
I used this formula in another portion of the workbook already for a similar task; however it wont work in this section due to a variable number of spaces in the middle of each cell. However, it will work if I can figure out a way to do it starting from the right side of the data in the target cell.
(Formula that worked in another section)
=MID(A1,FIND("*",SUBSTITUTE(A1," ","*",1))+1,2)
I have tried something similar to this:
=RIGHT(A1,FIND("*",SUBSTITUTE(A1," ","*",1))+1)
however, this is not counting the spaces in from the right side correctly.
Advice would be appreciated.
I used this formula in another portion of the workbook already for a similar task; however it wont work in this section due to a variable number of spaces in the middle of each cell. However, it will work if I can figure out a way to do it starting from the right side of the data in the target cell.
(Formula that worked in another section)
=MID(A1,FIND("*",SUBSTITUTE(A1," ","*",1))+1,2)
I have tried something similar to this:
=RIGHT(A1,FIND("*",SUBSTITUTE(A1," ","*",1))+1)
however, this is not counting the spaces in from the right side correctly.
Advice would be appreciated.