+ Reply to Thread
Results 1 to 4 of 4

How do I total only specific values in a column based on the values in another column

  1. #1
    Registered User
    Join Date
    10-23-2009
    Location
    South Carolina
    MS-Off Ver
    Excel 2003
    Posts
    2

    How do I total only specific values in a column based on the values in another column

    I am trying to get this idea translated to excel and have been unsuccessful thus far:

    This is what I tried "IF(D:D="JOHNNY",SUM(H:H)), How do I make it total only the values in H that are associated with Johnny?

    If D does equal Johnny I want it to total all of the numeric values in column E that correspond to Johny and if not I want it to disregard the value in E. I either get 0 or it gives me the total of all values in the E column. I want all of Johnny's numbers to total in one place, all of Susie's in another and so on.

    I know that filtering and sorting is the easy route but I would really like to get this to work so I can stop filtering and sorting and revising the formula, I want the totals to be automatic so I can input the data and see the result.
    Last edited by Needy McHelpson; 10-23-2009 at 12:07 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Do I need a nested "IF" for this?

    Welcome to the forum

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do I total only specific values in a column based on the values in another co

    Try SUMIF

    e.g =Sumif($D$1:$D$100="Johnny",$E$1:$E$100)

  4. #4
    Registered User
    Join Date
    10-23-2009
    Location
    South Carolina
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: How do I total only specific values in a column based on the values in another co

    That did the trick, thank you very much. I apologize for the poor title off the bat, I am a new user.

+ 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