+ Reply to Thread
Results 1 to 3 of 3

Sumifs with variable in formula

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Sumifs with variable in formula

    Hello:

    I am successfully using the formula below:

    Please Login or Register  to view this content.
    I would like to modify the above formula so that $N$ in the above formula becomes varaible depending in the value in cell B14.

    Example : if Value in cell B14 = P then above formula needs to change to

    Please Login or Register  to view this content.
    Please help and let me know if any questions.

    Thank you

    Riz Momin
    Last edited by rizmomin; 06-15-2013 at 02:14 PM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sumifs with variable in formula

    Try

    =SUMIFS(INDIRECT("AllMonths!$"&B14&"$2:$"&B14&"$1000"),AllMonths!$A$2:$A$1000,Summary!G$1,AllMonths!$B$2:$B$1000,Summary!$A16)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Sumifs with variable in formula

    Hi Ace_XL:

    This works great for me.
    Thank you so much for your great help.

    Riz Momin

+ 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