+ Reply to Thread
Results 1 to 5 of 5

Thread: Converting Non-Number Cell Value to Number For Sum

  1. #1
    Registered User
    Join Date
    06-25-2011
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Question Converting Non-Number Cell Value to Number For Sum

    I have an Excel sheet with a list of names in different categories. I'd like to select these sections of names (eg. A3:A17, A25:A30, etc) and at the bottom, have a count of how many names there. Is there a way to write, "If there is any value in a cell, count it as one, then add them up"? I have been counting the names and just writing the number at the end, but the value keeps changing and I figured Excel is probably more efficient at counting than me.. thanks!!!
    Last edited by GSomething; 01-16-2012 at 07:27 PM.

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,224

    Re: Converting Non-Number Cell Value to Number For Sum

    Use COUNTA

    Regards, TMS

  3. #3
    Registered User
    Join Date
    06-25-2011
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Re: Converting Non-Number Cell Value to Number For Sum

    COUNTA seems to be working for a single range, but not multiple ranges. Is there something I need to amend to the formula to make it add values?

    =COUNTA(C3:C20) produces a positive count result.
    =COUNTA(C3:C20+C25:C30) produces a count result of 1.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    MSO2007 on WinXP/MSO2000 on Win7/winXP
    Posts
    2,177

    Re: Converting Non-Number Cell Value to Number For Sum

    =counta(c3:c20)+counta(c25:c30)
    ---
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    06-25-2011
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Re: Converting Non-Number Cell Value to Number For Sum

    Done and done. Thank you both!!

+ 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.2.0