+ Reply to Thread
Results 1 to 6 of 6

Sales sheet- advanced if/sumif question

  1. #1
    Registered User
    Join Date
    08-06-2007
    Posts
    6

    Sales sheet- advanced if/sumif question

    I have two worksheets that I am creating, one is a Sales sheet and the other is a Contact list. The Sales sheet will have a seperate row for each item a customer buys. In the Contact sheet, for each customer, I would like to have a total of his purchases. What formula can I use to make the Contact list automatically total for each individual from the Sales sheet?

    Attached is an image of the two sheets.
    Attached Images Attached Images

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sales sheet- advanced if/sumif question

    Answer will in part depend on the version of XL you're running... XL2007 or earlier ? You might also want to think of using a Pivot Table in preference to Formule...

  3. #3
    Registered User
    Join Date
    08-06-2007
    Posts
    6

    Re: Sales sheet- advanced if/sumif question

    Running 2007

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sales sheet- advanced if/sumif question

    Can you elaborate on your expected results - not sure I understand the significance of the Y/N columns on your image... best normally to post a sample file.

    In general though given your use of XL2007 check out XL Help on the SUMIFS function (and possibly COUNTIFS pending other requirements we're not aware of).

  5. #5
    Registered User
    Join Date
    08-06-2007
    Posts
    6

    Re: Sales sheet- advanced if/sumif question

    You can ignore the Y/N columns.

    Using a pivot table solves half of my probably, getting the sum for each individual. How do I take the next step of saying "if this email equals an email in this range, put in the value that corresponds with that email"?

    Attached is the file, with the pivot table
    Attached Files Attached Files

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sales sheet- advanced if/sumif question

    Not sure I understand that totally.. in terms of formulae, if you're note differentiating by anything other than C (email) then you can use a standard SUMIF, eg:

    Contact!D5: =SUMIF(Sales!$C:$C,$C6,Sales!$F:$F)
    copied down

    If you want to add further criteria you can (in XL2007) use SUMIFS

    I'm going offline now but others will help out if needed.

+ 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