+ Reply to Thread
Results 1 to 9 of 9

Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Kent
    MS-Off Ver
    Excel 2007
    Posts
    4

    Post Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    I am creating a summary page and would like a formula that enters a Sum of N36 across an entire workbook if C23=1.

    For example if I have a multiple worksheets I'd like B3 in my summary to add together the totals of N36 in worksheets where C23=1 and not in worksheets where C23 is blank.

    excelCapture.PNG

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    Google for "3d formulas" in Excel

    http://excel3dreferencing.blogspot.co.uk/
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    Hi and welcome to the forum.

    Create a list of your Sheets Names and name it as List.

    Then in B3, use this formula.

    =SUMPRODUCT(SUMIF(INDIRECT("'"&List&"'!C23"),1,INDIRECT("'"&List&"'!N36")))

    Is this, works for you?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    07-11-2012
    Location
    Kent
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    Quote Originally Posted by Fotis1991 View Post
    Hi and welcome to the forum.

    Create a list of your Sheets Names and name it as List.

    Then in B3, use this formula.

    =SUMPRODUCT(SUMIF(INDIRECT("'"&List&"'!C23"),1,INDIRECT("'"&List&"'!N36")))

    Is this, works for you?
    Hi, thanks for your reply. Is there any way I could replace the list with a Range. I have a blank form at each end of a range of sheets which I use as start and end sheets in formulas for example =SUM(ROSSSTART:ROSSEND!E23) Which allows me insert worksheets in-between them calculate the Sum.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    We can do this for SUM formula, but really i do't know if we can do somrthing like this, using SUMIF...

  6. #6
    Registered User
    Join Date
    07-11-2012
    Location
    Kent
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    When you say create list what do you mean?

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    Define Names?(Inser>Name>>Define) Is this "saying" something to you? Sorry i am not able to explain this better.

    See if my sample, helps you
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-11-2012
    Location
    Kent
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    Yes it does thanks very much.

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sum of one cell over multiple worksheets if another cell from multiple work sheets =1

    You are welcome

    Pls, mark your Thread, as Solved.

+ 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