+ Reply to Thread
Results 1 to 10 of 10

If cell = "text", Add Next Cell, if not do not add.

  1. #1
    Registered User
    Join Date
    04-16-2012
    Location
    Cincinnat
    MS-Off Ver
    Excel 2007
    Posts
    9

    If cell = "text", Add Next Cell, if not do not add.

    I'm trying to create a way of keeping track of video game stats for fun on excel.

    I want the red highlighted cell to add all the kills I have with the character from column B ONLY IF the character is in column B.
    I'm having trouble not having it add the entire column.
    I want the red highlighted cell to add the the quantity of C if B = Character in K.

    I didn't think this would be so hard to explain via text, it's quite clear what I want in my head, apologies ahead of time if this is unclear!
    Please help, geek in need!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: If cell = "text", Add Next Cell, if not do not add.

    Hi


    One way


    copy to clipboard
    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    04-16-2012
    Location
    Cincinnat
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: If cell = "text", Add Next Cell, if not do not add.

    Quote Originally Posted by rylo View Post
    Hi


    One way


    copy to clipboard
    Please Login or Register  to view this content.
    rylo

    I tried that and it is outputting "0" as the sum. Should I be putting "=" anywhere?
    Thanks for such a fast reply!

  4. #4
    Registered User
    Join Date
    04-16-2012
    Location
    Cincinnat
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: If cell = "text", Add Next Cell, if not do not add.

    Nope you were right! I had the wrong Sum Range!

  5. #5
    Registered User
    Join Date
    04-16-2012
    Location
    Cincinnat
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: If cell = "text", Add Next Cell, if not do not add.

    Dota 2 Log.xlsx

    Next question, I'm trying to have it count my win's and losses per character in columns O and P.
    Same case as last time, I'm having trouble having it count for every time a name is used in B, just to count the instances of L or or W in column J for that row.

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - Guimba-Nueva Ecija
    MS-Off Ver
    2010
    Posts
    3,796

    Re: If cell = "text", Add Next Cell, if not do not add.

    for win
    =COUNTIFS(B:B,L4,J:J,"W")
    for loss
    =COUNTIFS(B:B,L4,J:J,"L")
    "A man should look for what is, and not for what he thinks should be."
    Albert Einstein

    If you are satisfied click the Star to say Thank you.

    Regards,
    Vladimir

  7. #7
    Registered User
    Join Date
    04-16-2012
    Location
    Cincinnat
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: If cell = "text", Add Next Cell, if not do not add.

    Thank You Worked Perfect!

  8. #8
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - Guimba-Nueva Ecija
    MS-Off Ver
    2010
    Posts
    3,796

    Re: If cell = "text", Add Next Cell, if not do not add.

    Your very much welcome from all who contributed.

  9. #9
    Registered User
    Join Date
    04-16-2012
    Location
    Cincinnat
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: If cell = "text", Add Next Cell, if not do not add.

    Thank You all for the help, this is what I've got thus far.

    I inputted all the characters and my first 39 games of DoTa2.
    Let me know what you think and if there are any suggestions for improvement. Like getting the 0's to disappear or have the #error go away.

    Thanks All Again!
    Attached Files Attached Files

  10. #10
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    865

    Re: If cell = "text", Add Next Cell, if not do not add.

    here you are enjoy.


    btw I altered the formulas to only look at the first 10000 rows. I thought that would be enough (and it was running slowish looking at full columns :D


    cleared 0's and errors also auto fills the primary attribute on creature entrance.



    Dota 2 Log.xlsx
    Can you solve the Bluecell? A new way to learn Excel http://excelbluecell.com/
    Visit my corner for tutorials and exercises http://excelbluecell.com/stevescorner/
    <--- If a post helps hit the star

+ 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