+ Reply to Thread
Results 1 to 6 of 6

combining --mid function with ifiserror function

  1. #1
    Registered User
    Join Date
    06-08-2011
    Location
    leiden, netherlands
    MS-Off Ver
    Excel 2010
    Posts
    12

    Post combining --mid function with ifiserror function

    Dear all,

    I know how to do following functions seperately

    1 =--MID(A2,3,10)
    2 =IF(ISERROR(E3+F3),"",E3+F3)

    but for my work, i want to combine these two functions

    If you can have a look at my attached excel sheet, then in cell B8, there is #VALUE!

    i dont know how to combine function 1 and 2 mentioned above.

    will be very happy, if somebody can help me
    thanks in advance,
    kadi
    Attached Files Attached Files

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

    Re: combining --mid function with ifiserror function

    I don't understand how you want them combined. They are not related.

    Please explain with words what it is you want to achieve.
    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.

  3. #3
    Registered User
    Join Date
    06-08-2011
    Location
    leiden, netherlands
    MS-Off Ver
    Excel 2010
    Posts
    12

    Post Re: combining --mid function with ifiserror function

    dear moderator, i am reaally sorry for not putting it right.

    I have two columns A and B, with 100 rows.
    column B is actually made from column A,
    the used function converts to text to numeric.
    In column A, ther are few rows missing, therefore when I use a formula based on column A, it is obviuos for the error to come in. But I dont want that error #value! to be displayed, therefore I wanted to use the IF ISERROR function along with mid function, but then i didnt know how to combine that along with mid function

    thanks for your time
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: combining --mid function with ifiserror function

    try
    =IF(ISERROR(--MID(A1,3,10)),0,--MID(A1,3,10))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    06-08-2011
    Location
    leiden, netherlands
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: combining --mid function with ifiserror function

    Thank you so much, it works now
    out of curiosity, from where do u all learn such tips, i tried to look in help files from excel, but couldnt get this information.
    thanks again for inspiration.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: combining --mid function with ifiserror function

    In Excel 2010 you could also use IFERROR, i.e.

    =IFERROR(--MID(A1,3,10),0)
    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)

Tags for this Thread

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