+ Reply to Thread
Results 1 to 21 of 21

INDEX AND MATCH formula issue

  1. #1
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    INDEX AND MATCH formula issue

    Greetings to all.

    I have an Excel which matches Column cells' contents (from different sheets of an Excel) and track/display the values.

    Formula I used (to compare 'ToHere' sheet with 'FromHere' sheet to get values):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    :
    :
    so on until the End of the Row (Sheet name: 'ToHere')

    Issue:

    I get #N/A in between the shown values (seems issue with my written INDEX formula..??)

    Can someone help me solve this issue, please.

    Thanks
    NA issue.png
    Attached Files Attached Files
    Last edited by LesliePrabakar; 07-15-2016 at 04:57 AM. Reason: Attached Excel file

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: INDEX AND MATCH formula issue

    Welcome! An image is of little use. Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

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


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: INDEX AND MATCH formula issue

    Thanks dear Ali for your quick response.
    I tried uploading the Excel, but unable to upload from Chrome as well as Firefox browsers.

    When I click on attachment icon, I get no uploading option.

    Any help welcome.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: INDEX AND MATCH formula issue

    Read my instructions again - do not try to use the paperclip icon (it doesn't work).

  5. #5
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: INDEX AND MATCH formula issue

    Took time to identify the option. Now done, Ali. Can somebody help now please.

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: INDEX AND MATCH formula issue

    Hi
    I'm trying to solve
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    but you can try VLOOKUP
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: INDEX AND MATCH formula issue

    Try fixing your ranges:

    =INDEX(FromHere!$B$2:$B$1356,MATCH(A2,FromHere!$A$2:$A$1356,0))

  8. #8
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: INDEX AND MATCH formula issue

    Dear José Augusto, I am awestruck with the formula shared.

    Super cool, working fine.

    The last row value is not retrieved rightly (displayed as #N/A), any clue please.

    Please see the attachment for reference. Last value issue.png

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: INDEX AND MATCH formula issue

    This means there is no matching data.

  10. #10
    Registered User
    Join Date
    06-06-2016
    Location
    HK
    MS-Off Ver
    2007
    Posts
    6

    Re: INDEX AND MATCH formula issue

    you can type the formula like this as well "=INDEX(FromHere!B:B,MATCH(A2,FromHere!A:A,0))"
    As you haven't lock the cell range from B2 to B1356 or A2 to A1356, when you click down the formula, excel will autumnally change the data range eg. B2:B1356 , then B3:B1357 and so on.....the array that index uses to find the value will be different (data base).
    As there are two columns only, you can use vlookup instead, "=VLOOKUP(A:A,FromHere!A:B,2,FALSE)

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: INDEX AND MATCH formula issue

    It is not advisable to use full ranges such as A:A - it can slow down the processing, as the entire column has to be checked. It is much better to get the range correct and fix it, e.g. $A$1:$A$3000.

  12. #12
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: INDEX AND MATCH formula issue

    Quote Originally Posted by LesliePrabakar View Post
    Dear José Augusto, I am awestruck with the formula shared.

    Super cool, working fine.

    The last row value is not retrieved rightly (displayed as #N/A), any clue please.

    Please see the attachment for reference. Attachment 470634

    This problem with rang not with formula

    Just try

    =IFERROR(INDEX(FromHere!B:B,MATCH(A2,FromHere!A:A,0)),"") and drag down!!
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  13. #13
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: INDEX AND MATCH formula issue

    Thanks Ali for the formula and help.

  14. #14
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: INDEX AND MATCH formula issue

    Datum available for the last row. Can you check it and help please..

    ZYLOG 3.85
    'Zylog' is the last available row from 'FromHere' sheet (reference value is 3.85).

  15. #15
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: INDEX AND MATCH formula issue

    Leslie
    Try to use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down
    Note:Adjust your range for cover the table in FromHere sheet
    See the file
    Attached Files Attached Files

  16. #16
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: INDEX AND MATCH formula issue

    Thanks José Augusto
    Completely my query is solved.

    Take good care all.

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: INDEX AND MATCH formula issue

    Thanks for the rep!

  18. #18
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: INDEX AND MATCH formula issue

    What if there are more columns in between 'Name' and 'Price' columns of 'FromHere' sheet.

    Formula needs a small change (as few columns are added).

    May I request to look up this attachment.
    Attached Files Attached Files

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: INDEX AND MATCH formula issue

    Just change the 2 in the formula to 4.

  20. #20
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: INDEX AND MATCH formula issue

    Wow Ali, again my query resolved. THANK YOU SO MUCH.

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: INDEX AND MATCH formula issue

    No problem. That number in a VLOOKUP query tells Excel which column in the defined array to look at to return the answer.

+ 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. Issue with sumproduct formula combined to INDEX MATCH
    By St3ff3ns in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-07-2015, 06:30 AM
  2. [SOLVED] INDEX + MATCH(MAX) formula issue
    By Deschain3 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-04-2014, 07:02 PM
  3. #N/A issue with index/match formula
    By jorjacman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2014, 10:00 AM
  4. [SOLVED] Index/match formula issue
    By Sychoanalyze in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2012, 04:25 PM
  5. [SOLVED] Index/Match Formula Issue
    By Tamarissa in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-23-2012, 06:35 PM
  6. Index/Match Formula Issue
    By nross in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 08:17 PM
  7. [SOLVED] Index Match formula issue
    By Ozwilly in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-06-2012, 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