+ Reply to Thread
Results 1 to 6 of 6

Count amount text appears with extra criteria

  1. #1
    Registered User
    Join Date
    02-10-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2007
    Posts
    3

    Smile Count amount text appears with extra criteria

    I have a table with a variety of columns in, which is for time and attendance. There is a column called name and then 10 columns with a variety of characters in. I want to count by name how many times the letter H appears. Their name will appear more than once in the rows section though.
    Last edited by tinybear77; 02-10-2011 at 12:16 PM.

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Count amount text appears with extra criteria

    please can you upload your spreadsheet?
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Count amount text appears with extra criteria

    if your names are in col a1:a12 for eg put this in col b1

    =SUMPRODUCT(LEN(A1:A12)-LEN(SUBSTITUTE(A1:A12,"H","")))

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Count amount text appears with extra criteria

    Perhaps:

    Please Login or Register  to view this content.
    references to name & H can be replaced with cell references containing terms of interest

    If you're using SUMPRODUCT en masse (in matrix for ex.) you should pursue alternative approaches.

  5. #5
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Count amount text appears with extra criteria

    doh silly me i re-read post and realised that I got the wrong end of the stick - nothing new there!!

  6. #6
    Registered User
    Join Date
    02-10-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Count amount text appears with extra criteria

    Thanks very much for your help

+ 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