+ Reply to Thread
Results 1 to 17 of 17

Excel 2016 Error in Formula or its a bug?

  1. #1
    Registered User
    Join Date
    07-15-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Exclamation Excel 2016 Error in Formula or its a bug?

    Hi guys! i am encountering a problem to my work, when i am using lookup formula.

    I am using Index and match for look up formula

    this is my actual formula.

    {=INDEX(Sheet2!I:I,MATCH(Sheet1!F1&Sheet1!G1,Sheet2!D:D&Sheet2!E:E,0))}

    The error is, some of value im looking for i still get it, but some of value i am looking for even i have correct value each row that i am searching. the result is #VALUE! only. I tried to used also Vlookup function, but it still the same,

    what do you thing is/are the problem? I tried to use old version of MS Excel, it works perfectly.

    Thank you in advance.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Excel 2016 Error in Formula or its a bug?

    Hi, welcome to the forum

    I think the problem lies with your data, not excel or the formula. You probably have leading or trailing spaces in some data. But without seeing a sample of what you are working with, I cannot say for your.

    Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Excel 2016 Error in Formula or its a bug?

    ok, do not enter this as an array. Adjust this for the range of rows you need, plus some room for expansion, do not list entire columns.

    =INDEX(Sheet2!$I$1:$I$5000, MATCH(Sheet1!F1 & "-" & Sheet1!G1, INDEX(Sheet2!$D$1:$D$5000 & "-" & Sheet2!$E$1:$E$5000, 0), 0))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    07-15-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: Excel 2016 Error in Formula or its a bug?

    Having trouble uploading file. ill configure it out later.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Excel 2016 Error in Formula or its a bug?

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  6. #6
    Registered User
    Join Date
    07-15-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: Excel 2016 Error in Formula or its a bug?

    Test file if upload

  7. #7
    Registered User
    Join Date
    07-15-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: Excel 2016 Error in Formula or its a bug?

    http://www.4shared.com/file/88h1W1t0ce/abc.html?

    hi FDibbins This is the link of my work.

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Excel 2016 Error in Formula or its a bug?

    Please create a small version of your file, with only 50-100 rows of desensitized data. Then upload that directly here. You file should be well under 1mb at that point.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  9. #9
    Registered User
    Join Date
    07-15-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: Excel 2016 Error in Formula or its a bug?

    Hi JBeaucaire ,

    Actually that is my purpose a large file, I am having trouble when i am searching for a large number of rows..

    when i am looking for a value less than a hundred, sometimes there is no error. but sometimes there's some error floating. suspicious.

    But when i am using old version of MSExcel or other Spreedsheet. it works fine. but in excel 2016, i having some trouble in my formulas. it is because there's any changes of formula functions?

    sorry for my bad english.

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Excel 2016 Error in Formula or its a bug?

    Possibly. I wanted to see a "small" version of the file to review the functions and layout. I still believe my suggestion ion post #3 is the way to go for a single formula matching against two search values. Just change the 5000 to a number that works for your data.

    I tried to download your file 3 times, no luck.

  11. #11
    Registered User
    Join Date
    07-15-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: Excel 2016 Error in Formula or its a bug?

    Please see attched file
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    07-15-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: Excel 2016 Error in Formula or its a bug?

    Hi, Just for another information, I tried this code
    =INDEX(Sheet2!$I$1:$I$5000, MATCH(Sheet1!F1 & "-" & Sheet1!G1, INDEX(Sheet2!$D$1:$D$5000 & "-" & Sheet2!$E$1:$E$5000, 0), 0))

    and the result is still the same, hopefully you can help me with this problem.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Excel 2016 Error in Formula or its a bug?

    To start with, change that formula to this - it will run faster...
    =INDEX(Sheet1!C:C,MATCH('Tracking URLs'!A2&'Tracking URLs'!B2,Sheet1!$A$2:$A$2000&Sheet1!$B$2:$B$2000,0))

    As Jerry pointed out, try to avoid using full column references inside an ARRAY formula

    Then, you are getting an error because there is no match found. To overcome that, try this....
    =IFERROR(INDEX(Sheet1!C:C,MATCH('Tracking URLs'!A2&'Tracking URLs'!B2,Sheet1!$A$2:$A$2000&Sheet1!$B$2:$B$2000,0)),"")

  14. #14
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Excel 2016 Error in Formula or its a bug?

    Range concatenation is inefficient.

    Try it like this...

    =IFERROR(INDEX(Sheet1!C2:C2000,MATCH(1,(Sheet1!A2:A2000='Tracking URLs'!A2)*(Sheet1!B2:B2000='Tracking URLs'!B2),0)),"")

    Still array entered.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  15. #15
    Registered User
    Join Date
    07-15-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: Excel 2016 Error in Formula or its a bug?

    Hi Guys,

    I really appreciate your help, some of your formula working fine, but when im trying to search for a large content in excel, still the same. and for tony valko formula there's some cell are N/A.

    my concern is, when im using old version of Excel like MSexcel 2010/13 it works fine, there's no error. Im still curious if the excel 2016 have a problem. My excel current version is 16.0.7070.2026.

  16. #16
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Excel 2016 Error in Formula or its a bug?

    Any formula that works in earlier versions of excel should also work in later versions

  17. #17
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Excel 2016 Error in Formula or its a bug?

    Hi,

    MATCH does not work with lookup values that are in excess of 255 characters - those are the items that return #VALUE! errors in your workbook. You may replace your formula with a LOOKUP formula instead:
    =LOOKUP(2,1/(Sheet1!A:A=A2)/(Sheet1!B:B=B2),Sheet1!C:C)

    Edited: I overlooked Tony Valko's earlier post, which also avoids this issue. Both formulas will only return #N/A when there is no match for the lookup values.
    Last edited by xlnitwit; 07-18-2016 at 12:03 PM.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. Replies: 23
    Last Post: 01-03-2022, 10:45 AM
  2. Replies: 9
    Last Post: 06-02-2016, 03:19 PM
  3. Replies: 2
    Last Post: 05-24-2016, 10:43 PM
  4. Replies: 4
    Last Post: 03-30-2016, 11:30 AM
  5. Replies: 0
    Last Post: 02-16-2016, 11:24 AM
  6. VBA error 3706 connecting SQL Azsure Office 2016
    By LotusElise in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2015, 10:46 AM
  7. Excel Mac 2016 VBA error, need help
    By BlakeMile in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-23-2015, 03:09 AM

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