+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : SUMIF Problem

  1. #1
    Registered User
    Join Date
    10-07-2008
    Location
    Derby
    Posts
    4

    SUMIF Problem

    Hello everyone, I want to find the value of a (Row C) with multiple values from a dates (Row A) and product information (Row B) to be displayed in D1 as a total with all the dates, for example:

    A B C D
    1 Date Product Profit Total
    2 1/12/2010 Aluminium £300.00 ?
    3 1/12/2010 Aluminium £400.00
    4 2/12/2010 Aluminium £500.00
    5 2/12/2010 Aluminium £300.00
    6 3/12/2010 Aluminium £400.00
    7 4/12/2010 Aluminium £350.00


    Can somebody help me with this please.

    Thanks
    Last edited by HarrBhatt08; 12-09-2010 at 05:08 AM. Reason: missed vital bit of question

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: SUMIF Problem???

    Place the date you wish to accumulate data on in cell F1. In cell F2 place the product name you wish to accumulate the sums for.

    In D1, put this formula in =sumproduct(--(A2:A7=F1),--(B2:B7=F2),C2:C7)

    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: SUMIF Problem???

    Or you could try a pivot table.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    10-07-2008
    Location
    Derby
    Posts
    4

    Re: SUMIF Problem???

    Quote Originally Posted by alansidman View Post
    Place the date you wish to accumulate data on in cell F1. In cell F2 place the product name you wish to accumulate the sums for.

    In D1, put this formula in =sumproduct(--(A2:A7=F1),--(B2:B7=F2),C2:C7)

    Alan
    Hello
    I made a slight omission in the original problem, I need the total to calculate all the dates from Row A.

    Can you advise what this formula would be.

    Thanks

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: SUMIF Problem???

    You do mean Column A? Right?

    =SUMIF(B:B,"Aluminium",C2:C7) or as ConneXionLost says, create a pivot table and filter it on the product.

    See example of pivot table attached
    Attached Files Attached Files
    Last edited by alansidman; 12-09-2010 at 09:36 AM.

  6. #6
    Registered User
    Join Date
    10-07-2008
    Location
    Derby
    Posts
    4

    Re: SUMIF Problem???

    Hi Alan
    Thank you for your second reply, very much appreciated but it still isn't working, I can't use the Pivot table, there isn't the room to display this, can you enter the formula in the example sheet uploaded and send back to me, this is very similar to what is required within the main worksheet and only has one cell available for this information to be displayed in.

    Thanks again

    Russ
    Attached Files Attached Files

  7. #7
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: SUMIF Problem???

    If the dates are not relevant, then try:
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-07-2008
    Location
    Derby
    Posts
    4

    Re: SUMIF Problem???

    Hello
    the dates are relevant

+ 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