+ Reply to Thread
Results 1 to 7 of 7

Sum data with criterias

  1. #1
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Sum data with criterias

    I have a work list where i have some data, the available data is for one particular bay and in date wise what i need is i want to sum up the data in weekly so that i can prepare for my weekly production meeting.

    the sum should be for one particular bay and up to 1st tuesday, and in the next set from the 1st wednesday to 2nd tuesday and goes on...

    please help me with this stuff as it will be very helpful for me.


    With Thanks
    Muralidaran.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by muralidaran; 01-28-2012 at 03:24 PM.

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Sum data with criterias

    Hi,

    in the example I've used SUMPRODUCT (Excel 2000 Xp at disposal) .

    You could use more efficent SUMIFS with same references.

    Hope it helps
    Attached Files Attached Files
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Sum data with criterias

    Hi

    Amother solution with sum(if( Array formula

    Confirm with Ctrl +Shift +Enter

    See attached
    Attached Files Attached Files
    Last edited by mahju; 01-28-2012 at 02:47 PM. Reason: An error corrected in file
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,651

    Re: Sum data with criterias

    Another option, I use dynamic names: BAY and DATE crossing together.
    No need to define first and last date of each week (D12:I12 in your original file)
    @CANAPONE: Your formula link to D12:I12 which does not change if the starting date in C2 change.
    Attached Files Attached Files
    Quang PT

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sum data with criterias

    And another
    Set up your table as in this example

    Then in D14 this array formula
    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter not just Enter
    Drag Down then Across as required

    Check the initial setup for D12:G13

    Select G12:G16 then Drag Right the table will "grow" as far as you need.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sum data with criterias

    @ mahju
    Yours is the simplest, might I suggest a slight modification to make the table extendable?

    See this copy
    Drag M11:M17 Right as required
    Attached Files Attached Files
    Last edited by Marcol; 01-28-2012 at 03:08 PM.

  7. #7
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Sum data with criterias

    Thanks everyone all these options works fine, thats for your efforts.


    With Lots of Thanks
    Muralidaran.

  8. #8
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Sum data with criterias

    Mr. Canapone
    your calculation suits my file very much, since some other mothods which has been suggested is working fine but some of them has avoided the from date and to date which is importanat for me, and appologise in sample file i didnt mention it

    Now when i try to utilize the formula which you have provided it is showing error as "#N/A" so i have attached my original work file please check and correct the mistake and please advise me what wrong i did so that i can avoid that in future.

    I understand the concept and I have tried very much to fix the error, but i couldn't fix it since this formula is very new and i am very very new to Excel.

    Sorry for the big file size as i am attaching my direct work file.

    Thanks
    Muralidaran.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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