+ Reply to Thread
Results 1 to 11 of 11

Cant count these cells

  1. #1
    Registered User
    Join Date
    12-25-2010
    Location
    Rotterdam
    MS-Off Ver
    Excel 2010
    Posts
    18

    Cant count these cells

    Trying to count these cells.
    =sum(J7:J18) states number two, but also says something is wrong
    =count...... same problem

    *** Watch the unfilled cap between result and column

    JAN FEB MRT APR MEI
    JAN 0 MRT APR MEI
    JAN 0 MRT APR MEI
    JAN 0 MRT APR MEI
    JAN 0 MRT APR MEI
    JAN 0 MRT APR MEI
    JAN 0 MRT APR MEI
    JAN 2 MRT APR MEI
    JAN 0 MRT APR MEI
    JAN 0 MRT APR MEI
    JAN 0 MRT APR MEI




    0 #NAME? 0 0 0

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Cant count these cells

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    12-25-2010
    Location
    Rotterdam
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Cant count these cells

    tellen.xls

    here's part of the file

    thanks

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Cant count these cells

    e19 says =sum(J5:J18)
    J5:J18 is all text you cant sum text
    =counta(J5:J18) gives 10
    bt why have you got that under feb? which is col e

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Cant count these cells

    Beste Harrij, dear Harrij

    Is this how you data is built up?

    Why you have all columns filled with the name of the month?

    What is the use for that?

    Maybe your looking for this one?

    Dutch
    Please Login or Register  to view this content.
    English
    Please Login or Register  to view this content.
    I see Martindwilson has already given you this answer
    Last edited by oeldere; 02-09-2013 at 06:25 AM.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Cant count these cells

    counta/AANTALARG doesn't have a second arguement

  7. #7
    Registered User
    Join Date
    12-25-2010
    Location
    Rotterdam
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Cant count these cells

    sorry copied pieces through network so cells are off.
    It is shown in Column E ( Februari )
    =sum(E5:E18) ...... gives error

  8. #8
    Registered User
    Join Date
    12-25-2010
    Location
    Rotterdam
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Cant count these cells

    I have a VBA Excel running.
    Because its was necessary ti fill the cells first with name of month and later in the script ,the name of month was replaced by a number.
    So then I needed to sum the total errors in that specific column.
    Result is still not well, because there are also some blank cells I guess. Skipping these blank cells and setting the Result= straight under the last number works alright.
    So I need to pass the empty cells.

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Cant count these cells

    Please Login or Register  to view this content.
    MartindWilson of course your totaly right.


    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Cant count these cells

    however when i open that workbook e19 says #name but when i re enter it changes ok

  11. #11
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Cant count these cells

    I get the same error as Martin does initially.

    Are you using a Dutch version of Excel?
    Maybe you should try SOM() instead of SUM()

    As oeldere, asked earlier, why are your columns mainly just months repeated? What is the point of this?

+ 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.6.0 RC 1