fueledbycheerios
New Member
- Joined
- Nov 17, 2011
- Messages
- 6
Hello
I have a string of text of variable length which contains an 8 digit purchase order number which I need to find. However, the format for the PO varies between “PO #”, “PO#” etc.
I am able to return the PO number using the following example formulas
=IFERROR(MID(AI5,SEARCH("PO#",AI5)+4,8),"")
=IFERROR(MID(AI5,SEARCH("PO #",AI5)+5,8),"")
=IFERROR(MID(AI5,SEARCH("PO -",AI5)+5,8),"")
What I am unable to do is make these in to a signal formula, any suggestions?
Thanks
I have a string of text of variable length which contains an 8 digit purchase order number which I need to find. However, the format for the PO varies between “PO #”, “PO#” etc.
I am able to return the PO number using the following example formulas
=IFERROR(MID(AI5,SEARCH("PO#",AI5)+4,8),"")
=IFERROR(MID(AI5,SEARCH("PO #",AI5)+5,8),"")
=IFERROR(MID(AI5,SEARCH("PO -",AI5)+5,8),"")
What I am unable to do is make these in to a signal formula, any suggestions?
Thanks