+ Reply to Thread
Results 1 to 11 of 11

Running balance

  1. #1
    Forum Contributor
    Join Date
    06-03-2008
    Location
    Northern Ireland
    MS-Off Ver
    2003
    Posts
    107

    Running balance

    Hi all,

    See attached workbook which is a stock order workbook with a summary re-order sheet - (thanks to NBVC for the help on this)!!!

    The problem I have is that as the running balance effects the re-order column the summary re-order sheet will re-order from a the date that stock is needed onwards until someone types in stock recieved to get the balance right.

    I need another condition within the summary sheet sumproduct formula so that the order will only go through once and not be repeated until a new figure is added into the number issued column on a future date.

    All help appriciated!!!
    Attached Files Attached Files
    Last edited by Steve-B; 07-21-2009 at 04:09 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    re: Running balance

    Can you elaborate a bit more on what you mean?.. give an example of what you are talking about.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    06-03-2008
    Location
    Northern Ireland
    MS-Off Ver
    2003
    Posts
    107

    re: Running balance

    Hi NBVC,

    If you open up the work book you'll see the summary stock re-order sheet has the sumproduct functions to show what orders are needed from selecting a date on the drop down list.

    Thats great yet when you click on a date in the future it will also still show on the summary sheet that stock is needed as the running balance is on-going. What I want is for the daily stock sheets to keep balances running yet for the summary sheet to only show orders needed for that day.

    E.g: Col T in the 01.07.09 sheet shows a re-order is needed yet if the 02.07.09 is selected on the summary sheet it will also show stock is needed until stock issued is recorded. I only want the 01.07.09 sheet to show the re-order without effecting the daily monitoring sheets.

    Could another condition be added to the sumproduct function below to do this:

    {=IF(ROWS($A$1:$A1)>$D$4,"",INDEX(INDIRECT($C$4&"!A1:A120"),SMALL(IF(INDIRECT($C$4&"!AV1:AV120")=TRUE,ROW(INDIRECT($C$4&"!AV1:AV120"))),ROWS($A$1:$A1))))}

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    re: Running balance

    All your daily sheets show a re-order amount of 10 in column T.

    I am not sure what you are asking.

    Shouldn't you be changing the values in those sheets instead?

  5. #5
    Forum Contributor
    Join Date
    06-03-2008
    Location
    Northern Ireland
    MS-Off Ver
    2003
    Posts
    107

    re: Running balance

    Sorry for the confusion.

    Essentially I want the daily sheets to remain the same including the re-order (column T) which has set conditions attached to it.

    What I want to change is summary sheet sumproduct function so that it will continue to show the rows that need a re-order yet will only show them on the date they were put on (drop down box cell C4). If I select the next days date from cell C4 it also shows the same data. I don't want this on the next days summary sheet as the summary sheets are e-mailed daily to place orders.

    And your right all i need to do is change the re-order value yet this relies on col S where if it has'nt gone back to the optimum level (stock level sheet colum r) it will show that a re-order is needed. The only way this can be changed is by col Q stock recieved have figures entered. This does'nt happen instantly (may take up to 2-3 days).

    Sorry if this is still confusing....
    Last edited by Steve-B; 07-16-2009 at 09:12 AM.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    re: Running balance

    How will you know when new data is in, then (i.e. when do expect a change in the represented data?).

  7. #7
    Forum Contributor
    Join Date
    06-03-2008
    Location
    Northern Ireland
    MS-Off Ver
    2003
    Posts
    107

    re: Running balance

    Basically the stock recieved will be entered at some point in the future when recieved.

    e,g 15 Item's issued on the 01.07.09 which shows up as a re-order in col T. This is then shown in summary re-order sheet. Summary sheet is e-mailed to supplier.

    02.07.09 no new stock is recieved yet so balance is still -15. (Summary sheet still shows up as the outlet needing a re-order when they have done so the previous day!)

    03.07.09 Stock recieved, running balance is back to normal.

    I want the summary sheet to show up the details of the outlet that needs the stock on the 01.07.09 yet not when the 02.07.09 is selected in the drop down box.

    I'm offline until Thursday... thanks for looking at this.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    re: Running balance

    Unless I am totally misinterpreting this, (someone may come up with a good formula method), but I think you're going to probably need some VBA to solve this.. something that would "clear" the sheet after shipment until you desire to show info again.

    Unfortunately I am not the VBA guy you want.

    If nobody assists in a day you may need to start a thread in the Programming forum and mention this thread.

  9. #9
    Forum Contributor
    Join Date
    06-03-2008
    Location
    Northern Ireland
    MS-Off Ver
    2003
    Posts
    107

    re: Running balance

    Thanks NBVC, I think I am expecting too much this time!!!

    I was thinking prehaps if adding a now statement to the
    =IF(ROWS($A$1:$A1)>$D$4,"",INDEX(INDIRECT($C$4&"!A1:A130"),SMALL(IF(INDIRECT($C$4&"!AV1:AV130")=TRUE,ROW(INDIRECT($C$4&"!AV1:AV130"))),ROWS($A$1:$A1))))
    function.

    Maybe this would allow the summary sheet to only show orders that are needed on the day they run over the balance yet allowing the running balance to show on the next days daily sheets without the summary sheet continuing to show that there needs to be a re-order for the following days...
    Last edited by Steve-B; 07-20-2009 at 06:10 AM.

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    re: Running balance

    Do you mean to use today's date instead of the date in the drop down menu?

    If so,

    Replace formula in D4 with:

    =COUNTIF(INDIRECT(TEXT(TODAY(),"dd.mm.yy")&"!AV:AV"),TRUE)

    and add formula in D3:

    =TEXT(TODAY(),"dd.mm.yy")

    Then replace all reference in all formulas from $C$3 to $D$3 by going to Edit|Replace and entering $C$3 in the Find What field and entering $D$3 in the Replace With field.

  11. #11
    Forum Contributor
    Join Date
    06-03-2008
    Location
    Northern Ireland
    MS-Off Ver
    2003
    Posts
    107

    Re: Running balance

    Many thanks YET AGAIN!!!

    You've been a great help.
    Last edited by Steve-B; 07-21-2009 at 04:09 AM.

+ 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