+ Reply to Thread
Results 1 to 7 of 7

Count if column has numerical value

  1. #1
    Registered User
    Join Date
    05-17-2014
    MS-Off Ver
    Excel 2003
    Posts
    45

    Count if column has numerical value

    Problem #1 On sheet 2, Y3 I'm wanting to count the total number of Sheet 3 column T9 that contains any value, basically just do not count blank cells.

    Problem #2 Then on sheet 2 I want AA4 to be the number of Sheet 3 column T9 that is specifically the value <0.8.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Count if column has numerical value

    Problem 1 COUNTA(T:T)

    Problem 2 COUNTIF(T:T,"<0.8")
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    05-17-2014
    MS-Off Ver
    Excel 2003
    Posts
    45

    Re: Count if column has numerical value

    Thank you!!

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

    Re: Count if column has numerical value

    See the yellow cells in the attached file (for both questions).

    for your second question; is it also possible you have a value of 0,7 in the cell, and that value has also be counted?

    I'm not able to attache a file, so i will attache it later.
    Last edited by oeldere; 05-19-2014 at 11:28 AM. Reason: file attached
    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.

  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,063

    Re: Count if column has numerical value

    Oeldere's solution doesn't quite work. Type any value into sheet 2, T12 and the count of <0.8's incorrectly re-sets to zero. To be honest, I'm not sure how oedelere got it to work at all!!!

    Excel has a quirk in the way that it handles these quasi-numerical strings. You need to use

    =COUNTIF(Sheet3!T9:T200,"*<0.8")

    instead.
    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

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

    Re: Count if column has numerical value

    @Glenn Kennedy

    2nd question =countif(Sheet3!$T$9:$T$20,Sheet2!$AA$2)

    I used a cellreference to get the result.

    aa2= <0.8

    see also my question on the topic (#4)
    Please Login or Register  to view this content.

  7. #7
    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,063

    Re: Count if column has numerical value

    And what happens if you add another <0.8 in sheet 3 column T? Does you equation work OK?

    Regarding your other Q. The <0.8 is a detection limit or a lower reporting limit, or similar. It will always be that value.

    I don't have PC access so can't check it out myself

+ 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] VBA code to count non-numerical cells
    By shinobi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2013, 08:07 AM
  2. Count frequency of a numerical value in a cell
    By Kara_xy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-16-2009, 06:17 AM
  3. Replies: 2
    Last Post: 03-16-2009, 12:26 PM
  4. Replies: 5
    Last Post: 07-26-2006, 10:55 AM
  5. How do I count several non-numerical values in Excel?
    By Yuccaman in forum Excel General
    Replies: 1
    Last Post: 09-03-2005, 02:05 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