+ Reply to Thread
Results 1 to 7 of 7

Formula to consolidate yearly data

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Formula to consolidate yearly data

    Hello:

    Please refer to attached file.
    I have data as shown, Column A is the year and Column B is the month and rest are some sales data.
    I need formula in cell O2:Q13 to consolidate the value selected from dropdown list in cell N1.
    In this case i have selected "Total" which is column K
    So basically consolidate column K and have in cell range O2:Q13

    Let me know if you have any questions.
    Thanks.

    Riz
    Attached Files Attached Files

  2. #2
    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,193

    Re: Formula to consolidate yearly data

    Try

    =SUMPRODUCT(($E2:$K5000)*($A2:$A5000=O$1)*($B2:$B5000=$M2)*($E$1:$K$1=$N$1))

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Formula to consolidate yearly data

    Hi Riz,

    You can use a SUMIFS formula such as in cell O2:

    Please Login or Register  to view this content.
    Copy it down and across.

    Hope this works for you.

    Cheers

  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Formula to consolidate yearly data

    Hi John:

    Thanks a lot...works great.
    Riz

  5. #5
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Formula to consolidate yearly data

    Glad I could be of some assistance.

    Cheers

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to consolidate yearly data

    Quote Originally Posted by southward View Post
    Hi Riz,

    You can use a SUMIFS formula such as in cell O2:

    Please Login or Register  to view this content.
    Copy it down and across.

    Hope this works for you.

    Cheers
    This doesn't reference cell N1 the droprdown
    It should be this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  7. #7
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Formula to consolidate yearly data

    Opps, didn't read the whole problem. Nice formula.

+ 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] Help needed with formula to consolidate data for mailmerge email list
    By stitchlipped in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2016, 06:08 AM
  2. Replies: 1
    Last Post: 04-30-2016, 09:27 AM
  3. Replies: 4
    Last Post: 10-23-2013, 06:16 AM
  4. Replies: 1
    Last Post: 03-06-2013, 09:37 AM
  5. Replies: 1
    Last Post: 12-08-2010, 10:46 PM
  6. Replies: 1
    Last Post: 04-17-2009, 04:57 AM
  7. [SOLVED] Consolidate of data using formula in Excel
    By ims in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-28-2005, 01:10 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