+ Reply to Thread
Results 1 to 8 of 8

merge tables and sum in different sheets

  1. #1
    Registered User
    Join Date
    11-12-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    29

    merge tables and sum in different sheets

    Hi all,
    I have a monthly table in each worksheet and I use sumproduct for TOTAL column.
    How to No duplicates in the succeeding months and to automate the master table?

    Attached file
    Attached Files Attached Files
    Last edited by Excel 1_2_3; 03-20-2023 at 02:25 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,150

    Re: merge tables and sum in different sheets

    Use

    =SUMPRODUCT(SUMIF(INDIRECT("'"&$U$1:$U$2&"'!A1:A100"),$L4,INDIRECT("'"&$U$1:$U$2&"'!"&ADDRESS(1,1+COLUMNS($L4:L4),4)&":"&ADDRESS(100,1+COLUMNS($L4:L4),4))))

    Change the bits in RED to suit the number of rows, but do not go mad, and make the range MASSIVE, as INDIRECT can slow your sheet down.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: merge tables and sum in different sheets

    Pl see file for formulas .
    For feb in M4
    Please Login or Register  to view this content.
    For March month change Jan:Jan to Jan:Feb in the formula.
    Feb month table to be copied to other months.
    Range size of all tables kept same.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,497

    Re: merge tables and sum in different sheets

    worksheet or Tab name : Feb
    Cell M4 formula , Drag down and across

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by wk9128; 03-20-2023 at 04:45 AM.

  5. #5
    Registered User
    Join Date
    11-12-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    29

    Re: merge tables and sum in different sheets

    Many Thanks Glenn Kennedy, kvsrinivasmurthy, wk9128 !!

    Very much appreciated. !!

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,497

    Re: merge tables and sum in different sheets

    @Excel 1_2_3 You're Welcome. Glad to help . Thank You for the feedback and rep.

  7. #7
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,298

    Re: merge tables and sum in different sheets

    Power Query
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-12-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    29

    Re: merge tables and sum in different sheets

    Many Thanks Czeslaw !!

    Very much appreciated. !!

+ 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. Consolidate multiple tables data
    By nagesh.tvsr in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-20-2021, 11:18 AM
  2. [SOLVED] Consolidate 3 Tables By Country
    By kellyjo7 in forum Excel General
    Replies: 3
    Last Post: 03-26-2020, 01:02 PM
  3. [SOLVED] formula to consolidate tables
    By Kausch in forum Excel General
    Replies: 7
    Last Post: 11-02-2016, 05:24 AM
  4. consolidate 2 tables into one
    By dekel in forum Excel General
    Replies: 1
    Last Post: 07-09-2012, 04:32 AM
  5. Consolidate two pivot tables
    By ekat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2010, 11:46 AM
  6. How to consolidate all the excel tables into one table?
    By tanks1308 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2007, 08:07 AM
  7. [SOLVED] Consolidate Pivot Tables
    By JS in forum Excel General
    Replies: 1
    Last Post: 06-30-2006, 02:50 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