+ Reply to Thread
Results 1 to 4 of 4

excluding Hidden Rows from my =SUMIF formula PLEASE HELP!

  1. #1
    Registered User
    Join Date
    10-15-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    excluding Hidden Rows from my =SUMIF formula PLEASE HELP!

    Hello all,

    I have been trying to figure this out for the last couple of (work) days and really need help! I am trying create a summary page for inventory where I can exclude shipped items (Hidden cells; I hid the cells manually). I have been searching online for formulas and found/edited the following:

    =SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($F$1:$F$1841,1,1),ROW($F$1:$F$1841)-ROW(INDEX($F$1:$F$1841,1,1)),0))=1),--($H$1:$H$1841=B1847),$F$1:$F$1841)


    However, I then realized that this formula only excludes hidden rows that were AUTO hidden from a data filter. PLEASE HELP ME! Is there a formula that omits the rows I hid myself?!!



    ((( My original sumif formula was =SUMIF($H$1:$H$1841,B1847,$F$1:$F$1841) )))
    Last edited by LeatherChair; 10-16-2012 at 09:13 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: excluding Hidden Rows from my =SUMIF formula PLEASE HELP!

    Hi LeatherChair,

    Have you tried looking into Pivot Tables? Or even changing you data into a Table with a Total Row?

    Let me know if you need explanation.

    - Dennis

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: excluding Hidden Rows from my =SUMIF formula PLEASE HELP!

    Use 103 instead of 3 in SUBTOTAL,

    SUBTOTAL(103
    Last edited by Haseeb Avarakkan; 10-15-2012 at 09:06 PM.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    10-15-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: excluding Hidden Rows from my =SUMIF formula PLEASE HELP!

    Quote Originally Posted by Haseeb A View Post
    Use 103 instead of 3 in SUBTOTAL,

    SUBTOTAL(103

    Thank you! It works!! Can you PLEASE explain to me what adding the 10(3) changed?! Why does it work?

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: excluding Hidden Rows from my =SUMIF formula PLEASE HELP!

    The 103 code is used when you want to exclude hidden values for a COUNTA().

    Here's a link that explains the various codes: http://www.excelfunctions.net/Excel-...-Function.html

+ 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