Solved

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

Posted on 2016-11-02
1
58 Views
Last Modified: 2016-11-02
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
0
Comment
Question by:Escanaba
1 Comment
 
LVL 29

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
ID: 41870249
Try this.....

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

Open in new window

0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question