+ Reply to Thread
Results 1 to 10 of 10

Look up product information based on product number

  1. #1
    Registered User
    Join Date
    06-22-2017
    Location
    amsterdam
    MS-Off Ver
    2016
    Posts
    5

    Look up product information based on product number

    What I want to accomplish essentially is when I type in a number in one cell (a1 for example under category product number) that the information about that product shows up in the other cells (b1 c1..... ) such as the name of product, location.

    It would essentially be searching for the product number and information from another page where a range of information is with all the different product numbers
    Last edited by 6StringJazzer; 06-22-2017 at 09:16 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Look up product information based on product number

    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #1 requires good titles. I have updated it for you this time because you are a new member. --6StringJazzer

    This is almost certainly a VLOOKUP. If the sheet containing all the product information has the product numbers in column A, and the product names in column B, then your formula to retrieve the product name for a product number typed into A1 would be:

    =VLOOKUP($A1,Sheet2!A:B,2,FALSE)

    You would extrapolate for other fields.

    I can't give you a more specific answer without a more specific explanation of your data. The easiest thing is to attach your file. Under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Valued Forum Contributor
    Join Date
    12-01-2016
    Location
    Planet Earth
    MS-Off Ver
    95 - 2016
    Posts
    343

    Re: Look up product information based on product number

    For future reference

    It is recommended that you attach a sample file so that we could get a clear understanding of you request.

    The attach file has a worksheet titled Data.
    This worksheet is used as the referencing source, and each column is set as a dynamic name range.

    * To view how the Dynamic Name Range works, click on Formulas > Name Manager


    The other worksheet (titled Form) gathers the data from the Data worksheet

    - Column A - Cateory Product #: This column uses a drop down list which captures the data in Data column A by using Data Validation

    Calculations
    - Column B - Product: =IFERROR(IF(ISBLANK($A3),"",INDEX(Product,MATCH($A3,CatProdNum,0))),"") *remember to press Shift + Ctrl + Enter
    - Column C - Location: =IFERROR(IF(ISBLANK($A3),"",INDEX(Location,MATCH(1,($A3=CatProdNum)*($B3=Product),0))),"") *remember to press Shift + Ctrl + Enter
    Attached Files Attached Files
    Last edited by Syrkrasi; 06-22-2017 at 09:56 AM.

  4. #4
    Registered User
    Join Date
    06-22-2017
    Location
    amsterdam
    MS-Off Ver
    2016
    Posts
    5

    Re: Look up product information based on product number

    Still unable to get it to work. Here is the file. maybe it is easier to explain with the file.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Look up product information based on product number

    The account numbers in your Account sheet are text not numbers at all.
    For VLOOKUP to work both the value you are looking up AND the table you are looking up need to be the SAME type of data.

    Select the Account nuimbers in the Account
    Format them as General.
    Press F2 to edit each one and simply hit return, this will turn them into numbers

    in Sheet1!D2
    =VLOOKUP($C2,Accounts!$B$2:$E$15,COLUMN()-2,0)
    and copy across as far as column F

    Add other account numbers and copy the formulas down the columns for each account number you've entered.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  6. #6
    Registered User
    Join Date
    06-22-2017
    Location
    amsterdam
    MS-Off Ver
    2016
    Posts
    5

    Re: Look up product information based on product number

    Awesome. Thank you!

  7. #7
    Registered User
    Join Date
    06-22-2017
    Location
    amsterdam
    MS-Off Ver
    2016
    Posts
    5

    Re: Look up product information based on product number

    Is it then possible that if you put type an order on the "Orders" sheet. That that specific order is then also reflected on another page "Re-Orders".
    It would then go under the specific week of the order and in the same row as the its respective account number. Take a look at the attached number. Hard to explain but maybe if you take a look it would be easy to see.

    Example.
    1. place order in "orders sheet"
    2. that order is than reflected automatically in the "re-order" sheet under the same account number and respective week when order was made.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Look up product information based on product number

    You may need VBA for that and I'm no expert.

  9. #9
    Registered User
    Join Date
    06-22-2017
    Location
    amsterdam
    MS-Off Ver
    2016
    Posts
    5

    Re: Look up product information based on product number

    what is vba?

  10. #10
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Look up product information based on product number

    VBA is the Microsoft Office macro language. It Visual Basic for Applications.

+ 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. Simple (I hope...) lookup question
    By Thedaivisch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:06 PM
  2. simple task i hope
    By txbob12750 in forum Excel General
    Replies: 2
    Last Post: 10-10-2012, 10:27 PM
  3. simple task i hope
    By txbob12750 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-10-2012, 08:42 PM
  4. [SOLVED] simple formula i hope
    By Quicksnot in forum Excel General
    Replies: 14
    Last Post: 10-02-2012, 03:56 PM
  5. Simple answer I hope
    By jawtsew in forum Excel General
    Replies: 1
    Last Post: 01-19-2011, 03:32 AM
  6. this should be simple i hope -)
    By darkbearpooh1 in forum Excel General
    Replies: 1
    Last Post: 04-06-2009, 07:53 PM
  7. Simple, I HOPE...
    By ShrOOmiEs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-09-2006, 12:12 AM
  8. Relatively simple problem (I hope)
    By beboppin in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-30-2006, 09:10 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