+ Reply to Thread
Results 1 to 25 of 25

Stock cover days

  1. #1
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Stock cover days

    I am hoping someone can help me with this. I have a slight problem and do not know how to fix and I sure hope someone has some an idea. I need to figure out stock cover days . I need to be able to count
    I have attach sample file.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: Stock cover days

    Explain it more. What you exactly need to do.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Stock cover days

    Hi

    How are YOU defining stock cover days?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Re: Stock cover days

    thanks for your reply
    i need stock cover day on depend =opening stock +plan qty-sale target need stock cover day for example 10000 pcs/ sale target per day 50=200day cover but problem is daily target is different value please advice me

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Stock cover days

    Hi,

    Would you manually add the numbers you expect to see so that I can understand the goal.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Stock cover days

    In D12 and copy right,

    =(SUM($C7:D7)-SUM($C10:C10)) / D10

    Row\Col
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    5
    PRODUCTION PLAN
    6
    NAME oppning stock
    1-Jan
    2-Jan
    3-Jan
    4-Jan
    5-Jan
    6-Jan
    7-Jan
    8-Jan
    7
    Producd A
    10000
    2000
    0
    2000
    2000
    2000
    2000
    2000
    2000
    8
    9
    SALE TARGTS
    10
    Product A
    68
    68
    68
    65
    65
    65
    208
    208
    11
    12
    STOCK COVER DAY
    176.47
    175.47
    203.88
    243.02
    272.78
    302.55
    104.04
    112.67
    13
    14
    15
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Re: Stock cover days

    58 day cover stock if sum sale number daily on base of current stock that day

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Stock cover days

    I'm still not quite sure what you mean. Either shg is correct (basing value on sales target on an individual day), or this is (based on the averavge target sales per day, to date), OR you haven't explained yourself clearly enough.

    =(SUM($C$7:D7)-(SUM($C$10:D10)))/AVERAGE($D$10:D10) in D12 + copy across.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  9. #9
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Re: Stock cover days

    1-Jan 2-Jan 3-Jan 4-Jan 5-Jan 6-Jan 7-Jan 8-Jan
    production plan 10 20 25 12 14 15 16 10
    sale targets 10 15 25 10 11 20 10 15
    oppning 50 STOCKS 50 55 55 57 60 55 61 56
    stock cover day 3 3 3 4 4

    dear thanks please see this table i need stock cover not on average base i need formula see the to day stock and sum daily production plan and then see the sale target where stock finsh than count the actual daycover

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Stock cover days

    I don't see how you get the stock cover days, based on the example in post 9. Surely they should be as in the attached sheet?
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Re: Stock cover days

    pleas check the attach report
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Re: Stock cover days

    sale target value is diffrent on every day so average is nor work accurate result

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Stock cover days

    Yea. I now know what you need, but can't see how to get there... yet.

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Stock cover days

    OK. I had to do some serious hunting around to get an answer to this one. However, I'm now pretty confident that this is what you need. It is an Arry Formula, which must be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of those who helped you reach a solution.
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    07-08-2019
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365 Pro Plus
    Posts
    1

    Re: Stock cover days

    Glenn Kennedy you are a star! Thank you. I too was looking for a solution to this Excel conundrum.

  16. #16
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Re: Stock cover days

    any other formula with out array

  17. #17
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    stock cover

    I need a simple formula to calculate the cover day of stock vs rolling sales forecast with our array
    Attached Files Attached Files

  18. #18
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,857

    Re: stock cover

    As per your earlier post: why do you need a non-array formula?

    And I doubt if it is possible without array formula.

    And are you still on Excel 2007? If not, please update your profile with current version.
    Last edited by JohnTopley; 08-23-2021 at 06:40 AM.

  19. #19
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,857

    Re: stock cover

    If you take a moving average of sales and divide that into stock levels, the results are very comparable with the current formula.

    in C13 and copy across

    =AVERAGE(C$7:$FH$7)

    in C14

    =INT(C9/C13)

    copy across
    Attached Files Attached Files
    Last edited by JohnTopley; 08-23-2021 at 06:52 AM.

  20. #20
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,895

    Re: Stock cover days

    Administrative Note:

    I have merged your two threads on the same issue.

    You are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  21. #21
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Re: stock cover

    because array formula system runs very slow on every entry take a long time for processing that why i need

  22. #22
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,857

    Re: stock cover

    Look at post #19

    What are the volumes of data (rows/columns) which I assume are related to the number of products.

    Perhaps post a file which better represents your actual situation..

  23. #23
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Stock cover days

    Non ARRAY format
    In D12

    =IFERROR(AGGREGATE(15,6,COLUMN($D$10:$IC$10)/(SUMIF(OFFSET(D10,,,,COLUMN($D$10:$IC$10)-COLUMN($C$10)),">0")>D11),1)-COLUMN($C$10),"NO STOCK")
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 08-23-2021 at 10:25 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  24. #24
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Stock cover days

    UDF "DaysCover" code given Try all options, which is faster then choose.
    Code
    Please Login or Register  to view this content.
    How to Use UDF code:
    In the developer tab click--> Visual Basic
    VB window opens
    Insert--> Module
    Paste the code.
    Close the VB window.
    Now UDF is available in Function List
    Attached Files Attached Files

  25. #25
    Registered User
    Join Date
    01-11-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2016
    Posts
    38

    Re: Stock cover days

    thanks brother

+ 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. stock Inventory cover
    By eriksan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-05-2013, 02:35 PM
  2. Replies: 1
    Last Post: 04-24-2013, 08:53 PM
  3. Days in Stock
    By Jus Bubba in forum Excel General
    Replies: 4
    Last Post: 02-24-2009, 07:36 PM
  4. [SOLVED] HELP! Single cell formula to calculate weeks cover of stock on forward sales.
    By matthew.webb@net1.demon.co.uk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-13-2006, 06:25 AM
  5. calculating days of stock
    By Cor in forum Excel General
    Replies: 1
    Last Post: 05-06-2005, 05:06 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