+ Reply to Thread
Results 1 to 7 of 7

IF/INDEX/MATCH?? - for looking up specific cells and quantities

  1. #1
    Registered User
    Join Date
    01-17-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    23

    IF/INDEX/MATCH?? - for looking up specific cells and quantities

    Hi,


    I'm looking for a way to simplify a parts pick process*

    where all data input and output is manual as we currently

    have no stock system in the workplace


    It's not going to be easy to explain but here goes..


    I need a Formula to look up multiple locations and quantities

    for a given part number.


    The look up must return locations and quantities with*

    sufficent quantity to pick.


    In the example attached the lookup for part number 20003080 should*

    return "AM3402B - 450" from row 14 on the stocksheet tab,*

    as row 13 does not have sufficient quantity.


    I know what I want to acheive but unfortunately my excel*

    knowledge does not reach that far..


    Thanks

    Richard
    Attached Files Attached Files
    Last edited by RickCov; 02-14-2019 at 06:08 AM.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Strange one!! - IF/INDEX/MATCH??

    What if there's more than one location with enough stock? Does it matter which one is returned?
    Rory

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Strange one!! - IF/INDEX/MATCH??

    I assumed that you are interested in the largest location and that you need both the location and qty in the same cell:
    Please Login or Register  to view this content.
    It is an array formula so you need ctrl+shift+enter instead of regular enter to take effect.
    If you do not need both in the same cell then use only the MAX formula
    Click the * to say thanks.

  4. #4
    Registered User
    Join Date
    01-17-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Strange one!! - IF/INDEX/MATCH??

    Hi Rory, It doesn't matter which one is returned however if one location is found which only partly fulfills the ddesired pick quantity, a second location would be helpful to further fulfill the requirement.. If that makes sense..!?

  5. #5
    Registered User
    Join Date
    01-17-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Strange one!! - IF/INDEX/MATCH??

    Thanks Paul, this seems to work if a single location has sufficient stock. I will do some testing and feed back. Please also see my reply above re: a second location..

  6. #6
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: IF/INDEX/MATCH?? - for looking up specific cells and quantities

    That is doable, change the MAX part to LARGE(IF('Stocksheet Sample'!$A$2:$A$69='Pick Sample'!A2,'Stocksheet Sample'!$D$2:$D$69),2) and you will find the second largest value and the location for it. But, as an example, for 20001038, both qty summed will not fulfill the requested qty, so, that means that you will need to add a third location.

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Strange one!! - IF/INDEX/MATCH??

    I'd be inclined to use a Pivot Table - with an optional slicer to pick a particular product ID

    See attached
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. Index Match Error (Strange result)
    By Median in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-12-2018, 02:20 PM
  2. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  3. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  4. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  5. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  6. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  7. strange INDEX phenomena?
    By rwgrietveld in forum Excel General
    Replies: 2
    Last Post: 10-09-2009, 02:59 AM

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