+ Reply to Thread
Results 1 to 12 of 12

counting how many times it occur

  1. #1
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    counting how many times it occur

    I have list of data that needs to be summarize
    but my problem is that I do not have the exact text everytime
    the common text will be "A - ", "B - ", "C - "... ETC.

    So I want to summarize depending how many times it occur

    If possible, I want it to be flexible so just in case text will be "A - " or "A-" or "A -" or "A- "

    so for ex;

    A - apple
    A - orange
    C - orchid
    D - cat
    A - strawberry
    B - chair
    C - rose


    so

    A = 3
    B = 1
    C = 2
    D = 1


    I was able to do it with specific text, please see problem 9 (sheet Summary F1418:F1430)
    But my problem starts in problem 10, because theres no specific text, only A, B, C,...

    ASK_ADDITIONAL ISSUE3.xlsx
    Last edited by Elainefish; 06-04-2013 at 08:53 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: counting how many times it occur

    Do you mean?

    =COUNTIF(F1432:F1450,"*a*")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: counting how many times it occur

    Not sure what is your expected output is and what needs to be compared with which? in your attached files?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: counting how many times it occur

    here is what I want to do

    I attached a copy of the result (but manually counted)
    ASK_ADDITIONAL ISSUE.xlsx

  5. #5
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: counting how many times it occur

    Quote Originally Posted by :) Sixthsense :) View Post
    Not sure what is your expected output is and what needs to be compared with which? in your attached files?
    I want to count how many times A-, B- occured in column BH
    but depending on the category (T. O. E)
    and depending on the scores
    I attached a new file with the end result (but done manually)

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: counting how many times it occur

    In T1432 and copy down and across?

    =SUMPRODUCT(('2012'!$BF$4:$BF$1000=RIGHT($F$1431;2)+0)*('2012'!$BG$4:$BG$1000=$S1432)*('2012'!BI$4:BI$1000))

  7. #7
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: counting how many times it occur

    this is almost what i want to do
    but the formula you gave me is copying the text from column T
    but What i want is checking how many occurences of 4 scores and 5 scores

    for ex:

    A - A4 Platform 4
    A - Basement 5
    A - A4 Platform 4

    so

    A has 2 occurences in 5scores
    A has 1 occurences in 4scores




    Quote Originally Posted by Fotis1991 View Post
    In T1432 and copy down and across?

    =SUMPRODUCT(('2012'!$BF$4:$BF$1000=RIGHT($F$1431;2)+0)*('2012'!$BG$4:$BG$1000=$S1432)*('2012'!BI$4:BI$1000))

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: counting how many times it occur

    Sorry but i am not able to understand your goal. ....

  9. #9
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: counting how many times it occur

    ASK_ADDITIONAL ISSUE3.xlsx
    I made a new sheet, I hope this explaine better
    I was able to do it with specific text, please see problem 9 (sheet Summary F1418:F1430)
    But my problem starts in problem 10, because theres no specific text, only A, B, C,...


    Quote Originally Posted by Fotis1991 View Post
    Sorry but i am not able to understand your goal. ....

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: counting how many times it occur

    Let's try this one.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: counting how many times it occur

    Quote Originally Posted by fotis1991 View Post
    let's try this one.
    super thanks... You took away my headache

  12. #12
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: counting how many times it occur

    ..................

+ 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