+ Reply to Thread
Results 1 to 2 of 2

Continuation of formula doesn't work

  1. #1
    Registered User
    Join Date
    05-29-2014
    Posts
    1

    Question Continuation of formula doesn't work

    Dear all,

    I am working on a formula that sums several values from 2 different excel sheets into one value, hence it looks somehow like this:
    =SUM($B$1*Sheet1!A1+...+$B$20*Sheet1!A20) (simplified)

    I don't have any problem with the formula itself, but with automatically continuing it. The formula (typed into C1, Sheet2) contains data from 20 stacked rows (say, A1 to A20). I want to copy it into the field below, this time containing data from the next 20 rows (say, A21 to A40). In the field below, it should be data from A41 to A60 and so on.
    However, it seems that I can't just auto-continue my formula - when I do that, excel will use the data from A2-A21 and A3-23, respectively. I also can't solve the problem manually, since I have to copy the formula around 500 times (each time containing data from 20 different rows).

    I hope that it is understandable what my problem is - didn't find an easier way to put it
    Does anyone have an idea how I can modify my formula, so that I can auto-continue it?

    Any help will be highly apreciated.
    Best,
    Mitja

    EDITED BY RON CODERRE (MODERATOR)
    This question has also been posted on another forum at this link:
    http://www.mrexcel.com/forum/excel-q...esnt-work.html
    Last edited by Ron Coderre; 05-29-2014 at 01:31 PM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Continuation of formula doesn't work

    With
    B1:B20 containing numeric factors
    and...on Sheet1
    Col_A contains values to be multiplied by those factors

    This regular formula multiplies B1:B20 times Sheet1!A1:A20 and sums the results:
    Please Login or Register  to view this content.
    When copied into C2, that formula multiplies B1:B20 times Sheet1!A21:A40 and sums the results.
    Each time you copy the formula down a row, the Sheet1 referenced range increments by 20 rows.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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. Formula Doesn't Work
    By Gene Venzke in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-10-2013, 08:54 PM
  2. formula doesn't work in name
    By foxguy in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-29-2011, 10:29 AM
  3. Why Doesn't This Formula Work?
    By rockdave35 in forum Excel General
    Replies: 3
    Last Post: 05-18-2009, 04:14 PM
  4. Why doesn't this formula work
    By greengrass in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-15-2005, 10:57 PM

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