+ Reply to Thread
Results 1 to 2 of 2

Get the purchase value from different sheet with two fields matching

  1. #1
    Registered User
    Join Date
    06-16-2014
    Location
    India
    MS-Off Ver
    MS 2007
    Posts
    1

    Get the purchase value from different sheet with two fields matching

    Hi,

    I have two sheets, sales and purchase. Need to get the purchase amount from the puchase sheet into the sales sheet.
    The condition is S.order and ITemcode in the sales sheet has to match with the S.order and ITemcode in the purchase sheet. Corresponding "Net" value has to be entered in sales "NET" place.

    I tried with vlookup but am not familear with this.

    Have attached the sheet for reference.
    Can please someone help me.

    Thanks
    Maheshwari
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: Get the purchase value from different sheet with two fields matching

    Hi there,
    VLOOKUP will not work, because Item Code in Purchase Sheet has some blank spaces at the end of string, so You will not get exact match.

    But check attached file with array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    (Array formula needs to be confirmed with Ctrl+Shift+Enter instead of Enter)
    Profit.xls

    Hope it helps
    Regards
    Miroslav R.

    (If You like my solutions, feel free to add reputation.)

+ 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. Macro to Pull Info from Product Line Sheet to Purchase Order Sheet
    By JeffreyJr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2012, 11:16 AM
  2. Matching name fields
    By jartzh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-29-2009, 09:19 AM
  3. Help matching fields in a database
    By simjambra in forum Excel General
    Replies: 2
    Last Post: 03-13-2009, 12:28 PM
  4. purchase order - save one sheet only
    By stevesunfold in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-13-2008, 04:31 AM
  5. [SOLVED] matching multiples fields in 1 row
    By Hobochunk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-28-2005, 02:35 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