+ Reply to Thread
Results 1 to 6 of 6

Forward Cover Calculation For Horizontal Data

Hybrid View

RichardHerbageSCSN Forward Cover Calculation For... 04-10-2018, 03:45 PM
shg Re: Forward Cover Calculation... 04-10-2018, 04:56 PM
RichardHerbageSCSN Re: Forward Cover Calculation... 04-11-2018, 03:46 AM
JohnTopley Re: Forward Cover Calculation... 04-11-2018, 04:44 AM
RichardHerbageSCSN Re: Forward Cover Calculation... 04-12-2018, 09:46 AM
AliGW Re: Forward Cover Calculation... 04-12-2018, 10:06 AM
  1. #1
    Registered User
    Join Date
    04-10-2018
    Location
    Peterborough, England
    MS-Off Ver
    2010
    Posts
    5

    Re: Forward Cover Calculation For Horizontal Data

    Explanation of manual results
    Week 1 Closing Stock 500
    Week 2 ,3,4 Sales all 150 each; so Stock Cover is 3 & something weeks, balance is 500-450=50 which divided by Week 5 Sales (250) which is 0.2, so total 3.2 weeks
    Week 2 Closing Stock 500
    Week 3 & 4 Sales 300 but Week 5 Sales is 250; ; so Stock Cover is 2 & something weeks, balance is 500-300=200 which divided by Week 5 Sales (250) which is 0.8, so total 2.8 weeks


    etc etc

  2. #2
    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,720

    Re: Forward Cover Calculation For Horizontal Data

    Try

    in B4 ("helper" row)

    =MATCH(TRUE,SUBTOTAL(9,OFFSET(C2:$K2,,,,COLUMN(C2:$K2)-COLUMN(C2)+1))>B3,0)-1

    ...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.

    Copy across

    in B5

    =B4+(B3-SUM(OFFSET(C2,,,,B4)))/OFFSET(B2,,B4+1)
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-10-2018
    Location
    Peterborough, England
    MS-Off Ver
    2010
    Posts
    5

    Re: Forward Cover Calculation For Horizontal Data

    John, that's spot on - thank you! Had tried the same but think came unstuck with the control-shift-enter and lost confidence in the ability of OFFSET & COLUMN to replace OFFSET & ROW for Horizontal data.

    I did by the way come up with this little one to deal with the problem if i couldn't find a solution - benefits of this approach is it doesn't use a "volatile" function, whilst it is limited in that it gets capped at 7 days.
    '=IF(B3-SUM(C2:INDEX(C2:J2,7))>=0,">7 Days",IF(B3-SUM(C2:INDEX(C2:J2,6))>=0,6+(B3-SUM(C2:INDEX(C2:J2,6)))/INDEX(C2:J2,6+1),IF(B3-SUM(C2:INDEX(C2:J2,5))>=0,5+(B3-SUM(C2:INDEX(C2:J2,5)))/INDEX(C2:J2,5+1),IF(B3-SUM(C2:INDEX(C2:J2,4))>=0,4+(B3-SUM(C2:INDEX(C2:J2,4)))/INDEX(C2:J2,4+1),IF(B3-SUM(C2:INDEX(C2:J2,3))>=0,3+(B3-SUM(C2:INDEX(C2:J2,3)))/INDEX(C2:J2,3+1),IF(B3-SUM(C2:INDEX(C2:J2,2))>=0,2+(B3-SUM(C2:INDEX(C2:J2,2)))/INDEX(C2:J2,2+1),IF(B3-SUM(C2:INDEX(C2:J2,1))>=0,1,B3/C2)))))))

    Where Sales Starts in B2, and stock in b3 (sorry new to this so couldnt upload a file)

+ 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. Weeks of Stock Cover Calculation
    By suzyanne37 in forum Office 365
    Replies: 5
    Last Post: 01-08-2019, 10:06 AM
  2. Horizontal Sum Calculation posting results Vertically
    By Musiclover119 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-02-2017, 05:40 AM
  3. [SOLVED] How to adjust VBA for VLOOKUP to cover entire range of data
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-03-2014, 08:07 AM
  4. [SOLVED] Copying and pasting Horizontal Data to Horizontal cells
    By jjin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2013, 01:14 AM
  5. Formula for Calculating Forward Weeks Cover....
    By ukgthor in forum Excel General
    Replies: 6
    Last Post: 08-23-2011, 01:11 AM
  6. [SOLVED] Forward looking forecast/cover help required
    By Gizmo63 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-27-2006, 09:20 AM
  7. 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

Tags for this Thread

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