+ Reply to Thread
Results 1 to 3 of 3

Offset with CountA subtotal Not counting bottom rows or blanks

  1. #1
    Registered User
    Join Date
    07-25-2019
    Location
    New York
    MS-Off Ver
    2016
    Posts
    12

    Offset with CountA subtotal Not counting bottom rows or blanks

    Hello,

    I'm working with a workbook that contains 2 reports Submissions and Resubmissions. I need to count those that are late (which is a filter, so I'm using a subtotal) by company and contact. Each company can have several contacts. It appears the last row before filtered data is being ignored ie rows 6-10 aren't shown due to the filter and row 5 isn't being counted

    For submissions I'm using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The current iteration of the report has a total of 173 late submissions. But using this equation, I only get 172 and the last row is always ignored.

    For resubmissions I'm using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This sheet contains 145 late resubmissions and the formula only returns 141 where blanks are being ignored and random other values are
    Last edited by wetgoose69; 07-29-2020 at 11:05 AM.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Offset with CountA subtotal Not counting bottom rows or blanks

    rather than ignoring the bottom row, you're actually omitting the first row; you need to append your ROW range with -1, i.e.

    offset(A1,ROW(A3:A5),0) --> A4, A5 & A6
    offset(A1,ROW(A3:A5)-1,0) --> A3, A4 & A5

  3. #3
    Registered User
    Join Date
    07-25-2019
    Location
    New York
    MS-Off Ver
    2016
    Posts
    12

    Re: Offset with CountA subtotal Not counting bottom rows or blanks

    Thank you so much! I've been struggling!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Alpha Sort Rows including blanks at the bottom
    By VisionSmart in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2017, 03:47 AM
  2. Counting non-blanks (CountA) of a matching cell's row
    By hawaean in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-05-2017, 07:34 AM
  3. Creating Dynamic Range Using OFFSET and COUNTA Adds Extra Rows
    By jcox1953 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-25-2014, 12:44 PM
  4. [SOLVED] SUBTOTAL in an Array forumla - Counting unique & repeat values disregarding blanks
    By -AJ- in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-26-2014, 08:44 AM
  5. Replies: 2
    Last Post: 03-01-2013, 07:01 AM
  6. [SOLVED] Counting blanks in range using VBA Offset
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-15-2005, 10:05 AM
  7. Counting rows of blanks across certain columns
    By crossingboston in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-26-2005, 05:15 PM

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