+ Reply to Thread
Results 1 to 7 of 7

How to find a certain cell that matches a certain Item# in a different cell

  1. #1
    Registered User
    Join Date
    09-08-2016
    Location
    Texas
    MS-Off Ver
    MS 2007
    Posts
    56

    How to find a certain cell that matches a certain Item# in a different cell

    I am trying to pull data from a cell that is far from the cell that it is connected to. I have tried VLOOKUP, HLOOKUP, both together, and Index and Match. I must be doing something wrong unless it is not possible, I have the cells I am trying to pull from highlighted in Yellow in column H in tab "PM". The tab that's named "Sheet1" is the one where i'm trying to pull the data to in the last column in the table(Also highlighted in yellow".
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: How to find a certain cell that matches a certain Item# in a different cell

    Try

    in C5

    =IFERROR(INDEX(PM!$H$5:$H$1942,MATCH($A5,PM!$A$5:$A$1942,0)-1),"")

  3. #3
    Registered User
    Join Date
    09-08-2016
    Location
    Texas
    MS-Off Ver
    MS 2007
    Posts
    56

    Re: How to find a certain cell that matches a certain Item# in a different cell

    That works for that column, but my Vlookup works for that column. I need help with the column to the right of it, highlighted in yellow. I do appreciate the help though.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: How to find a certain cell that matches a certain Item# in a different cell

    So where is "Order Quantity" found ???

    The formula I provided pulls the data from Column H of PM which is what you wanted: so put this in D5 (?)

  5. #5
    Registered User
    Join Date
    09-08-2016
    Location
    Texas
    MS-Off Ver
    MS 2007
    Posts
    56

    Re: How to find a certain cell that matches a certain Item# in a different cell

    Well i put it in D5 and it works with what I need, which is fantastic, I am curious though. Why does yours work but mine does not. I tried this formula "=Index(B2:B7,Match(A7,A2:A7,0)-1)" Granted this was on a different SS with everything on 1 SS to make it easier to work, but I feel like they are basically the same, is there a flaw in that formula that stands out?

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: How to find a certain cell that matches a certain Item# in a different cell

    It should work for the MATCH on A7: when you say it did not work, what was the result???

    Ranges need to to absolute if formula is copied but formula is same as mine.


    =Index($B$2:$B$7,Match($A7,$A$2:$A$7,0)-1)

    See attached
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-08-2016
    Location
    Texas
    MS-Off Ver
    MS 2007
    Posts
    56

    Re: How to find a certain cell that matches a certain Item# in a different cell

    I just kept on getting either 0 or some massive # like 37586 that was no where on the SS.

+ 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. [SOLVED] Find item(s) in a cell and match to item(s) in a list
    By seleseped in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-11-2017, 12:06 PM
  2. [SOLVED] If Cell Matches Item from Cell Range then Display Item from Different Cell Range
    By kikialiena in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-17-2016, 02:01 PM
  3. Replies: 3
    Last Post: 06-29-2015, 03:03 PM
  4. Replies: 5
    Last Post: 01-29-2015, 05:44 AM
  5. [SOLVED] Find First cell that matches range
    By wellsw in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-12-2013, 12:24 PM
  6. Replies: 8
    Last Post: 02-15-2012, 05:05 AM
  7. [SOLVED] Find first and/or last cell that matches data
    By Molasses26 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-08-2005, 04:06 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