+ Reply to Thread
Results 1 to 4 of 4

remove #Value! in excel

  1. #1
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    389

    remove #Value! in excel

    I have a cell that depends on another formula in another cell if there is no data in the latter cell the former cell displays #VALUE!

    Is there a way that I can ensure that that cell the is blank until the data is updated to the depending cell.

    The formula that I have is IN C1 =TRIM(MID(A1,FIND("CE",A1)-1,3))

    I get the #VALUE! if there is no data in A1

    How can I get C1 to remain blank and not VALUE! until A1 receives a value?

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: remove #Value! in excel

    Try this.......

    =IFERROR(TRIM(MID(A1,FIND("CE",A1)-1,3)),"")
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Valued Forum Contributor mohd9876's Avatar
    Join Date
    05-04-2011
    Location
    Amman, Jordan
    MS-Off Ver
    Excel 2010
    Posts
    426

    Re: remove #Value! in excel

    you can use IFERROR as follows: =IFERROR(TRIM(MID(A1,FIND("CE",A1)-1,3)),"") or you can check if A1 is blank and update the formula as follows: =IF(A1="","",TRIM(MID(A1,FIND("CE",A1)-1,3)))

  4. #4
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    389

    Re: remove #Value! in excel

    Hi, sktneer,

    Thanks for your prompt response,
    Thanks for the help.. Great stuff..
    its work, thanks again,
    hkbhansali

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. excel macro to remove specific columns and rows + remove duplicate
    By garrywelson in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-17-2013, 12:03 PM
  2. Replies: 1
    Last Post: 10-23-2012, 09:12 AM
  3. Macro, to remove commas and remove speach marks
    By 5h1l in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2012, 12:06 PM
  4. Need VBA code to remove entries if there are duplicates (remove them totally)
    By BrandonFromSingapore in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2012, 12:50 AM
  5. Remove all text after 1st comma and Remove the -,NE and spacing
    By Tan Bee Hock in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-06-2008, 06:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1