+ Reply to Thread
Results 1 to 5 of 5

#NUM error

  1. #1
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    #NUM error

    I'm attaching a cut down version of my file. On the ED Elec Report worksheet in Cols C15 down and F15 to J15 down every formula returns a #NUM error and I can't work out why. The formulas in row 14 are all ok. Any help would be appreciated. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: #NUM error

    There are NO #NUM errors on the ED Elec Report from C15:J15 donwards.
    If you're going to supply example data at least check it properly before posting.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: #NUM error

    You might notice every formula begins with IFERROR and if you run a Evaluate Formula under the formula menu you will find a #NUM! error on every one.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: #NUM error

    If you filter out the unwanted data so you get left with Site 60
    ANTHONY HUGHES is the only person who's relevant to that date range.
    Where the data doesnt match the set conditions in your formula, ie

    IF(('ED Elec Income'!$C$2:$C$50000=$H$6+0)*('ED Elec Income'!$E$2:$E$50000>=$D$2+0)*('ED Elec Income'!$E$2:$E$50000<=$D$4+0)

    this will automatically generate a #NUM error.
    Thats why the IFERROR is used to suppress the #NUM errors generated when there is no more data to list that match the conditions.

    In a blank spreadsheet put a b c in A1 A3 A5 respectively.
    in B1
    =IFERROR(INDEX($A$1:$A$100,SMALL(IF(($A$1:$A$100<>""),ROW($A$1:$A$100)),ROW(A1)),1),"")
    Array formula
    This creates a list of abc in column B with no blanks.

    Now remove the IFERROR and you'll find the #NUMs appear

  5. #5
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: #NUM error

    Yes you're right. I didn't check it properly. Thanks for your help.

+ 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. VBA ERROR: run time error 1004: Application-defined or Object-defined error in excel 2013
    By AnanthKrishna in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2015, 06:16 AM
  2. [SOLVED] Run-tim error -2147467259(80004005): Automation error Unspecidied error
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2014, 12:12 PM
  3. Excel macro (compile error. syntax error.) error
    By salar_younis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-06-2014, 06:11 AM
  4. Receiving following error “Complie error : syntax error” Help
    By masond3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2012, 10:19 AM
  5. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  6. Error 75 File/Path access error, sometimes Error 1004
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-16-2011, 02:35 PM
  7. Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM

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