+ Reply to Thread
Results 1 to 8 of 8

What function to use for 2 column with name and number for a total

Hybrid View

  1. #1
    Registered User
    Join Date
    12-03-2015
    Location
    sidney, ne
    MS-Off Ver
    Office 2013
    Posts
    29

    What function to use for 2 column with name and number for a total

    What function and what formula would be used to add the total amount by each name - see below

    Column A is the name Column B is the amount -

    John 600
    Bill 800
    Andy 1000
    Rich 200
    Bill 533
    Andy 755
    John 654
    Rich 654

    Thanks for your help.
    Last edited by 007Buff; 11-13-2020 at 12:33 PM. Reason: change title

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,627

    re: What function to use for 2 column with name and number for a total

    Try a Pivot Table or the SUMIF function

  3. #3
    Registered User
    Join Date
    12-03-2015
    Location
    sidney, ne
    MS-Off Ver
    Office 2013
    Posts
    29

    re: What function to use for 2 column with name and number for a total

    what would the formula look like for sumif? sorry newby

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    re: What function to use for 2 column with name and number for a total

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    12-03-2015
    Location
    sidney, ne
    MS-Off Ver
    Office 2013
    Posts
    29

    What function to use for 2 column with name and number for a total

    What function and what formula would be used to add the total amount by each name - see below

    Column A is the name Column B is the amount -

    John 600
    Bill 800
    Andy 1000
    Rich 200
    Bill 533
    Andy 755
    John 654
    Rich 654

    Thanks for your help.

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,627

    re: What function to use for 2 column with name and number for a total

    Hi
    the idea is to adapt the title of your original post. Only that title appears on the board
    As for your post #3 a link was added to a site to show how it works

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: What function to use for 2 column with name and number for a total

    I have changed it in the first post. You can carry on now. Thanks!!

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,692

    Re: What function to use for 2 column with name and number for a total

    There is the pivot table that Pepe recommended.
    Also the sumif function he also recommended.
    to use a sumif you ought to create a distinct list of the names in col A in another location, I used cell D1 and down.
    then the sumif pointed to D1 and columns A and B like so...
    =SUMIF($A$1:$A$8,D1,$B$1:$B$8)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. [SOLVED] Which function do i have to use to show me the total of players-over a number(s)
    By detektiv in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-18-2018, 08:05 AM
  2. [SOLVED] Sumif function to total column e if text in column a appears in more than one row
    By SMITH.CRYSTAL in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-23-2015, 03:58 PM
  3. Getting a total number of a certain letter within a column
    By davidcrawt in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-08-2015, 05:25 PM
  4. Replies: 1
    Last Post: 06-10-2013, 07:08 PM
  5. Need statistical function. Want a total of each number in a column.
    By smjpl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2013, 10:07 AM
  6. [SOLVED] Column total as a number total from column with text
    By birchetts in forum Excel General
    Replies: 16
    Last Post: 03-26-2012, 07:43 AM
  7. Function to Total the Number of Rows with data in A workbook
    By jo15765 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-19-2012, 04:34 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