FilterXML #Value Error

rkaczano

Board Regular
Joined
Jul 24, 2013
Messages
141
Office Version
  1. 365
Platform
  1. Windows
I am getting a #VALUE error on a FilterXML function.

I have a long string of appended text sub strings that have been brought together using the TextJoin () function.

I am then spilling a unique list from that long appended string as follows:

=TRANSPOSE(FILTERXML("<x><y>"&SUBSTITUTE(F2,",","</y><y>")&"</y></x>","//y"))

I know this works as I am already doing it on another text string using the same formulas.

The only thing that is different in the second example that is not working is that some of those substrings have "(", "*", and " ") in them. I know that the FilterXML function will produce a #VALUE error if the namespace has an invalid prefix. I am not sure what that means - but could the use of special characters in my substrings be generating the error?

Thank-you
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
If any of the resulting items are blank (eg your data ends in a comma) you'd get an error.
 
Upvote 0
There was an "&" that was causing me issues. Works now.

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,289
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top