+ Reply to Thread
Results 1 to 3 of 3

Add date criteria matching order date and sales date

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

    Add date criteria matching order date and sales date

    I have a workbook with 2 sheets, 1 for inventory and other for orders.

    Because my buying prices are unstable i need to add some date criteria to it.

    Let's imagine the follow example:


    I order item No. A11, 10 pieces at total price 10$. 01/01/2014

    Then i order again item No. A11, 10 pieces at total price 20$. 01/02/2014 (day/month/Year)


    On my inventory workbook i have the unit price cell working as reference to all men monthly sales workbook to calculate my profit.

    (unit price cell) =SUMIF(Orders!C:C;A5;Orders!F:F)/SUMIF(Orders!C:C;A5;Orders!D:D)

    Problem is:

    if i sell 10 items between 01/01/2014 and 01/02/2014 for 2€ each, my profit cell will show 1€ profit per item.
    When i update my order sheet with the new order, adding 10 more pieces, ordered at 0,50$ piece, all my profit cells between 01/01/2014 and 01/02/2014 will now be 0,50$.
    Also in this exemple, after 01/02/2014 my new sales should have a 0$ profit and not 0,50$.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Add date criteria matching order date and sales date

    can you provide a sample spreadsheet - you would need to add a date to the criteria using SUMIFS () - but i notice you have listed 2003 - is that the excel version , if so you may need to use sumproduct()
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    03-15-2014
    Location
    portugal
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: Add date criteria matching order date and sales date

    Hi.

    I use excel 2011 for mac.

    I'll post the 2 workbooks.

    templateInventory 2014.xlsxTemplateSales2014.xlsx

+ 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. [SOLVED] Date Before A Date With Matching Criteria
    By martinpgibson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-03-2014, 09:05 PM
  2. [SOLVED] Index Match Based on One Date Criteria, Table Contains Beginning Date and End Date
    By jcox1953 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-09-2014, 02:41 PM
  3. [SOLVED] Finance Question- matching sales value date with that of amount received date
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-20-2013, 05:52 AM
  4. Replies: 2
    Last Post: 03-22-2013, 02:20 PM
  5. Calculate ship date based on date and time order is received
    By joekomar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-23-2013, 10:57 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