+ Reply to Thread
Results 1 to 2 of 2

=SUM(INDIRECT(" Dynamic solution help

  1. #1
    Registered User
    Join Date
    07-07-2015
    Location
    Wash DC
    MS-Off Ver
    10
    Posts
    57

    =SUM(INDIRECT(" Dynamic solution help

    It's easy enough to sum up values on another sheet.. if I am on Sheet1 and do the following it works great

    =SUM('Sheet2'!B64:'Sheet2'!B111)

    However, Sheet3 has some values I would like to incorporate, basically A1 = 64 and B1 = 111 (these cells are dynamically created and can change)

    So what I am trying to do from Sheet1 is add up the sum of Sheet2 B64 thru B111 where the values of 64 is on sheet3 in A1 and 111 is on sheet3 in B1...

    I should be able to use =SUM(INDIRECT I thought I should be able to reference "&sheet3!$A$1 instead of manually putting in 64 and "&sheet3!$B$1 but the whole crossing of sheets and values has me all mixed up..

    Help

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: =SUM(INDIRECT(" Dynamic solution help

    INDIRECT will work but INDEX is better.

    =SUM(INDEX(Sheet2!B:B,Sheet3!A1):INDEX(Sheet2!B:B,Sheet3!B1))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Macro Column selection keeps defaulting to "C:x" instead of just "x"
    By Cappytano in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2015, 10:33 AM
  2. Replies: 2
    Last Post: 11-16-2015, 04:45 PM
  3. [SOLVED] INDIRECT solution Failed on corresponding columns
    By CityMPLSEmpolyee in forum Excel General
    Replies: 1
    Last Post: 03-20-2015, 03:20 PM
  4. Replies: 1
    Last Post: 01-16-2015, 04:44 AM
  5. Solution to populate cell with "X" by selecting "R"
    By nirola in forum Excel General
    Replies: 4
    Last Post: 11-17-2012, 10:15 AM
  6. [SOLVED] Solution "Your changes could not be saved" "The document may be read-only or encrypted"
    By inews@questuscorp.com in forum Excel General
    Replies: 0
    Last Post: 08-07-2006, 01:35 AM
  7. Req for help using INDIRECT or alt solution
    By eengland in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-07-2006, 12:55 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