+ Reply to Thread
Results 1 to 5 of 5

I need help with a simple vlookup formula

  1. #1
    Registered User
    Join Date
    08-11-2006
    Posts
    4

    I need help with a simple vlookup formula

    I have a workbook with two worksheets in it

    worksheet A contains (starting in row 2)

    A - Product ID
    B - Part Number
    C - List Price
    D - Customer Price

    worksheet B contains (starting in row 2)

    A - Part Number
    B - Price

    I need to put a formula in the customer Price cell of worksheet A that will lookup the matching part number in worksheet B and use the price in cell b of worksheet B to populate cell d of worksheet A.

    I get daily price updates from a vendor daily and need a way to update prices on over 4,000 products with the updates they send me.

    Thanks in advance,

    Sincerely

    pj

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065
    Assuming Worksheet B is in the same workbook as Worksheet A this should work:

    In column D of worksheet A

    =VLOOKUP(B1,Worksheet B!A1:B65535,2,TRUE)

    and copy the formula down the D column


    Remember Worksheet B must be in ascending order
    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.

  3. #3
    Ragdyer
    Guest

    Re: I need help with a simple vlookup formula

    Try this:

    =VLOOKUP(B2,SheetB!$A$2:$B$4000,2,0)

    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "phjohnso" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a workbook with two worksheets in it
    >
    > worksheet A contains (starting in row 2)
    >
    > A - Product ID
    > B - Part Number
    > C - List Price
    > D - Customer Price
    >
    > worksheet B contains (starting in row 2)
    >
    > A - Part Number
    > B - Price
    >
    > I need to put a formula in the customer Price cell of worksheet A that
    > will lookup the matching part number in worksheet B and use the price
    > in cell b of worksheet B to populate cell d of worksheet A.
    >
    > I get daily price updates from a vendor daily and need a way to update
    > prices on over 4,000 products with the updates they send me.
    >
    > Thanks in advance,
    >
    > Sincerely
    >
    > pj
    >
    >
    > --
    > phjohnso
    > ------------------------------------------------------------------------
    > phjohnso's Profile:

    http://www.excelforum.com/member.php...o&userid=37403
    > View this thread: http://www.excelforum.com/showthread...hreadid=571140
    >



  4. #4
    Registered User
    Join Date
    08-11-2006
    Posts
    4
    perfect - thanks for the help

    sincerely

    pj

  5. #5
    Registered User
    Join Date
    03-21-2013
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: I need help with a simple vlookup formula

    Try http://analysttutorials.com/a-simple-vlookup/. It will help you learn a simple VLookup.

+ 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