+ Reply to Thread
Results 1 to 5 of 5

How to apply ISERROR in an Array Formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-05-2009
    Location
    Cologne, Germany
    MS-Off Ver
    Excel 2010
    Posts
    156

    How to apply ISERROR in an Array Formula

    Attached is a simple example of what I’m trying to achieve. There are differing money amounts in column C and the month those amounts are due to be paid in column B. Column E contains an array formula based upon a lookup value in cell G3 (month due for payment). The formula works fine but of course will report #NUM errors when it runs out of values to find from G3. In this example, I wanted J3 to return the total amount due in Jan but of course it also returns a #NUM error as it references the total error in E18. I have tried ISERROR but cannot get it to work – am I on the right track or is there a simpler alternative?
    Attached Files Attached Files
    Last edited by kborgers; 01-13-2012 at 02:35 PM.

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

    Re: How to apply ISERROR in an Array Formula

    Try IFERROR()

    =IFERROR(INDEX($C$3:$C$18, SMALL(IF($G$3=$B$3:$B$18, ROW($B$3:$B$18)-MIN(ROW($B$3:$B$18))+1, ""), ROW(A1)),COLUMN(A1)),"")
    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
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: How to apply ISERROR in an Array Formula

    Hi kborgers,

    See the attached file where I have done the minor correction in the sum formula only. Let me know if this helps.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    Attached Files Attached Files
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  4. #4
    Forum Contributor
    Join Date
    09-05-2009
    Location
    Cologne, Germany
    MS-Off Ver
    Excel 2010
    Posts
    156

    Re: How to apply ISERROR in an Array Formula

    Dear NVDB & Dilipandy, thanks so much for your suggestions, both of which work fine. Purely for asthetics, I will go with NBVC's solution. Another day, another thing learned! Thanks again both!

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: How to apply ISERROR in an Array Formula

    You are welcome kborgers..

    Cheers

    Happy learning.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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