Forum Discussion
kivanct
Helper I
3 years ago'MID' has the wrong data type or has an invalid value
Hi, It is a very long formula but I would be grateful if you could help me. I am receiving " 'MID' has the wrong data type or has an invalid value" error. How can i fix that ? ...
jdbuchanan71
Super User
3 years agoMy guess is that the 2nd part of your MID formula "IndexOfSecondSpace - IndexOfFirstSpace - 2" is returning a negative of a blank in some cases. For testing, try making 3 mesures.
- that returns IndexOfFirstSpace
- that returns IndexOfSecondSpace
- that retuturns IndexOfSecondSpace - IndexOfFirstSpace - 2
and see what the result of those values is.