+ Reply to Thread
Results 1 to 4 of 4

Autofill two references in complex formula

  1. #1
    Registered User
    Join Date
    05-18-2014
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    10

    Autofill two references in complex formula

    Hi,

    I have a calculation of orders, where I use the following formula:
    Please Login or Register  to view this content.
    When I try to drag to let Excel change D4 and C4 to 1 number higher, it won't.
    I'm not sure if there is a way without using a Macro, but my research before this post have shown nothing.
    This could of course be done manually, but I have close to 800 rows, which have to be filled.

    What is the solution that I should use?

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,961

    Re: Autofill two references in complex formula

    To use indirect with incrementing numbers, create the string using a function as part of the string generation, like

    =SUMPRODUCT(SUMIF(INDIRECT($I$3:$I$33&"!D" & ROW(A4)),"X",INDIRECT($I$3:$I$33&"!C" & ROW(A4))))
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    05-18-2014
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Autofill two references in complex formula

    Hi Bernie,

    Thank you very much! It worked smoothly.

  4. #4
    Registered User
    Join Date
    05-18-2014
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Autofill two references in complex formula

    Hi Bernie,

    Thank you very much! It worked smoothly.

+ 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. [SOLVED] Copying complex formula, with sheet references...
    By tadd9 in forum Excel Formulas & Functions
    Replies: 39
    Last Post: 04-13-2014, 07:54 PM
  2. [SOLVED] Complex autofill patterns
    By estuaryltd in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-29-2013, 12:16 PM
  3. [SOLVED] Complex autofill,4 rows combine in 1
    By irisis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-26-2012, 09:16 AM
  4. autofill a formula that references worksheet tabs
    By menziesthefish in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-29-2010, 10:50 AM
  5. Autofill cell references
    By stephen.ward in forum Excel General
    Replies: 7
    Last Post: 02-17-2010, 01:56 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