+ Reply to Thread
Results 1 to 2 of 2

Add previous cell ignoring hidden cells

  1. #1
    Forum Contributor
    Join Date
    03-27-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    290

    Add previous cell ignoring hidden cells

    i have a set of data but its currently got hidden cells because some of the data would be considered as "out liars".
    if I do a SUM(K2:K170) 170 is the end of the data, it gives a result of over 500,000 when the data consists of mostly 1.x and 2.x so this value is out because of the hidden out liars.

    also im making a new column which adds up the data as it goes ie. L5 = K2+K3+K4+K5 so i have set up L5= L4+K5

    but again this data is getting ruined by values that i have already chosen to hide (because i set L2 and L3 up and auto populate the rest)

    is there any way to exclude hidden data from SUM formulas and also auto populate excluding hidden cells?

    EDIT: actually if there is a way to sum formula i can do the auto population this way:
    SUM($K$2:K5) and as i auto populate it will keep adding more onto the K5 value and yeah... thats a way
    Last edited by penfold1992; 10-05-2012 at 10:16 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Add previous cell ignoring hidden cells

    hi penfold1992, are you looking for something like this:
    =SUBTOTAL(109,K2:K170)

    this will ignore any rows you've hidden. do upload a sample Excel file so that we can help you better. to upload, press "Go Advanced" beside the "Post Quick Reply" button & click on the paperclip icon

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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