+ Reply to Thread
Results 1 to 6 of 6

Sum formula with Range depending on value of other cells

  1. #1
    Forum Contributor
    Join Date
    10-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    110

    Sum formula with Range depending on value of other cells

    Hi Experts,

    I need to use a simple sum formula but the range is not fixed all the time.

    I need to decide the range depending on other cells.

    Please have a look at the attached file and suggest which formula I should use to construct range for Sum Formula dynamically. (I think offset formula may help here)

    P.S. : I'm not allowed to use Macro for this.

    Thank in Advance!
    Attached Files Attached Files
    Last edited by Tejas.T; 12-29-2012 at 02:54 PM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Sum formula with Range depending on value of other cells

    In C2 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Sum formula with Range depending on value of other cells

    Hi Tejas,

    Use below formula :-

    =SUM(OFFSET($B$6,$A$2,0,$B$2-$A$2+1,1))

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Forum Contributor
    Join Date
    10-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Sum formula with Range depending on value of other cells

    @dilipandey:
    Thank you very much for the smart formula

    @Sixthsense:
    I think you misunderstood my question. Anyways, thank for the try.

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Sum formula with Range depending on value of other cells

    you welcome Tejas..

    suggest you to mark this thread as [SOLVED]..

    Regards,
    DILIPandey
    <click on below * if this helps>

  6. #6
    Forum Contributor
    Join Date
    10-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Sum formula with Range depending on value of other cells

    Hi,
    I have done that. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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