+ Reply to Thread
Results 1 to 5 of 5

Excel formula "just in time" system

  1. #1
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Excel formula "just in time" system

    I'm doing a bit similar thing called as "just in time" system.
    I attached a bit of table I'm trying to take date and number off.
    I basically want to check when Paddington runs out, that is when D row minus E row becomes negative and take that date and value when it happened in order to "order" more.

    D3 is always fixed value, there will never be a value in E3.

    For example, if we take D3+D5-E5 it is more than 0 (or value that I would put as a minimum product stock that should be always available), than formula should check further if D3+D5-E5+D6-E6 is <0 and now (by the document attached) it turns to negative value. First thing what I need is that negative value, and later in another cell the date when it became negative (or lower than I want it to be) from A column.
    Attached Files Attached Files
    Last edited by drakaz; 03-22-2011 at 06:13 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Excel formula "just in time" system

    Try this
    In F5
    Please Login or Register  to view this content.
    Drag/Fill Down

    Conditional Format
    Formula is:=
    Please Login or Register  to view this content.
    Applies to:=
    Please Login or Register  to view this content.

    Is that what you mean?
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Excel formula "just in time" system

    Quote Originally Posted by Marcol View Post
    ...
    Well, it's something to that side, but I do not want Balance column, I need to fill only one cell with the negative number in this case -10. But I need to find where it is, as well on what date it appeared on.

    With this excel if I would use IF function it would look smth like this:
    =IF((SUM(D3,D5)-SUM(E5))<0,(SUM(D3,D5)-SUM(E5))*(-1),IF((SUM(D3,D5:D6)-SUM(E5:E6))<0,(SUM(D3,D5:D6)-SUM(E5:E6))*(-1),IF((SUM(D3,D5:D7)-SUM(E5:E7))<0,(SUM(D3,D5:D7)-SUM(E5:E7))*(-1),IF((SUM(D3,D5:D8)-SUM(E5:E8))<0,(SUM(D3,D5:D8)-SUM(E5:E8))*(-1),IF((SUM(D3,D5:D9)-SUM(E5:E9)),(SUM(D3,D5:D9)-SUM(E5:E9))*(-1),"")))))
    I gave excel with two negative values, thus I don't trust my excel knowledge that much so I would stick that only one negative value would appear in the model.
    However, IF function is a bit too long and long equals mistakes and a lot of job, here is only 5 cells and I have 20 cell long data.
    Last edited by drakaz; 03-22-2011 at 04:13 PM.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Excel formula "just in time" system

    Is this any closer to your needs?

    Try changing the Dr/Cr values in rows 5 to 9 and/or D3

    Hope this helps
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Excel formula "just in time" system

    Thank you for your help
    Last edited by drakaz; 03-22-2011 at 06:12 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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