+ Reply to Thread
Results 1 to 10 of 10

Countif and Sum

  1. #1
    Registered User
    Join Date
    01-01-2010
    Location
    Prishtina/Kosova
    MS-Off Ver
    Excel 2003
    Posts
    16

    Countif and Sum

    Hi!

    when the name changed and sum changed.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Re: Countif and Sum

    Quote Originally Posted by goki View Post
    Hi!

    when the name changed and sum changed.
    To get more responses and correct results, please provide more details ,what you actually need

    Thanks

  3. #3
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Countif and Sum

    Put this is F2 and drag down
    =SUMIF($A$2:A2,A2,$B$2:B2)

    Please read the forum rules. Use titles that describe the problem.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  4. #4
    Registered User
    Join Date
    01-01-2010
    Location
    Prishtina/Kosova
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Countif and Sum

    Quote Originally Posted by Benjamin2008 View Post
    To get more responses and correct results, please provide more details ,what you actually need

    Thanks
    Code A 's sum been C6=9 C10=88
    And Code B 's sum been C8=4

    Code C ' sum been C9=20 for this result I need help
    Last edited by goki; 01-01-2010 at 04:48 PM.

  5. #5
    Registered User
    Join Date
    01-01-2010
    Location
    Prishtina/Kosova
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Countif and Sum

    Formula input C2
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-01-2010
    Location
    Prishtina/Kosova
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Countif and Sum

    previous Code A refuse sum

  7. #7
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Countif and Sum

    Did you read my solution?

  8. #8
    Registered User
    Join Date
    01-01-2010
    Location
    Prishtina/Kosova
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Countif and Sum

    Quote Originally Posted by rwgrietveld View Post
    Did you read my solution?

    Thanks

    No good

    Put this is F2 and drag down

    =if(and(countif(A:A;A2)>0;countif(A3:$A$65536;A2)=0);sumif(A:A;A2;B:B);"")

    this is formula problem

    I'like Code A 's sum been C6=9 C10=88
    Last edited by goki; 01-01-2010 at 07:04 PM.

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

    Re: Countif and Sum

    If I've understood... could you not just use:

    Please Login or Register  to view this content.
    Or, if you need to ensure the total appears only on the last row of each group:

    Please Login or Register  to view this content.
    (in addition to the above you could consider using Excel's Subtotal functionality which would insert a new row between each group with appropriate totals)

  10. #10
    Registered User
    Join Date
    01-01-2010
    Location
    Prishtina/Kosova
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Countif and Sum

    Mr.DonkeyOte

    Billion thanks for all your support and help. This formula is perfect


    Please Login or Register  to view this content.

+ 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