Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Sep 2002
    Location
    Pendleton, Indiana, USA
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Counting cells that contain certian text (Excel 2K)

    I query Access DB to display all results in a table on a sheet called Running Total. On the next sheet I want to count the total number of cells in that column that contain...say the word 'Admin' and display the number. I was using COUNTIF, but it seems that if the order of text in that column changes I get a #REF. Any thoughts to a better way to count these. Thanks

    Trent

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Counting cells that contain certian text (Excel 2K)

    Can you use the entire column as an argument, like this:

    =COUNTIF(A:A,"Admin")
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    Star Lounger
    Join Date
    Sep 2002
    Location
    Pendleton, Indiana, USA
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Counting cells that contain certian text (Excel 2K)

    How do I reference another sheet with that formula? Thanks for the help

  4. #4
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Counting cells that contain certian text (Excel 2K)

    =COUNTIF(Sheet2!A:A,"Admin")
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •