+ Reply to Thread
Results 1 to 8 of 8

#NUM! error

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    North Carolina, USA
    MS-Off Ver
    2013
    Posts
    92

    #NUM! error

    I'm getting #NUM! error. How do I need to format my data to fix this? I attached a spreadsheet so that you can see.

    The formulas worked fine when I manually typed in the data but the data I'm using came from someone else that I'm trying to use these formulas in.
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: #NUM! error

    That is because the formula that is currently in there is expecting Q and P (in U1 and V1), not TIER Q and TIER P.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: #NUM! error

    You can either:

    A) Change TIER Q and TIER P to Q and P

    or

    B) Change the formula in U2 from U$1 to RIGHT(U$1)

    That is:

    =INDEX(Sheet2!$B$2:$K$15266,MATCH($A2,Sheet2!$A$2:$A$15266,0),SMALL(IF(LEFT(Sheet2!$B$1:$K$1)=RIGHT(U$1),COLUMN(Sheet2!$B$1:$K$1)-1),COUNTIF($A$2:$A2,$A2))) Ctrl Shift Enter

  4. #4
    Registered User
    Join Date
    11-11-2015
    Location
    North Carolina, USA
    MS-Off Ver
    2013
    Posts
    92

    Re: #NUM! error

    Quote Originally Posted by 63falcondude View Post
    That is because the formula that is currently in there is expecting Q and P (in U1 and V1), not TIER Q and TIER P.
    The only thing I changed was =T$1 to be =U$1 since I inserted a new column A. I needed the original column A to not change. The uploaded need it to have blanks.

    When I made those changes it worked fine in my test file but not on the real one for some reason.

  5. #5
    Registered User
    Join Date
    11-11-2015
    Location
    North Carolina, USA
    MS-Off Ver
    2013
    Posts
    92

    Re: #NUM! error

    Oh crap I see what you mean with what I did. Sorry!!!

    it's working now

  6. #6
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: #NUM! error

    try this:

    {=INDEX(Sheet2!$B$2:$K$15266,MATCH($A2,Sheet2!$A$2:$A$15266,0),SMALL(IF(LEFT(Sheet2!$B$1:$K$1)=RIGHT(U$1,1),COLUMN(Sheet2!$B$1:$K$1)-1),COUNTIF($A$2:$A2,$A2)))}
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  7. #7
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: #NUM! error

    sorry, didn't see other responses.

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: #NUM! error

    Quote Originally Posted by lwilt View Post
    Oh crap I see what you mean with what I did. Sorry!!!

    it's working now
    No problem. In the future, you will be better off continuing your original thread than starting a new one.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks for the rep!
    Last edited by 63falcondude; 02-22-2018 at 03:06 PM. Reason: Rep Added

+ 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