+ Reply to Thread
Results 1 to 2 of 2

How can I replace #VALUE! with a blanck cell?

Hybrid View

Motox How can I replace #VALUE!... 02-09-2011, 06:09 PM
daddylonglegs Re: How can I replace #VALUE!... 02-09-2011, 06:17 PM
  1. #1
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    How can I replace #VALUE! with a blanck cell?

    Hi forum,

    I have a formula in cell A4 that gets a value from cell C4 if the value in C4 is followed by a comma (i.e. it gets the first value in a series of values seperated by commas).
    The formula is =LEFT(C4,(FIND(",",C4,1))-1)
    It works well but if there is no value in cell C4 then I get #VALUE! in cell A4.

    What I need is for cell A4 to remain "blank" if there is no value in cell C4.

    I have tried using IF combined with ISERROR but can not get it to work.

    Can anyone help?

    Thanks very much

    Motox

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702

    Re: How can I replace #VALUE! with a blanck cell?

    Try this version

    =LEFT(C4,FIND(",",C4&",")-1)
    Audere est facere

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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