+ Reply to Thread
Results 1 to 3 of 3

Identify the earliest expiry date on stock based on current stock levels

  1. #1
    Registered User
    Join Date
    10-09-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    2

    Identify the earliest expiry date on stock based on current stock levels

    Hi I don't use excel often but have been asked to identify the earliest expiry date based on an excel spreadsheet that is used for stock management so looking for some assistance here.

    I have a list of records of stock orders received which has the type of stock, number of stock and the expiry date of the stock - example image attached below.
    order summary.gif

    When purchases of the stock are made, the earliest stock received will be sold.
    Based on the number of stock remaining on hand (which I can obtain from storage), I would like to see what the earliest expiry date would be and the quantity of stock that the date is applicable to.

    For example:
    I have received a total of 50 for the stock item '590002' where 20 will expire on 30/06/2014, 20 will expire on 16/08/2014 and 10 will expire on 7/07/2015.
    If 27 of the 50 have been purchased and I enter this value somewhere on the spreadsheet, I'd like to be able to see what the earliest expiry date is on the remaining 23 stock and
    As the stock expiring on the 30/06/2014 has been all sold, then I would expect to see that it has been able to calculate that the earliest expiry date is 16/08/2014 and is applicable to 13 stock.

    Hope this makes sense and many thanks in advance!

  2. #2
    Registered User
    Join Date
    10-09-2013
    Location
    Birmingham, AL
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Identify the earliest expiry date on stock based on current stock levels

    You could always use the Sort function in Excel to sort the table by the Expiry Date column. That would make it easy to see. If you need it to be displayed in another fashion, you could always resort it by Order Number if that's how you want it displayed.

    This can be done by clicking on any cell within the table, opening the Data tab and selecting Sort (it should automatically select the entire table once you click "Sort"). It should give you some options of how you want to sort (By what columns, by increasing or decreasing order, etc.) and you can refine the sorting process by adding more levels of sorting (i.e.: you could sort by Expiry Date and then by Number of Stock, etc. etc.).

    I'm not sure about Excel 2010, but I'm pretty sure there should be a "my data has headers" checkbox you can click to make sure it doesn't try to sort the column labels as part of the data. Maybe someone else can confirm that.

    You could use equations to give you the relevant data in a separate cell(s), but Sorting is probably the easiest way to get that info.
    Last edited by QuantumPolagnus; 10-09-2013 at 11:09 PM.

  3. #3
    Registered User
    Join Date
    10-09-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Identify the earliest expiry date on stock based on current stock levels

    Thanks Quantum Polagnus, I'm not sure if I haven't explained the scenario and requirements properly, however sorting isn't going to give me the results I need unfortunately.
    The actual table consists of a huge range of stock types, and will have multiple stock orders associated to it, so I'm not going to be able to locate the upcoming expiry date for each stock type by just sorting.

+ 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] Stock Control - Alert user to low stock levels.
    By Kaies in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2013, 08:56 AM
  2. Replies: 1
    Last Post: 04-24-2013, 08:53 PM
  3. Replies: 4
    Last Post: 01-29-2013, 02:26 AM
  4. Replies: 0
    Last Post: 10-28-2012, 07:22 AM
  5. Database Query on available stock levels at a specific date
    By MK_Chopper_P in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2012, 05:00 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