+ Reply to Thread
Results 1 to 6 of 6

Counting and Summation Question

Hybrid View

  1. #1
    Registered User
    Join Date
    09-05-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    2

    Counting and Summation Question

    Here is the data I am dealing with. Two columns ID and Type:

    ID Type
    1 Report
    1 Report
    1 Workflow
    2 Form
    3 Report
    3 Form

    I need to summarize this as:

    Report 2
    Workflow 1
    Form 2

    I need to only count the same Type with the same ID once. Currently I am using COUNTIF but that counts report with id 1 twice. Also wanted to add that ID can be alpha neumeric

    Thanks,
    Last edited by mangoMan1; 09-05-2013 at 01:21 PM.

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

    Re: Counting and Summation Question

    You get better help if you follow the advice in the link below.

    http://www.excelforum.com/the-water-...-question.html
    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.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Counting and Summation Question

    Please see attached file.
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    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: Counting and Summation Question

    One way might be to use a hepler column, this can be hidden
    In C2 Drag/Fill Down
    Formula: copy to clipboard
    =LOOKUP(REPT("Z",255),CHOOSE({1;2},"",INDEX($B$2:$B$100&" "&$A$2:$A$100,MATCH(TRUE,INDEX(ISNA(MATCH($B$2:$B$100& " "&$A$2:$A$100,$C$1:$C1,0)),0),0))))

    Then in E2 Drag/Fill Down
    Formula: copy to clipboard
    =LOOKUP(REPT("Z",255),CHOOSE({1;2},"",INDEX($B$2:$B$100,MATCH(TRUE,INDEX(ISNA(MATCH($B$2:$B$100,$E$1:$E1,0)),0),0))))

    And in F2 Drag/Fill Down
    Formula: copy to clipboard
    =IF(E2="","",SUMPRODUCT(--ISNUMBER(SEARCH(E2,$C$2:$C$100))))
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    09-05-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Counting and Summation Question

    Thanks! Will this work with alpha numeric or plain text IDs?

  6. #6
    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: Counting and Summation Question

    It should do, try it and see if it does as you expect it to.

+ 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. Need help counting and summation values associated with text
    By DonAdrian.needs.help in forum Excel General
    Replies: 3
    Last Post: 12-19-2012, 12:34 AM
  2. [SOLVED] Summation Formula Question (Code Inside)
    By cjwenngatz@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2006, 02:10 PM
  3. Counting question
    By Brad in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2006, 01:00 PM
  4. Counting Question
    By Metalteck in forum Excel General
    Replies: 1
    Last Post: 06-21-2005, 04:05 PM
  5. Counting question
    By Carl in forum Excel General
    Replies: 11
    Last Post: 03-11-2005, 06:06 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