+ Reply to Thread
Results 1 to 7 of 7

Find the latest selling price from a product list for selected customer

  1. #1
    Registered User
    Join Date
    11-30-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Find the latest selling price from a product list for selected customer

    I have a table with raw data as below :

    Customer Code Product Code Date Selling Price
    AAL001 EWMT 1327 02/08/2012 1.3
    AAL001 EWMT 3250 27/11/2012 4.3
    AAL001 EWMT 50100 27/11/2012 19.7
    AAL001 EWMT 50100 24/07/2013 19.8
    AAL001 EWMT 5050 22/01/2013 5.55
    FS005 EWMT 3250 02/08/2011 1.25
    FS005 EMWT 3250 02/08/2012 1.30
    ZS003 EWMT 50100 01/08/2011 19.7
    ZS003 EWMT 50100 01/08/2012 19.8

    Then I have a separate sheet identify by customer and a full list of Product
    Sheet for Customer :AAL001
    Product Code Last Selling Price Last Selling Date
    EWMT 1320 n/a n/a
    EWMT 1327 1.3 02/08/2012
    EWMT 3200 n/a n/a
    EWMT 3250 4.3 27/11/2012
    EWMT 5000 n/a n/a
    EWMT 5050 5.55 22/01/2013
    EWMT 50000 n/a n/a
    EWMT 50100 19.8 24/07/2013
    EWMT 50200 n/a n/a

    Pls advise.
    Attached Files Attached Files
    Last edited by wesleyho; 08-30-2013 at 04:46 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find the latest selling price for selected customer

    Hi and welcome to the forum.

    Looks like to need a compination of INDEX & MATCH with MAX function, but:

    Be sure that best way to describe your problem is to upload a sample workbook.

    Be sure that all sensitive data removed, showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that.

    To attach a small sample workbook.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Find the latest selling price for selected customer

    welcome to the forum, wesleyho . next time, do upload a sample excel file so that we do not have to re-create your file to test it out. see if the attached file helps. to simulate the scenario where it is in another sheet, just cut my data from H1:L10 & paste in sheet2.
    Attached Files Attached Files
    Last edited by benishiryo; 08-30-2013 at 04:25 AM.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    11-30-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Find the latest selling price for selected customer

    Quote Originally Posted by Fotis1991 View Post
    Hi and welcome to the forum.

    Looks like to need a compination of INDEX & MATCH with MAX function, but:

    Be sure that best way to describe your problem is to upload a sample workbook.

    Be sure that all sensitive data removed, showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that.

    To attach a small sample workbook.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Thanks Fotis, I have just upload a sample file. I've tried few formula include
    sumproduct, combination of index match and max, but its only work on simple 2 column of criteria.
    For my case I think it consider 3 criteria. First need to find out Customer, then product then the latest date and return the sales price.s

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find the latest selling price for selected customer

    Ben's suggestion must works for you. Doesn't it?

  6. #6
    Registered User
    Join Date
    11-30-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Find the latest selling price for selected customer

    This is what I want! !!
    Thanks a lot!!!
    Last edited by wesleyho; 08-30-2013 at 04:47 AM.

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: [SOLVED] Find the latest selling price from a product list for selected customer

    See also another alternative solution..

    =INDEX(RAW!$D$2:$D$10;MATCH(MAX(IF(RAW!$A$2:$A$10=$A$1;IF(RAW!$B$2:$B$10=A3;RAW!$C$2:$C$10)))&$A3;RAW!$C$2:$C$10&RAW!$B$2:$B$10;0))
    Attached Files Attached Files

+ 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. Find the best selling product
    By jimmyluk in forum Excel General
    Replies: 3
    Last Post: 07-10-2013, 01:32 PM
  2. Replies: 2
    Last Post: 04-13-2012, 08:22 AM
  3. [SOLVED] find selling price of bonds
    By charlene in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2005, 11:35 PM
  4. looking for latest selling price..
    By Lawrence in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-12-2005, 12:55 PM
  5. LOOK FOR LATEST SELLING PRICE
    By Lawrence in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-05-2005, 06:05 AM

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