+ Reply to Thread
Results 1 to 4 of 4

Add all 'same name' in column A with numbers in Column B

  1. #1
    Registered User
    Join Date
    04-12-2019
    Location
    Canada
    MS-Off Ver
    14.1
    Posts
    12

    Add all 'same name' in column A with numbers in Column B

    Hi guys,
    First off I apologize for the awkward description in the title.

    What I'm trying to do is this;

    If I have a sheet that has two columns, A is the name of the store and B is the amount I spent.
    ex.
    Amazon $4.89
    Market Basket $20.32
    Amazon $49.99
    market Basket $22.22
    etc...

    I'd like to easily be able to have a function just add all the Amazon prices (or Market basket etc)

    Is there a function for this?
    Drew

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

    Re: Add all 'same name' in column A with numbers in Column B

    sounds like you want a sumif function, =SUMIF(range with the list, criteria like Amazon, range of cells to add)
    see if that helps you.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Add all 'same name' in column A with numbers in Column B

    Hello and welcome to the forum.

    Yes there are two that come to mind --- SUMIF & SUMPRODUCT.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    A
    B
    C
    D
    1
    Amazon
    2
    Amazon
    $4.89
    54.88
    54.88
    3
    Market Basket
    $20.32
    4
    Amazon
    $49.99
    5
    market Basket
    $22.22
    6
    Dave

  4. #4
    Registered User
    Join Date
    04-12-2019
    Location
    Canada
    MS-Off Ver
    14.1
    Posts
    12

    Re: Add all 'same name' in column A with numbers in Column B

    Thanks guys, works like a charm.

    Drew

+ 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. Replies: 6
    Last Post: 07-06-2014, 10:19 PM
  2. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2012, 08:56 AM
  3. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel General
    Replies: 4
    Last Post: 04-07-2012, 09:14 AM
  4. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel General
    Replies: 5
    Last Post: 04-06-2012, 12:02 PM
  5. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-06-2012, 11:19 AM
  6. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-06-2012, 11:18 AM
  7. [SOLVED] Delete Cell Numbers of Column B From Column A (Column B Small and Column A too big)
    By it_electronics2000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-06-2012, 11:13 AM

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