+ Reply to Thread
Results 1 to 11 of 11

Need Help on Sumifs for horizontal and vertical criteria from 2 different tabs

  1. #1
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Need Help on Sumifs for horizontal and vertical criteria from 2 different tabs

    Hello,

    Hope you have a great day.

    I am trying to solve an issue with sumifs for horizontal and vertical criteria from 2 different tabs. I have attached a file here. From cell A1 to H3, on sheets1 and sheet2 are the data I got. From J2 to N17 is the outcome I need. I have 2 horizontal criteria from column A and column B, and one vertical criteria on Row 1 in 2 different tabs

    Test.PNG

    Thanks a lot.
    Attached Files Attached Files
    Last edited by jackson_hollon; 06-19-2020 at 01:49 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,431

    Re: Sumifs for horizontal and vertical criteria from different tabs

    How is this any different from your earlier thread?

    I don’t see the need for a new thread - please explain why yo7 think you need one.

    https://www.excelforum.com/excel-for...-criteria.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Sumifs for horizontal and vertical criteria from different tabs

    AliGW,

    The first one is the data from the same sheet. The second one is the data from 2 different sheets.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,431

    Re: Sumifs for horizontal and vertical criteria from different tabs

    OK - I think you probably could have continued in one thread, but I’ll let it go this time.

  5. #5
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Need Help on Sumifs for horizontal and vertical criteria from different tabs

    Can someone please help me on this?

    Thanks in advance for the help.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,647

    Re: Need Help on Sumifs for horizontal and vertical criteria from 2 different tabs

    This proposal employs Get & Transform. The advanced editor code that produces the green table on sheet 1 is:
    Please Login or Register  to view this content.
    Once the table is produced you could hide row 1 (headers) by setting font and fill to white and deselecting filter.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Need Help on Sumifs for horizontal and vertical criteria from 2 different tabs

    In the attached please find the following formula solutions.

    For Sheet names this formula in J2 and filled down until you get blanks
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    For the 'Names' from column B this formula in K2 and filled down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and in L2 and filled down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    For the quarters this formula in M2 and filled down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then for the amounts this formula in N2 and filled down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  8. #8
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Need Help on Sumifs for horizontal and vertical criteria from 2 different tabs

    JeteMc,

    Thanks for the code. Your code is beyond my knowledge and imagination. I need time to study a little bit. Thanks a lot.

  9. #9
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Need Help on Sumifs for horizontal and vertical criteria from 2 different tabs

    Dave,

    Your solution works perfectly. Thanks a lot.

    Jackson

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,647

    Re: Need Help on Sumifs for horizontal and vertical criteria from 2 different tabs

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  11. #11
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Need Help on Sumifs for horizontal and vertical criteria from 2 different tabs

    You are welcome. Thank you for the feedback and also thank you again for marking your thread Solved.

+ 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] Sumifs for horizontal and vertical criteria
    By jackson_hollon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-09-2020, 05:21 PM
  2. [SOLVED] SumIfs / Sumproduct for table with vertical and horizontal lookup criteria (text+dates)
    By benvass in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2018, 10:34 AM
  3. Sumifs horizontal vertical
    By Play1234 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-26-2017, 04:31 PM
  4. [SOLVED] SUMIFS(?) I need to sum data using both horizontal and vertical criteria
    By bighandsam in forum Excel General
    Replies: 22
    Last Post: 01-06-2017, 11:31 PM
  5. Replies: 5
    Last Post: 10-03-2016, 03:39 AM
  6. solved
    By ravidesai in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-18-2016, 10:55 AM
  7. Replies: 5
    Last Post: 06-06-2013, 05:12 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