+ Reply to Thread
Results 1 to 11 of 11

Help needed with automatic formula population

  1. #1
    Registered User
    Join Date
    02-25-2016
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    13

    Help needed with automatic formula population

    I'm wondering if someone may be able to help me with this...

    I have made a sheet that will give me a daily capacity roll over flow and it works really well.
    I originally made it for just six weeks but found It difficult to come up with a way to copy the formulas across due to the cell references so i had to do a lot of the work manually.
    this obviously took a while with 46 columns x 46 rows.

    i would somehow now like to extend this sheet to do a whole year but with 365 columns x 365 rows I would really like to know if anyone has any ideas on how to make this task easier than before.

    i have attached an example of 2 weeks with data inputted for 1 week, thanks in advance for your help.

    here is an example sheet
    Last edited by robc79; 03-09-2018 at 05:28 AM.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Help needed with automatic formula population

    Where is attachment?
    Many of us will not go to dropbox etc
    Best to attach a workbook, not a picture - with before and after position explained
    To attach a workbook
    - click on GoAdvanced \ look below and click ManageAttachments \ follow instructions
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    02-25-2016
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    13

    Re: Help needed with automatic formula population

    hi, thanks for the reply.

    here is the example sheet
    Attached Files Attached Files
    Last edited by robc79; 03-09-2018 at 05:29 AM.

  4. #4
    Registered User
    Join Date
    02-25-2016
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    13

    Re: Help needed with automatic formula population

    oh its worked now

  5. #5
    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
    28,206

    Re: Help needed with automatic formula population

    Try

    in "Sheet1_1"

    in H6

    =IF($C6>H$5,"",IF($C6=H$5,MIN($G6,$E6),MIN($E6,MAX(INDEX($G$6:$G$400,MATCH(H$5,$C$6:$C$400,0))-SUM(OFFSET(H6,ROW($1:1),,6),0)))))

    Copy across and down for FIRST week

    NOT sure what calculation is starting 2nd week but hopefully you can adapt the above.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-25-2016
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    13

    Re: Help needed with automatic formula population

    Thank you for your help with this John.

    your formula works exactly right for week 1 but only for 70% of week 2 (that's probably down to my crap formula in week 1 though)

    i have entered the original formulas into week 2 now and what the results should be and then done a copy using your formula and highlighted which cells are incorrect - i cant seem to adapt it to work as i'm not 100% sure on what it does

    could you kindly point me in the right direction please.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-25-2016
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    13

    Re: Help needed with automatic formula population

    sorry this it should of been this file
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    02-25-2016
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    13

    Re: Help needed with automatic formula population

    think I've sussed it.

    I've changed the offset height to 365 and it is working now... for 2 weeks anyway, ill give the wholes year a go now.

  9. #9
    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
    28,206

    Re: Help needed with automatic formula population

    in AC6

    =IF($X6>AC$5,"",IF($X6=AC$5,MIN($AB6,$Z6),MIN($Z6,MAX(INDEX($AB$6:$AB$400,MATCH(AC$5,$X$6:$X$400,0))-SUM(OFFSET(AC6,1,,AC$5-$AC$5),0),0))))

    Copy across and down


    It had occurred to me to simply change the height to 365; The above changes the height dynamically but use 365 if it works.

  10. #10
    Registered User
    Join Date
    02-25-2016
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    13

    Re: Help needed with automatic formula population

    it works great! thanks once again John

  11. #11
    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
    28,206

    Re: Help needed with automatic formula population

    You are very welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Help needed with automatic formula population
    By robc79 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2018, 10:02 AM
  2. VBA Automatic Timetable Population
    By Gavin69 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-10-2014, 07:26 PM
  3. VBA for automatic Hyperlink population
    By jakeisbill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2013, 01:49 PM
  4. Automatic Population
    By mediumquality in forum Excel General
    Replies: 6
    Last Post: 03-28-2012, 06:39 AM
  5. Automatic population of data.
    By bengaluru in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2009, 11:10 AM
  6. [SOLVED] Automatic Population?
    By Stacey in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-08-2006, 06:50 PM
  7. Automatic Cell Population
    By EJ in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-24-2006, 08:52 AM

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