+ Reply to Thread
Results 1 to 6 of 6

Vlookup

  1. #1
    Registered User
    Join Date
    07-15-2010
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2003
    Posts
    17

    Vlookup

    Hi there,

    I've just stumbled upon this forum - wish I'd have known about it sooner!

    I've spent some time now trying to get a formula correct using the VLOOKUP command, and I'm hoping someone here may be able to kindly assist.

    I have 2 spreadsheets, one giving me a summary of items sold for the month 'SALES SUMMARY.XLS' (but not including my purchase cost of each item), the other s/sheet is a definitive list my purchase costs for all items I sell 'PRICE LIST.XLS'.

    What I'm hoping to do, is in order for me to calculate my end of month profit, I'd like my purchase cost for each item to be 'pulled in' from PRICE LIST in to SALES SUMMARY rather than me manually entering in each one. Note that SALES SUMMARY will have many entries for the same item rather than say one entry for an item with a quantity of 5 for example. Also, the layout of the s/sheets do not match, for example, PRICE LIST lists ALL of the items I sell, whereas SALES SUMMARY will just include items that I have sold. Therefore, for example row 20 on the sales s/sheet could be 'Item abc' and row 20 on the price list s/sheet' could be for 'Item xyz'.

    What I need the Forumula to do, is, within SALES SUMMARY, look at the item sold in Column C and then search for this same item description (which will match exactly) in Column B of PRICE LIST, and then 'pull' the item cost from Column C of PRICE LIST and input this value into Column K of the SALES SUMMARY.

    Hope this makes sense! I'd be very grateful of any help or advice anyone could offer.

    Many thanks in anticipation.
    David

  2. #2
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: Vlookup

    David

    It'll be easier to follow what you're trying to do if you upload your workbook (edited if it's confidential).

    Dion

  3. #3
    Registered User
    Join Date
    07-15-2010
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Vlookup

    Oh sorry I didn't realise I could do this. I'll upload the files just now..
    Thanks for the reply.
    David

  4. #4
    Registered User
    Join Date
    07-15-2010
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Vlookup

    Quote Originally Posted by mojo249 View Post
    David

    It'll be easier to follow what you're trying to do if you upload your workbook (edited if it's confidential).

    Dion
    I've attached the two files and highlighted the relevant columns. I hope this makes sense ??

    Many thanks again in anticpation
    David
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: Vlookup

    Hi David

    With both workbooks open, enter the following formula into cell K3 of Sales Summary.xls

    =VLOOKUP(C3,'[PRICE LIST.xls]FileExchange_Response_8009981'!$B$3:$C$26,2,0)

    Then copy and paste it down column K.

    Regards

    Dion

  6. #6
    Registered User
    Join Date
    07-15-2010
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Vlookup

    Dion - thankyou so much for this help! I'm very grateful! It worked a treat.

    Many thanks
    David

+ 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