+ Reply to Thread
Results 1 to 2 of 2

Sum a column based on another column with multiple criteria

  1. #1
    Registered User
    Join Date
    06-12-2023
    Location
    Oslo, Norway
    MS-Off Ver
    Microsoft 354 Apps for enterprise. Version 2208
    Posts
    1

    Sum a column based on another column with multiple criteria

    Hi,

    I have a list of account numbers, and costs per each account. Then I have another list that groups the different account numbers into groups, i.e.: IT costs, wage costs etc.


    Example:

    IT costs, consists of the account numbers: 2003, 4003, 2876, 1256. Wage costs consists of the account numbers 1234, 3456, 8645, 4567. Each of these accounts have their own costs.

    Now, how do I sum all costs per group?

    Thank you!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Sum a column based on another column with multiple criteria

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    Administrative Note:

    Is your forum profile showing the version of Excel that you need this to work for? 'Newest' could mean one of at least three different versions.

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent versions of Excel are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the release number in your profile (e.g. MS365 Version 2211). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Copy data from one or more column to another multiple column based on criteria
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2022, 03:12 AM
  2. [SOLVED] Capturing Multiple Column’s Data in a Single Column Based on Criteria
    By Rajeshkumar R in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2020, 01:40 PM
  3. Sum column based on multiple criteria in another column
    By CNN in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 05-16-2016, 06:43 PM
  4. [SOLVED] Find unique cells in column -> Sum another column based on multiple criteria
    By mjoc9 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-20-2015, 09:29 AM
  5. [SOLVED] Sum Second Column based on Multiple Criteria from First Column
    By Zimbo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2015, 10:01 AM
  6. [SOLVED] Please help : Sum of column based on multiple criteria
    By kamalchandra.15 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-06-2013, 02:22 AM
  7. Replies: 7
    Last Post: 06-25-2013, 07:15 PM

Tags for this Thread

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