+ Reply to Thread
Results 1 to 10 of 10

subtotal for text

  1. #1
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    216

    subtotal for text

    Hi,

    Could you please advice how to do the subtotal for text?

    I have tried

    =SUBTOTAL(3,F4:F562). F is formatted as text

    However, look like it does the total everything in my column. I would to get this work same as

    =SUBTOTAL(2,E4:E562). E is formatted as DATE

    Your comment will be very much appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: subtotal for text

    =subtotal(3,f4:f562)-subtotal(2,f4:f562)

    ?

  3. #3
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    216

    Re: subtotal for text

    Quote Originally Posted by brokenbiscuits View Post
    =subtotal(3,f4:f562)-subtotal(2,f4:f562)

    ?
    It als counts the blank cell (this blank cell is the formula)

  4. #4
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: subtotal for text

    =subtotal(3,f4:f562)-subtotal(2,f4:f562)-countblank(f4:f562)

    ?

  5. #5
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    216

    Re: subtotal for text

    Quote Originally Posted by brokenbiscuits View Post
    =subtotal(3,f4:f562)-subtotal(2,f4:f562)-countblank(f4:f562)

    ?
    It does not work for me and I got ######################## all the way.

  6. #6
    Forum Contributor
    Join Date
    01-11-2011
    Location
    Frederick, MD, USA
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: subtotal for text

    Post a copy of your worksheet - makes it easier for everyone to understand exactly the problems you're having.

  7. #7
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    216

    Re: subtotal for text

    Quote Originally Posted by Gunther Maplethorpe View Post
    Post a copy of your worksheet - makes it easier for everyone to understand exactly the problems you're having.
    I have attached a worksheet which similar to my actual one.
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: subtotal for text

    Are we looking at cols B & C now (rather than the E & F you originally advised)?

    =SUBTOTAL(3,C3:C14)-SUBTOTAL(2,C3:C14)-COUNTBLANK(C3:C14)

    works for me in Cell C1

  9. #9
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    216

    Re: subtotal for text

    It does not work when i filtered out the blank cell in column B. I also have tried to filter only Jan and also does not work

  10. #10
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: subtotal for text

    Ah, I see what you mean now.

    Could you not change the formula in C3:C14 to show zero rather than blank (and conditional format to hide zeroes if necessary)?

    You could then use =SUBTOTAL(3,C3:C14)-SUBTOTAL(2,C3:C14)

+ 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