Rachel_RBC
New Member
- Joined
- Jun 2, 2023
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
- Web
Hello,
I have a mess of a formula that I'm having trouble figuring out where I'm missing arguments. I also wonder if this is the best/easiest way to accomplish this.
I want to return the text between two delimiters, the first "~", and then "^_^". In the below sample Data, I want to it to return 5lb. All of our data should have the delimiters, but I would like to account for my coworkers possibly not following directions when this input data is created on another app.
Sample Data (Cell D21 on 'Input' sheet):
--start--
Source: Justin Goldman
~
5lb
^_^
High value item!
--end--
My messy formula: =IFERROR(IF(Input!D21="","",TEXTAFTER(iferror(TEXTBEFORE(Input!D21,"^_^"),textafter(Input!D21,"~")),"~"),"Not Given")
Right now I get an error for too few arguments, I believe. The tool tips stopped showing up.
Any help is greatly appreciated!
I have a mess of a formula that I'm having trouble figuring out where I'm missing arguments. I also wonder if this is the best/easiest way to accomplish this.
I want to return the text between two delimiters, the first "~", and then "^_^". In the below sample Data, I want to it to return 5lb. All of our data should have the delimiters, but I would like to account for my coworkers possibly not following directions when this input data is created on another app.
Sample Data (Cell D21 on 'Input' sheet):
--start--
Source: Justin Goldman
~
5lb
^_^
High value item!
--end--
My messy formula: =IFERROR(IF(Input!D21="","",TEXTAFTER(iferror(TEXTBEFORE(Input!D21,"^_^"),textafter(Input!D21,"~")),"~"),"Not Given")
Right now I get an error for too few arguments, I believe. The tool tips stopped showing up.
Any help is greatly appreciated!