Solved

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

Posted on 2016-11-02
1
66 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 30

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

840 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