+ Reply to Thread
Results 1 to 2 of 2

Return the most recent cost when item purchased multiple times

  1. #1
    Registered User
    Join Date
    05-12-2015
    Location
    OHIO
    MS-Off Ver
    MS Office 2010
    Posts
    1

    Return the most recent cost when item purchased multiple times

    Kinda a newbie to Excel formulas, so I hope someone can help!

    I have a spreadsheet that contains all items purchased by a specific customer over the last several years, including the item number, date of the order and the price they paid at that time.

    Since the customer has purchased some items multiple times and the price has changed, I'm trying to figure out a formula that will return the most recently paid price for that item. The only formula I can get to work is one that will return a cost paid for that item number, but it doesn't always seem to be the most recent cost.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Return the most recent cost when item purchased multiple times

    Your formula looks fine to me. Maybe give this array formula a try. In B2, enter with Ctrl + Shift + Enter keys together

    =IFERROR(INDEX(Customer1!$C$2:$C$606,MATCH(A2&MAX(IF(Customer1!$B$2:$B$606=A2,Customer1!$D$2:$D$606)),Customer1!$B$2:$B$606&Customer1!$D$2:$D$606,0)),"")

+ 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. An item was sent several times, how to return the last date?
    By Excel_learner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2014, 01:23 PM
  2. Finding Average Cost per unit of Inventory Purchased
    By Gcolao0019 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-29-2013, 12:20 PM
  3. Calculating total cost from range of cell tally's by cost of item.
    By patrickdjames in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 11-04-2012, 10:27 AM
  4. Replies: 4
    Last Post: 03-18-2011, 09:13 AM
  5. Formula For Total Cost of Increasing Item Cost
    By dwax in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-05-2009, 01:10 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