+ Reply to Thread
Results 1 to 5 of 5

Help with SUM and INDIRECT Function

  1. #1
    Registered User
    Join Date
    05-04-2011
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    35

    Help with SUM and INDIRECT Function

    I want to sum Sheet22 using Variable Range on Sheet3 on Sheet 1...I am not sure how to use SUM and INDIRECT formula...I have given it a try. See attached. Any help is welcomed. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help with SUM and INDIRECT Function

    Try
    =SUM(INDIRECT("'Sheet2'!A1:" &var_b&"1"))

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Help with SUM and INDIRECT Function

    Try this version

    =SUM(INDIRECT("Sheet2!A1:"&var_b&"1"))
    Audere est facere

  4. #4
    Registered User
    Join Date
    05-04-2011
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Help with SUM and INDIRECT Function

    Worked. Thanks.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help with SUM and INDIRECT Function

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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