+ Reply to Thread
Results 1 to 8 of 8

Sumifs range in number corresponding to the month

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Sumifs range in number corresponding to the month

    HI,

    How do sumifs ranges in number corresponding to the month.

    Data:

    Document Date Plant Amount
    01.04.2015 3100 5432.26
    01.04.2015 3100 4203.28
    01.04.2015 3100 915.61
    01.04.2015 3100 22220.82
    01.04.2015 3190 2655.81
    01.04.2015 3190 254.67
    01.04.2015 3700 8012.41
    01.04.2015 3700 5521.92
    01.04.2015 3700 8919.29

    Req Format:

    PLANT CODE
    Month:Apr.15
    A B C D

    3100 3190 3700 58136.07

    Am apply this formula

    =SUMIFS('APRIL-15'!$C$2:$C$22294,'APRIL-15'!$B$2:$B$22294,REQFORMAT!$A3&REQFORMAT!B3&REQFORMAT!C3,'APRIL-15'!$A$2:$A$22294,">="&EOMONTH(REQFORMAT!$D$2,-1)+1,'APRIL-15'!$A$2:$A$22294,"<="&EOMONTH(REQFORMAT!$D$2,0))

    value return is wrongly when range multiple.

    please help me. file attached.
    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,351

    Re: Sumifs range in number corresponding to the month

    When you have three plant codes are you trying to sum the values for Plant code 3100 + Plant Code 3190 + Plant code 3700?

    Why are you concatenating A&BC against column B only???

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sumifs range in number corresponding to the month

    Using your posted workbook

    this formula, copied down, returns the sum for a particular month for up to 3 plant codes (listed in columns A through C)
    Please Login or Register  to view this content.
    This alternative formula returns the same values:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

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

    Re: Sumifs range in number corresponding to the month

    =SUMPRODUCT(('APRIL-15'!$C$2:$C$22294)*(TEXT('APRIL-15'!$A$2:$A$22294,"MMYY")=TEXT($D$2,"mmyy"))*('APRIL-15'!$B$2:$B$22294=$A3:$C3))
    or
    =SUMPRODUCT(SUMIFS('APRIL-15'!$C$2:$C$22294,'APRIL-15'!$A$2:$A$22294,">"&EOMONTH($D$2,-1),'APRIL-15'!$A$2:$A$22294,"<="&EOMONTH($D$2,0),'APRIL-15'!$B$2:$B$22294,$A3:$C3))
    Samba

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

  5. #5
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Sumifs range in number corresponding to the month

    JohnTopley Sir,

    yes am trying to sum the values for the Plant code 3100+3190+3700 its called name of chennai.

    so am concatenate to sum of plant against of month.file attached for your reference.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Sumifs range in number corresponding to the month

    Ron Coderre Sir,

    wow its a amassing thank you so much.value return is perfect.

  7. #7
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Sumifs range in number corresponding to the month

    nflsales Siva Sir.

    Rocking Rocking.thank you so much.value return is perfect.

    i can see you its very long time sir.

  8. #8
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sumifs range in number corresponding to the month

    Glad you got something you can use!

    If that resolves your issue, please take a moment to mark this thread as SOLVED (from the Thread Tools menu)

+ 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] How do sumifs from to range in number corresponding to the month
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2015, 07:50 AM
  2. [SOLVED] SumIfs that cannot sum the Date to its month range
    By JESSHOR60 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-06-2015, 07:18 PM
  3. [SOLVED] Using SUMIFS to count the number of inquiries per month based on the date of inquiry
    By Tryin2Excel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-25-2014, 04:11 AM
  4. [SOLVED] Sumifs and extracting month from range
    By Andrew-Mark in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-24-2013, 07:12 AM
  5. Count number of events per month in a range
    By cpots13 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-27-2013, 04:03 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