+ Reply to Thread
Results 1 to 4 of 4

If or Match 1 unique number to return another number 2 different problems

  1. #1
    Forum Contributor
    Join Date
    09-24-2017
    Location
    Vic Australia
    MS-Off Ver
    Office 365 Apps for enterprise
    Posts
    147

    If or Match 1 unique number to return another number 2 different problems

    Good afternoon

    not sure which would be the best way to use excel to look up the problem I have below

    I have attached a sheet with problem 1 and 2 and in the red is the correct returned table

    I have a list of Lp's numbers from 5 numbers long to up to 10 numbers long with a product name next to it
    and a Loc row that we want to be able to auto fill in

    Row A 1:24 to H 1:24 table
    I have to scan all my pallets in to our rack and the scanner we have saves this info in a excel sheet there are 2 ways it saves it being able to have both problems working would help a lot

    first problem is
    LP in Row A product name in row B Row G are LP numbers and any random order and in cell H is the loc
    I would like the LP in Row A to match Row G and return H in to Row C

    Row A will never have the same number twice
    Row G might if we scan the LP twice Should have same Loc as the above LP if scanned twice the guns dont have a screen to see so driver might scan it again it they forgot or miss scanned

    2nd problem
    Row A 29:48 F 29:67

    The Problem this time is the LP and the Loc are in the same row
    Lp first then Loc under

    Row C looks up Row A matches LP in Row F and returns Number Loc below LP From A to Row C
    same as above but all the info is in 1 row not 2

    any help would be great

    Thanks for your time and Support
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: If or Match 1 unique number to return another number 2 different problems

    hi there. in cell C6:
    =VLOOKUP(A6,G:H,2,0)
    i developed a tool to help people learn VLOOKUP. try downloading this file here:
    https://www.excelforum.com/tips-and-...-how-tool.html


    in cell C30:
    =INDEX(F:F,MATCH(A30,F:F,0)+1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    09-24-2017
    Location
    Vic Australia
    MS-Off Ver
    Office 365 Apps for enterprise
    Posts
    147

    Re: If or Match 1 unique number to return another number 2 different problems

    Thanks Benishiryo

    you are the best
    I have problems with the index and match matching up the lines

    do you have some thing like the vlookup guide for index and match

    I looked over it great support

    Thanks for all your time and support

    JustinwB

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: If or Match 1 unique number to return another number 2 different problems

    you're very welcome. my program (FHT) was meant for a single formula, and hence doesnt cater for a combination such as INDEX + MATCH. but i did just the MATCH formula if this helps you. the INDEX will just pick the corresponding row accordingly. and for your case, you don't want the exact row, but 1 row after it. hence, i added a "+1"

    hope the program helps you!
    Attached Files Attached Files

+ 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] Formula to return 0 if number of unique values in a row is greater than 1
    By SurfexcelIT in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-13-2016, 09:40 AM
  2. Query date range and ref number match to return another reference number
    By 27paul0 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-09-2015, 07:31 AM
  3. Return number of unique numbers within a date range
    By iestimated in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-15-2014, 10:16 PM
  4. Return Yes/No if Multiple numbers per one unique number
    By chicity26 in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 07-22-2014, 08:05 AM
  5. Replies: 5
    Last Post: 02-13-2014, 05:37 PM
  6. [SOLVED] IF match number THEN return other number
    By godlev in forum Excel General
    Replies: 8
    Last Post: 10-12-2011, 04:22 AM
  7. Match two tables using unique ID number
    By fisherman in forum Excel General
    Replies: 1
    Last Post: 08-17-2005, 10:04 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