+ Reply to Thread
Results 1 to 9 of 9

excluding sheets from SUM formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-18-2004
    Posts
    108

    excluding sheets from SUM formula

    hi,

    i have been searching and i can't find a way to exclude a sheet from an SUM formula. i have about 70 sheets that i use in another sheet with multiple SUM formulas, SUM('Sheet1:Sheet70'D10)

    now, i have to throw a couple sheets in between the 70 that i do not want added to the SUMs. i can't put these new sheets at the beginning or end of the 70 sheets, unfortunately.

    1)is there a way to simply exclude those sheets from the SUM formula?

    2) is there an easy way to copy/paste the sheet names into the formula (instead of using the method of sheet 1 to sheet 70), then just remove the sheets i want to exclude?

    thanks...

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    One way that may be a simple enough solution would be to subtract the sum of the unwanted sheets...

    e.g. =SUM('Sheet1:Sheet70'!D10)-SUM('Sheet5:Sheet6'!D10)


    would subtract Sheet5!D10 to Sheet6!D10
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    08-18-2004
    Posts
    108
    Quote Originally Posted by NBVC
    One way that may be a simple enough solution would be to subtract the sum of the unwanted sheets...

    e.g. =SUM('Sheet1:Sheet70'!D10)-SUM('Sheet5:Sheet6'!D10)


    would subtract Sheet5!D10 to Sheet6!D10
    ack...i forgot that i am using AVERAGE formulas as well. i apologize for not mentioning that.

    i assume your solution would not work for AVERAGE formulas...

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You can possibly do something like... using the previous example...

    =(SUM('Sheet1:Sheet70'!D10)-SUM('Sheet5:Sheet6'!D10))/68

    which would sum all D10's in all sheets except Sheets 5 and 6... and then divide by the number of sheets that were included in the Summing... ie. 70-2=68

    Would that work?

  5. #5
    Forum Contributor
    Join Date
    08-18-2004
    Posts
    108
    no, because i am averaging percentages, unfortunately.

    so there's no easy way to exclude certain sheets in the formulas?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    No easy way.... I don't think.... but probably not impossible...

    What is the Average formula you have applied now?

+ 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