+ Reply to Thread
Results 1 to 4 of 4

Sum values based on criteria in another column and sheet in Excel

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    4

    Question Sum values based on criteria in another column and sheet in Excel

    Hi there,

    Am a newbie to this site so please forgive me if protocols are not followed stringently.

    As per the attached file, I am attempting to apply a formula that sum values by subcategory in sheet1 using a formula input into column B of sheet2. I have tried to make the formula work but have struggled

    sheet1 data sheet

    sheet2 column A - Subcategory with duplicates removed
    sheet2 column B - Formula required to total the values for each subcategory listed on sheet1

    Please let me know if there is any further information required to help with this problem.

    Thanks so much
    Jason
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Sum values based on criteria in another column and sheet in Excel

    Change the formula in B2 of Sheet2 to this:

    =SUMIF(sheet1!$C:$C,A2,sheet1!$D:$D)

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    4

    Thumbs up Re: Sum values based on criteria in another column and sheet in Excel

    Hi Pete - Thanks so much, I can see where I was going wrong now.

    I really appreciate your help

    Cheers,
    Jmor69

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Sum values based on criteria in another column and sheet in Excel

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum (in terms of post-count), you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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: 19
    Last Post: 10-16-2017, 12:34 PM
  2. [SOLVED] VBA Creating a list of unique values from one column based on criteria from another column
    By bilbo85 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-09-2016, 02:38 PM
  3. [SOLVED] Sum of values based on values in different column with additional criteria
    By jimmyb555 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2015, 02:31 PM
  4. [SOLVED] Splitting Excel sheet into multiple sheets based on random values of a column.
    By Preeti1309 in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 04-22-2014, 11:07 PM
  5. [SOLVED] Removing Rows from one sheet to another sheet based on criteria in column
    By emilyloz in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-29-2013, 02:09 PM
  6. Replies: 1
    Last Post: 07-13-2012, 10:11 AM
  7. Delete Rows In Sheet 1 Based Off Of Criteria On Sheet 2 Column A
    By Pfafkl13 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-23-2011, 06:35 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