+ Reply to Thread
Results 1 to 3 of 3

Excel 2008 : Assign Vendor to Item Number

  1. #1
    Registered User
    Join Date
    07-20-2012
    Location
    USA
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    1

    Assign Vendor to Item Number

    I have several hundred product item numbers - each item number corresponds with a vender from whom I receive that item

    Sheet 1:
    In column A is a long list of item numbers - (Basically orders from customers listed by item number - so there are many duplicates but they are in alpha order - Column B is an item description - Column C is the quantity they have ordered - I would like column D to automatically insert the correct vendor to make purchasing much easier)

    Sheet 2:
    In column A there is all my vendor names - In column B is all of the corresponding item numbers they sell to me

    Formula:
    I would like a formula that will search column A of Sheet 1 and assign the corresponding vender in Column D of the same sheet - I only mention Sheet 2 because it will need to be referenced to get the corresponding vendor info

    Is this possible - I have found similar issues in other threads but nothing that I could work with

    Thx very much for taking the time to read my post

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Assign Vendor to Item Number

    Yes, you can do that but I think you need to switch sheet2 so that the item numbers precede the vendor names, because the VLookUp can't go negative on the column (I read that somewhere).

    Then you could use:

    =VLOOKUP(A2,Sheet2!A2:B1500,2,0)

    or something similar.
    Last edited by xladept; 07-20-2012 at 08:07 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Assign Vendor to Item Number

    no need to rearrange data
    =INDEX(Sheet2!A:A,match(A2,sheet2!B:B,0))
    for example
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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