Excel 2007 Formula to Remove Null/#Value Results from Cell

Hello,

Using the following formula to split cells based on a certain character:  =TRIM(LEFT(SUBSTITUTE(MID(A5,FIND("{",A5),LEN(A5))," ",REPT(" ",100)),100))

I am seeking assistance in tweaking this formula so if that character is not found in the cell it just returns a blank response instead of the #Value currently being shown.

Thanks
LVL 1
EscanabaAsked:
Who is Participating?
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Try this.....

=IFERROR(TRIM(LEFT(SUBSTITUTE(MID(A5,FIND("{",A5),LEN(A5))," ",REPT(" ",100)),100)),"")

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.