+ Reply to Thread
Results 1 to 3 of 3

If multiple entries, sum of entries, but in order by date

  1. #1
    Registered User
    Join Date
    08-24-2016
    Location
    Honolulu, Hawaii
    MS-Off Ver
    2013
    Posts
    1

    If multiple entries, sum of entries, but in order by date

    Hello,

    Is it possible to calculate the following table correctly.

    excelexample.jpg

    I want to calculate the projected balance of expired material when there's multiple entries, currently calculations is just based off column E "total remaining days".

    Row 2 is being used first and will expire in 2 days. Row 3 has 22 days remaining, but it won't be used until the first row is used up so actually when it does start there will be 20 days remaining with the same amount of inventory. Row 4 will have 40 day remaining when it starts being used.

    I would like to use this formula on a list of materials and was thinking to use count to locate multiple entries.

    IF Count >1 minus "total remaining days" of "earliest date" from "second date", then "total remaining days" of "second date" from "third date", etc.
    Last edited by Inventory_Manager; 08-24-2016 at 06:27 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: If multiple entries, sum of entries, but in order by date

    Hello & Welcome to the Forum,

    A possible solution. Insert a column after column E and then use...

    =E3-SUM($E$2:E2)

    ...copied down
    HTH
    Regards, Jeff

  3. #3
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: If multiple entries, sum of entries, but in order by date

    Or if you have other products other than wheat and there is a possibility that the dates may not always be listed from earliest to latest this is more complex but a little more robust

    =E2-SUMPRODUCT(--($D$2:$D$6<D2),$E$2:$E$6,--($B$2:$B$6=B2))

    and copied down
    Happy with my advice? Click on the * reputation button below

+ 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. Replies: 1
    Last Post: 04-05-2016, 11:20 AM
  2. Replies: 3
    Last Post: 04-10-2015, 11:54 AM
  3. [SOLVED] Automatically add multiple original field entries total (that has multiple entries)
    By steverokh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2013, 01:20 AM
  4. Replies: 11
    Last Post: 09-19-2012, 08:04 PM
  5. [SOLVED] Read entries-locate entries and print entries
    By akotronis in forum Excel General
    Replies: 4
    Last Post: 05-01-2012, 03:05 PM
  6. Using VBA: I have a list with multiple entries.Need to reduce down to unique entries
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-25-2011, 03:19 PM
  7. [SOLVED] How do I organize entries in order by date each rqst was rcvd?
    By floridapio in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-05-2005, 02:05 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