+ Reply to Thread
Results 1 to 5 of 5

Extract & Combine Values based on a column value?

  1. #1
    Registered User
    Join Date
    02-10-2022
    Location
    London
    MS-Off Ver
    Version 2201
    Posts
    2

    Question Extract & Combine Values based on a column value?

    Hi,

    I am building a spending tracker and have a function that I can't quite work out.

    Excel Function.PNG


    In the image above, what I am trying to do is.. the left hand blue table will contain all the items that I have spent money on and will be categorised with an option from the drop down box.

    In the table on the right for each category I want to calculate the combined value of all rows of items that fall under each category.

    Is this possible? If so how would I do this?

    Appreciate the help.

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

    Re: Extract & Combine Values based on a column value?

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

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

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) 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. 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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,621

    Re: Extract & Combine Values based on a column value?

    SUMIFS for the amount and COUNTIFS for the occurrences.

    https://support.microsoft.com/en-us/...6-611cebce642b

    https://support.microsoft.com/en-us/...c-aa8c2a866842

  4. #4
    Registered User
    Join Date
    02-10-2022
    Location
    London
    MS-Off Ver
    Version 2201
    Posts
    2

    Re: Extract & Combine Values based on a column value?

    Nailed it, thank you Ali!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,621

    Re: Extract & Combine Values based on a column value?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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] Formula Required to Extract data from Column A based on Non -zero values in Column B
    By Ramzan-ul-Mubarak in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-29-2019, 06:07 AM
  2. Extract list of values from one column based on values in another column
    By The Speculator in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-21-2019, 11:22 PM
  3. [SOLVED] How to extract values in one column based on criteria in another column
    By TimLarson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-27-2019, 07:06 PM
  4. Need VBA function to extract values from one column based on values enlisted
    By suhasg1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2018, 10:54 AM
  5. Replies: 3
    Last Post: 02-14-2013, 10:25 AM
  6. Extract column label based on MAX and MIN values
    By luis33 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-14-2010, 07:26 PM
  7. Extract and sum values based on Key Column
    By cpremesh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2009, 04:38 AM

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