drdisp
New Member
- Joined
- Apr 3, 2015
- Messages
- 7
Hello guys,
Hope you are doing well.
I am seeking your help regarding an Excel formula.
I will be receiving a large text with a lot of XML tags in A1 cell.
I will have only a couple of XML tags that I will be using, the rest will be useless.
The purpose would be to extract the text between those certain tags.
For example, I only need the data between the following tags:
<to> and to>
<from> and </from>
<address> and </address>
Basically, pasting the following text in A1:
<?xmlversion="1.0"encoding="UTF-8"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
<address>George Bush Street</address>
<uselesstag>some_other_info</uselesstag>
</note>
should return the following info:
Tove
Jani
George Bush Street
Could you please assist with that?
MID and SEARCH functions come to my mind, however, I cannot get them to work for some reason.
Your help is greatly appreciated!
Hope you are doing well.
I am seeking your help regarding an Excel formula.
I will be receiving a large text with a lot of XML tags in A1 cell.
I will have only a couple of XML tags that I will be using, the rest will be useless.
The purpose would be to extract the text between those certain tags.
For example, I only need the data between the following tags:
<to> and to>
<from> and </from>
<address> and </address>
Basically, pasting the following text in A1:
<?xmlversion="1.0"encoding="UTF-8"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
<address>George Bush Street</address>
<uselesstag>some_other_info</uselesstag>
</note>
should return the following info:
Tove
Jani
George Bush Street
Could you please assist with that?
MID and SEARCH functions come to my mind, however, I cannot get them to work for some reason.
Your help is greatly appreciated!
Last edited: