+ Reply to Thread
Results 1 to 5 of 5

Need help summing and merging tables based on shared column

  1. #1
    Registered User
    Join Date
    08-04-2020
    Location
    Houghton, MI
    MS-Off Ver
    Excel for Mac 15.27
    Posts
    2

    Need help summing and merging tables based on shared column

    Hey all,

    I have two datasets; one comprised of data gathered at a point and another comprised of stem densities taken at 4 quadrants around each survey points. I need to add the sum of the stem densities at each survey point and merge them into one table based on the column named "Survey ID". I'm new to Excel and haven't figured out how to do this. I've attached a sample of the dataset to this forum post, thanks for any help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Need help summing and merging tables based on shared column

    First just a check to see if I understand what you want:

    You want, for example, LogData cell R3 to be set to the sum of all entries in column D of sheet LL where SurveyID in sheet LL column-D matches SurveyID in LogData column-A. Is that right?

    If so, then I think you can set LogData cell Q2 to:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and then copy / paste that formula to the entire range Q2 to T20.

    Unfortunately I don't think there are any matching survey IDs in your sample data, so for the sake of testing I changed sheet LL B7 and B18 to 1355. LogData cell R3 now contains 12, which, if I have understood the problem correctly is the right result.

    Let us know whether or not I am on the right track.
    Last edited by GeoffW283; 08-04-2020 at 04:39 PM.
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  3. #3
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2505
    Posts
    1,521

    Re: Need help summing and merging tables based on shared column

    I created a named range Quadrants, marked orange in new tab Summary, with a list of quadrant tabs.
    Then I use formula below to do YOUR SUMIF.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Please check file attached and see if it helps.

    Good luck!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-04-2020
    Location
    Houghton, MI
    MS-Off Ver
    Excel for Mac 15.27
    Posts
    2

    Re: Need help summing and merging tables based on shared column

    I was able to make this work, thanks for your help!

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Need help summing and merging tables based on shared column

    Thanks for the feedback and the added reputation points!
    Geoff

+ 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. Merging Tables with Different Columns, based on 1 column's data
    By dantastical in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-18-2019, 07:03 AM
  2. [SOLVED] Merging two single column tables creating a new row for each pair
    By nigelbloomy in forum Excel General
    Replies: 5
    Last Post: 08-15-2016, 08:08 PM
  3. Merging two Rows from two different tables based on similar cells
    By michaelmorgan9 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-19-2015, 03:35 PM
  4. Replies: 5
    Last Post: 12-24-2013, 10:48 AM
  5. Summing data based on a shared column (?)
    By kcroy in forum Excel General
    Replies: 2
    Last Post: 08-17-2011, 02:15 AM
  6. Merging duplicate rows, but summing a particular column.
    By JonnyNYC90 in forum Excel General
    Replies: 4
    Last Post: 06-24-2011, 03:57 PM
  7. Merging Rows Based on Shared Cell Data
    By sonofjack in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-01-2009, 10:45 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