+ Reply to Thread
Results 1 to 10 of 10

Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlookup)

  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlookup)

    Hi,

    Can u pls help me out for the the attached sheet.
    There are two sheets one is ABC and other summary of ABC sheet
    In ABC sheet columns there are the month where some months are duplicate and some are single.
    Need to sum the total of Every single month with two conditions which are mentioned in Column a & b (for eg: in May month the figures are in 2 columns need to sumup the may month and give the total)

    Thanks in Advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,887

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    In your source data, you have some headers which look like dates but are something else. Please explain, for example, Jul-213. I am trying to manipulate your data, but this is not a workable date. Additionally, why are you hiding some rows in the source data? Is this information to be included or excluding from the analysis. The easiest way to summarize is to have consistent date values and then unpivot the data so that it is normalized for analysis. Current layout is not conducive to summarizing your information.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

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

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    Try in D2 and copy across and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Good luck!

  4. #4
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    Thanks for ur reply.

    Checked the date in Source data it showing in first date of the month, can u pls tell how do u check (JUl-213).
    Just for clarity only hided it should be included for analysis.

    Sorry for the layout this is what we have recd. and maintained will try to change the layout if possible.

    we tried the formula of index match with sumifs/sumif fro example in may month in summary sheet it s picking up the data properly for Nos. 6 and type A and for Nos 7 its shows #ref.

  5. #5
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    Have you tried the formula in post #3?

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,887

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    @Fun2bala

    I have no idea what you mean here.

    Checked the date in Source data it showing in first date of the month, can u pls tell how do u check (JUl-213).

  7. #7
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    Yes. It working. Thanks

  8. #8
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    Explaining the things for the detail u mentioned


    for example, Jul-213


    For ref i have mentioned in Summary sheet the april month is right and for may month its not working.


    Apr-21 May-21
    6 A 1,08,493 1,12,110---correct figure
    7 A 2,46,575 #REF!-----error showing
    8 A 3,20,548 #REF!
    9 A 98,630 #REF!
    10 A 98,630 #REF!

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    Try (as per post #3)

    in D2

    =SUMPRODUCT((ABC!$C$4:$U$19)*(ABC!$A$4:$A$19=$A2)*(ABC!$B$4:$B$19=$B2)*(ABC!$C$2:$U$2=D$1))
    Attached Files Attached Files
    Last edited by JohnTopley; 01-10-2022 at 04:10 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  10. #10
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2016 (home & student version)
    Posts
    79

    Re: Summing the mutiple ranges where the Same Header are there (Tried Sumifs, Index, Xlook

    Thanks. JohnTopley its working.

    Post 3 also working. Just wanted the formula alternate to sumproduct.

    Thanks once again for ur effort and time.

+ 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] Using sumifs and index match function with multiple header criteria
    By FUN2BALA in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-01-2021, 06:33 AM
  2. Use index in table header with sumifs
    By lofgren in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-24-2021, 02:01 PM
  3. [SOLVED] Using Column Header name to define Index/Match search ranges
    By Jimbo42 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-19-2017, 06:56 PM
  4. [Moved to VBA] INDEX MATCH Mutiple worksheet and returns mutiple row
    By joelimzh in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 11-20-2017, 01:33 AM
  5. [Moved to VBA] INDEX MATCH Mutiple worksheet and returns mutiple row
    By joelimzh in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 11-20-2017, 01:33 AM
  6. [SOLVED] COUNTIF mutiple criteria in a single range, but with mutiple ranges.
    By Janbi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-19-2016, 06:31 AM
  7. [SOLVED] SUMIFS with mutiple worksheets
    By figo12 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2013, 07:22 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