+ Reply to Thread
Results 1 to 9 of 9

#value!

  1. #1
    Registered User
    Join Date
    10-27-2007
    Posts
    15

    #value!

    Hi,

    I am using -

    =MID(Master!C20,FIND(" ",Master!C20)+1,999)

    But when Master!C20 is empty (No Name) I get #VALUE!

    What can I do to have this cell just be empty when Master!C20 is empty

    Thanks for any help
    Last edited by bear; 11-07-2007 at 10:27 AM.

  2. #2
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi bear,

    Use the ISERROR function.
    Corine

  3. #3
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    try using
    IF(ISERROR(your formula,"",your formula))
    format to cure it!
    Not all forums are the same - seek and you shall find

  4. #4
    Registered User
    Join Date
    10-27-2007
    Posts
    15
    I cannot seem to get this to work.

    Can you please post formula.

    Thanks

  5. #5
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    try:

    Please Login or Register  to view this content.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,736
    You don't really need ISERROR, try

    =REPLACE(Master!C20,1,FIND(" ",Master!C20&" "),"")

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    or simply....


    =IF(Master!C20="","",MID(Master!C20,FIND(" ",Master!C20)+1,999))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  8. #8
    Registered User
    Join Date
    10-27-2007
    Posts
    15
    The only one that worked for me was -

    =REPLACE(Master!C20,1,FIND(" ",Master!C20&" "),"")

    From daddylonglegs

    The others left cell blank even if name was present.

    Just thought I would let everyone know.

    Thanks for all the help, again!!!

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by bear
    The only one that worked for me was -

    =REPLACE(Master!C20,1,FIND(" ",Master!C20&" "),"")

    From daddylonglegs

    The others left cell blank even if name was present.

    Just thought I would let everyone know.

    Thanks for all the help, again!!!
    I am happy that one of the formulas helped you....

    but the only way mine wouldn't have worked is if you have the possibility of names with no spaces between (and your intent it to return a blank..which you did not specify)...

    If that was the case, then you could modify my formula to:

    Please Login or Register  to view this content.

    ...just FYI...

+ 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