+ Reply to Thread
Results 1 to 3 of 3

Total Sum from Multiple Sheets

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    116

    Total Sum from Multiple Sheets

    Hi,

    I am looking for a way to find the total sum of an entered value coming from a multiple sheet only on a matched entry.

    This is what I'm trying to achieve, in my attached sample wb, under the Summary sheet A2:A17 it needs to match from all other sheets (I have more sheets than the sample wb) in the same column and range.

    I need to find the total sum if the customer name match the same customer name on all other sheets, but need to exclude duplicates (Customer name), zeros, empty cells and also to exclude Holiday and sick leave wording.

    I have a sample answer under summary sheet in column C and D.

    Any suggestions are greatly appreciated.

    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2503 and WPS V2024(12.1.0.18543)
    Posts
    3,922

    Re: Total Sum from Multiple Sheets

    worksheet or Tab name : Summary

    Cell C2 formula , Drag down and across

    Formula: copy to clipboard
    =SUM(SUMIF(INDIRECT("FName"&ROW($1:$5)&"!A:A"),$A2,INDIRECT("FName"&ROW($1:$5)&"!R1C",)))

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

    Re: Total Sum from Multiple Sheets

    Power Query
    let
        Source = Excel.Workbook(File.Contents("C:\Users\seven\Downloads\Sample WB.xlsx"), null, true),
        #"Removed Top Rows" = Table.Skip(Source,1),
        #"Removed Other Columns" = Table.SelectColumns(#"Removed Top Rows",{"Name", "Data"}),
        #"Expanded Data" = Table.ExpandTableColumn(#"Removed Other Columns", "Data", {"Column1", "Column2", "Column3", "Column4"}, {"Column1", "Column2", "Column3", "Column4"}),
        #"Promoted Headers" = Table.PromoteHeaders(#"Expanded Data", [PromoteAllScalars=true]),
        #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"FName1", type text}, {"Customer Name", type text}, {"Column3", type any}, {"Set 1", type any}, {"Set 2", type any}}),
        #"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([Customer Name] <> null and [Customer Name] <> "Customer Name" and [Customer Name] <> "HOLIDAY" and [Customer Name] <> "SICK LEAVE")),
        #"Grouped Rows" = Table.Group(#"Filtered Rows", {"Customer Name"}, {{"Set1", each List.Sum([Set 1]), type number}, {"Set2", each List.Sum([Set 2]), type number}})
    in
        #"Grouped Rows"
    Attached Files Attached Files

+ 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] Multiple sheets total
    By MarkHelp08 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2021, 12:36 PM
  2. Multiple Values Total, Multiple Sheets (SUM/COUNTIF)
    By James95 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-31-2020, 04:48 PM
  3. how to get total of amounts from multiple sheets
    By roofi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2019, 06:48 AM
  4. total by age over multiple sheets
    By drifted78 in forum Excel General
    Replies: 6
    Last Post: 03-23-2015, 04:37 PM
  5. Making TOTAL from multiple sheets file
    By virtualcircus in forum Excel General
    Replies: 2
    Last Post: 09-05-2008, 07:28 AM
  6. [SOLVED] running total from the same field on multiple sheets as i add she
    By obviscator in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2006, 01:40 PM
  7. subtracting from total multiple sheets (inventory) help.
    By nks1510 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2005, 01:05 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