+ Reply to Thread
Results 1 to 4 of 4

Match and Sumif

  1. #1
    Forum Contributor
    Join Date
    06-23-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    127

    Match and Sumif

    Hi guys

    I am comparing two production sheets with line items and need your help to match and sum the numbers depending on the month selected in the dropdown(if selected March, should sum Jan-March). However, each month have two columns (units and revenue), so need to sum each column. Also need to consider that each line item should match from other other sheet because the other have more line items.

    Appreciate your help on this, not sure how to go about it. Many Thanks.

    Attached Excel file for reference (Excel 2010).

    Match&SumIf.xlsx

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Match and Sumif

    see the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    06-23-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: Match and Sumif

    Thank you sooo much! Exactly what I want to achieve! Appreciate it! Cheers!

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Match and Sumif

    In B7 Cell

    =IFERROR(SUMIF(OFFSET('Production 2013'!$G$6,,,,MATCH($A$3,'Production 2013'!$G$5:$AD$5,0)+1),B$6,OFFSET('Production 2013'!$G5,MATCH($A7,'Production 2013'!$A$7:$A$106,0),,,MATCH($A$3,'Production 2013'!$G$5:$AD$5,0)+1)),"")

    In D7 Cell

    =SUMIF(OFFSET($G$6,,,,MATCH($A$3,$G$5:$AD$5,0)+1),D$6,OFFSET($G7,,,,MATCH($A$3,$G$5:$AD$5,0)+1))

    Drag both the formula's down and right....


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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] sumif which finds text, not an exact match, but a close match instead
    By Beefy1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2014, 08:29 PM
  2. SUMIF on INDEX/MATCH/MATCH
    By luckychelle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-06-2013, 10:49 AM
  3. SUMIF + 1 Row to the match
    By Codeman553 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-28-2013, 10:29 AM
  4. Replies: 3
    Last Post: 05-08-2013, 02:10 PM
  5. sumif match
    By okl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-23-2009, 08:59 AM

Tags for this Thread

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