+ Reply to Thread
Results 1 to 4 of 4

Averaging

  1. #1
    Registered User
    Join Date
    07-16-2007
    Posts
    26

    Question Averaging

    Hello,

    I have a spreadsheet that I use formulas like this one: =SUBTOTAL(9,(C11:C110))

    I am wondering if it is possible to make a self adjusting formula for averages. I have tried =AVERAGE(9,(C11:C110)) but it gives me an error. Is it possible to average the data of only rows that are showing if I hide some rows? Thanks for your help!

    Bonni

  2. #2
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Quote Originally Posted by SMABonni
    Hello,

    I have a spreadsheet that I use formulas like this one: =SUBTOTAL(9,(C11:C110))

    I am wondering if it is possible to make a self adjusting formula for averages. I have tried =AVERAGE(9,(C11:C110)) but it gives me an error. Is it possible to average the data of only rows that are showing if I hide some rows? Thanks for your help!

    Bonni

    Try...

    =SUBTOTAL(1,(C11:C110))

  3. #3
    Registered User
    Join Date
    07-16-2007
    Posts
    26
    That worked great! Thank you!

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    How are you hiding the rows? The formula given ignores rows that are not shown due to filtering, it won't exclude values in rows hidden using Hide command. If you want to exclude both hidden and filtered out rows you can use

    =SUBTOTAL(101,C11,C110)

+ 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