+ Reply to Thread
Results 1 to 7 of 7

Excel Autofill Formula

  1. #1
    Registered User
    Join Date
    08-24-2010
    Location
    London, England
    MS-Off Ver
    Office 2007
    Posts
    8

    Excel Autofill Formula

    Hi there!

    I am battling with the following problem:

    In J5 I have =SUM(Diary!X7:X12).
    In J6 I want=SUM(Diary!X57:X62).
    In J7 I want = SUM(Diary!X107:X112)

    etc.

    How can I drag down the J colum to autofill the rows with the above criteria?


    Many thanks in advance for your help.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Excel Autofill Formula

    hi marcimarc. wishing you an advanced happy new year~ try:
    =SUM(INDEX(X:X,7+(ROWS(J$5:J5)-1)*50):INDEX(X:X,12+(ROWS(J$5:J5)-1)*50))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Excel Autofill Formula

    Another way......

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    08-24-2010
    Location
    London, England
    MS-Off Ver
    Office 2007
    Posts
    8

    Re: Excel Autofill Formula

    Thank you very much for your wishes benishiryo. Same to you!

    However, I don't quite get this formula to work.

    Am I right in assuming to copy the formula into J6?

    There is also no reference to the worksheet (!Diary) in your formula - do I not need this?

    Thanks again for your help.

  5. #5
    Registered User
    Join Date
    08-24-2010
    Location
    London, England
    MS-Off Ver
    Office 2007
    Posts
    8

    Re: Excel Autofill Formula

    Thanks sktneer! That works!!! Brilliant!!! Happy New Year to you!!!

  6. #6
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Excel Autofill Formula

    sorry about that. i used the current sheet instead. it should be placed in J5:
    =SUM(INDEX(Diary!X:X,7+(ROWS(J$5:J5)-1)*50):INDEX(Diary!X:X,12+(ROWS(J$5:J5)-1)*50))

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Excel Autofill Formula

    Glad to help you. Happy new year in advance to you too.
    Moreover you may click on * (Star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say 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. Autofill a formula in excel macro
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-24-2013, 05:26 AM
  2. Help on Excel Formula to AutoFill Details
    By newbie1234 in forum Excel General
    Replies: 4
    Last Post: 01-18-2011, 12:37 PM
  3. Excel autofill problem using large formula
    By prodigital in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2010, 12:22 AM
  4. Replies: 3
    Last Post: 07-05-2010, 09:21 PM
  5. Excel formula for autofill information
    By blitzz008 in forum Excel General
    Replies: 0
    Last Post: 04-20-2006, 12:51 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