+ Reply to Thread
Results 1 to 11 of 11

SUMIF from TABLE

  1. #1
    Registered User
    Join Date
    05-27-2015
    Location
    Zagreb
    MS-Off Ver
    2010
    Posts
    36

    SUMIF from TABLE

    Hello,

    I need help with following:

    In Sheet 1 I have columns A3:M31. In column A are listed cost centers (once cost center occur more then once) and in other columns (B:M) are amounts per period (January-December). Cell F1 contains current period (e.g. 05-2015)

    In sheet 2 in column L are again cost centers (only once). In column H there should be a formula that would return sum of the amounts per cost centers for period defined in cell F1 in sheet 1.

    Thank you in advance.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: SUMIF from TABLE

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Forum Contributor jayajaya_4's Avatar
    Join Date
    05-09-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    259

    Re: SUMIF from TABLE

    pls attach a sample dear

  4. #4
    Registered User
    Join Date
    05-27-2015
    Location
    Zagreb
    MS-Off Ver
    2010
    Posts
    36

    Re: SUMIF from TABLE

    Hi,

    Here is example if I want to sum for 04-2015. Please note that periods in cell F1 will be changes manually and therefore result in sheet 2 should change as well.

    Tanja
    Attached Files Attached Files

  5. #5
    Forum Contributor jayajaya_4's Avatar
    Join Date
    05-09-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    259

    Re: SUMIF from TABLE

    =SUMPRODUCT((Sheet1!F$1=Sheet1!$B$2:$M$2)*(L2=Sheet1!$A$3:$A$31)*(Sheet1!B3:M3))


    put this in h2 sheet 2...

  6. #6
    Forum Contributor jayajaya_4's Avatar
    Join Date
    05-09-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    259

    Re: SUMIF from TABLE

    attachment for ur reference..

    regards
    jaya

  7. #7
    Registered User
    Join Date
    05-27-2015
    Location
    Zagreb
    MS-Off Ver
    2010
    Posts
    36

    Re: SUMIF from TABLE

    Thank you for prompt reply. But if I change value in cell F1 to 01-2015 result in column H in sheet 2 it not OK. See result for CC 7251. It sould be for January 390, and not 650.

  8. #8
    Forum Contributor jayajaya_4's Avatar
    Join Date
    05-09-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    259

    Re: SUMIF from TABLE

    hey its working u just need to change format the date..i did it for u,,,pls see the attached

  9. #9
    Registered User
    Join Date
    05-27-2015
    Location
    Zagreb
    MS-Off Ver
    2010
    Posts
    36

    Re: SUMIF from TABLE

    still, when I open Excel and change the date to January, again it is not OK. I tried before to change formats, now again and I have same problem.

  10. #10
    Registered User
    Join Date
    05-27-2015
    Location
    Zagreb
    MS-Off Ver
    2010
    Posts
    36

    Re: SUMIF from TABLE

    I managed it with =SUMIF(Sheet1!$A$3:$A$31;$L2;INDEX(Sheet1!$B$3:$M$31;0;MATCH(Sheet1!$F$1;Sheet1!$B$2:$M$2;0))).

    Thank you

  11. #11
    Forum Contributor jayajaya_4's Avatar
    Join Date
    05-09-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    259

    Re: SUMIF from TABLE

    ok fine...anyways I am glad u got a way out for this....cheers!!!!!!!!!!

+ 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. SUMIF upwards in table
    By Stiaan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2014, 12:18 PM
  2. [SOLVED] SUMIF formula help with a table please
    By MnMCarta in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-05-2014, 09:11 PM
  3. [SOLVED] Using sumif and changing Table Range
    By Jerseynjphillypa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-21-2012, 09:15 PM
  4. Using MOD, SUMIF, and VLOOKUP for a table.
    By moonbreakker in forum Excel General
    Replies: 3
    Last Post: 02-23-2012, 06:09 AM
  5. Pivot Table- Sumif
    By aromaveda in forum Excel General
    Replies: 9
    Last Post: 09-14-2009, 04:51 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