+ Reply to Thread
Results 1 to 10 of 10

Customize Autofill Feature

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    7

    Customize Autofill Feature

    Hi there,

    I'm sure this has already been asked before, but since I couldn't come up with any good keywords to ask the question, I couldn't find an exact solution.

    So my problem is, I have data given in 15 minute intervals. I want to add the data up to get the total for the hour, rather than just 15 minute intervals. I created a formula that adds the first four columns, lets call them column A, column B, column C, and column D. However, when I try to have it auto fill for the next hour, the next hour show formula is column B+column C+column D+column E.
    I instead want it to continue from D, so it adds column E + column F + column G + column H. Is there a simple way to condition excel to understand how I want it auto filled?

    Thanks for any help!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Customize Autofill Feature

    Hi, welcome to the forum

    Do your columns have headings that are in any sort of grouping?

    Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Customize Autofill Feature

    With numbers in A1:L1 enter SUM(A1:D1) in cell D2. Now select A2:D2. Right click the fill handle in the lower right hand corner of the selection and drag it to L2. A pop-up menu will appear. Select "Fill without formatting".

    Does this do what you want?
    Dave

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Customize Autofill Feature

    @ dave, I think they want to be able to sum every 4 "sets" of columns

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Customize Autofill Feature

    Quote Originally Posted by FDibbins View Post
    @ dave, I think they want to be able to sum every 4 "sets" of columns
    Hmmm. I would think this would adapt to that, too ...... but maybe I should wait for the workbook upload you suggested.

  6. #6
    Registered User
    Join Date
    07-01-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    7

    Re: Customize Autofill Feature

    Yes I want to sum every 4 columns, thank you that explains it much better.

    Flame, your solution is similar but I couldn't get it to adapt to my specific use.

    I attached an excel similar to what I am trying to do. My document is formatted a little differently, but it is proprietary information so I couldn't attach here.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-01-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    7

    Re: Customize Autofill Feature

    I posted above with a workbook uploaded. Is there a way to change your formula to make it every 4 columns?

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Customize Autofill Feature

    This is what I have.
    1. remove the space in the headings in row 14 (or add a space to the day in column I) - they need to match.
    2. your times are not really times, they are text, looking like times. If that is how you get the data, add a helper row, with this, copied across...
    =TIMEVALUE(A1)
    Otherwise in A2, enter 0:00
    B1 = 0:15
    highlight both and drag across.

    I used the =TIMEVALUE(a1) in row 7, just so you can see how this works. Then...
    B
    C
    D
    E
    F
    13
    Mine
    14
    Hour Day1 Day2 Yours
    15
    1
    16632
    66528
    16632
    66528
    16
    2
    16590
    66360
    16590
    66360

    C15=SUM(OFFSET($A$1,MATCH(C$14,$I$2:$I$6,0),MATCH(($B15-1)/24,$A$7:$H$7)-1,1,MATCH($B15/24,$A$7:$H$7)-1))
    copied down and across
    Attached Files Attached Files

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Customize Autofill Feature

    Here are a couple of possibilities:
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Customize Autofill Feature

    And here is another done with a copy of summary table in E14:G16.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BTW the row headers in I2:I6 were Day1, Day2 .... etc. The column headers were Day 1, Day 2 ...... (with a space). I changed them in the upload. This formula works in my upload but will not work in your upload till that is changed.

+ 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. combining 2 spreadsheets and a bespoke autofill feature
    By tallonarcus in forum Excel General
    Replies: 2
    Last Post: 04-15-2010, 01:16 PM
  2. Replies: 1
    Last Post: 04-14-2010, 08:01 AM
  3. Customize Autofill
    By BigMeg in forum Excel General
    Replies: 1
    Last Post: 08-03-2005, 12:05 PM
  4. Autofill type feature.
    By brookdale in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2005, 05:47 PM
  5. how to turn on and off autofill feature in 2000
    By Spudd in forum Excel General
    Replies: 4
    Last Post: 03-12-2005, 11:06 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