+ Reply to Thread
Results 1 to 3 of 3

Identify First Occurrence of a Purchase

  1. #1
    Registered User
    Join Date
    03-03-2014
    Location
    Atlanta
    MS-Off Ver
    Excel 2003
    Posts
    15

    Identify First Occurrence of a Purchase

    Would like to identify the first occurrence by date
    that a customer purchases product 2 in the attached
    table. Would prefer that the target column be populated
    with the first purchase date. Thank you for your help!
    Attached Files Attached Files
    Last edited by clockspring; 04-09-2014 at 04:15 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Identify First Occurrence of a Purchase

    Try this, copied down...
    =IF(COUNTIFS($A$9:A9,A9,$B$9:B9,2)=1,C9,"")

    To make it more flexible, replace the 2 with a cell ref, then enter 2 (or whatever number you want) in that ce//
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,658

    Re: Identify First Occurrence of a Purchase

    Try in array formula in D9:
    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Drag down
    Quang PT

+ 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. Identify Purchase and Sale
    By danielg29 in forum Excel General
    Replies: 3
    Last Post: 08-01-2013, 04:27 PM
  2. Purchase
    By lisajp in forum Excel General
    Replies: 1
    Last Post: 02-20-2013, 12:32 PM
  3. Macro Reqd to update Purchase order log, everytime a new purchase order is made
    By manthankanabar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 01:47 AM
  4. Multiple occurrence => 1 occurrence
    By exhortae in forum Excel General
    Replies: 4
    Last Post: 09-08-2010, 05:00 AM
  5. [SOLVED] purchase order counter in excel purchase order template
    By Brandy@baoco in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-23-2005, 03:06 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