+ Reply to Thread
Results 1 to 5 of 5

Dynamic CountA Subtotal

  1. #1
    Forum Contributor
    Join Date
    12-01-2015
    Location
    Indonesia
    MS-Off Ver
    MS Office 365
    Posts
    109

    Dynamic CountA Subtotal

    Dear All,

    I have list in column A and need to make countA subtotal by function in column B. If there is a blank row in column A, then the subtotal will re-start as in table.
    Need help for do it in Excel by function.

    Thank in advance

    Omega Boost
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Dynamic CountA Subtotal

    Maybe this, in B2, copied down:

    =IF(A2="",0,B1+1)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Dynamic CountA Subtotal

    or... if you have a TEXT header in B1, then use:

    =IF(A2="",0,IF(ISTEXT(B1),0,B1)+1)
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    12-01-2015
    Location
    Indonesia
    MS-Off Ver
    MS Office 365
    Posts
    109

    Re: Dynamic CountA Subtotal

    Dear Glenn,
    Thank you for the respond but what i need is the function with subtotal.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Dynamic CountA Subtotal

    Does my formula give you the correct result?

    Why is it important to use SUBTOTAL?

    Is this homework, or coursework?

+ 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. [SOLVED] Dynamic Range/Dynamic Chart Using Cell Value for Reference and without CountA
    By kelseygueldalewis in forum Excel General
    Replies: 11
    Last Post: 09-11-2017, 04:52 PM
  2. [SOLVED] Should I use macro or forumla using SUM, SUBTOTAL, COUNT or COUNTA?
    By JoeVanGeaux in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2017, 05:40 PM
  3. Should I use macro or forumla using SUM, SUBTOTAL, COUNT or COUNTA?
    By JoeVanGeaux in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2017, 02:10 PM
  4. [SOLVED] Dynamic counta formala
    By deanusa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-14-2015, 03:22 AM
  5. [SOLVED] Difference between the SUBTOTAL(103) and COUNTA?
    By hungt in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 06-01-2015, 05:01 PM
  6. SUBTOTAL and COUNTA
    By hungt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-02-2013, 08:43 PM
  7. CountA - Dynamic Range - Macro
    By elcentro3m in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-10-2007, 02:54 PM

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