+ Reply to Thread
Results 1 to 6 of 6

Sum the first Instance of a duplicate across two criteria

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    7

    Sum the first Instance of a duplicate across two criteria

    Sum the first Instance of a duplicate across two criteria. Example attached.

    I would like to get a sum of invoices against each Business unit per Account. Unfortunately there are duplicate data in this raw export.
    Before I have a crack at the guy who produced this, Can you please let me know if there is a way of just summing the first Instance of the no. of invoices per account per business unit?
    Thanks in advance.

    SPR_EX.xls

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sum the first Instance of a duplicate across two criteria

    See the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    01-30-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Sum the first Instance of a duplicate across two criteria

    Thanks oeldere.

    I also want to sum the first Instance of the no. of invoices per account per business unit in a style same as the one shown on the Summary - PPT Tab. I've already done one, but it is just a count of the number of occurrences of Individual bus units on the Data Tab. Currently in that export, if there are 5 invoices against an account for a bus init, there are 5 lines. So my approach works. It will fail where there are unequal number of occurrences of bus units to the no. of invoices released.

    Hope that makes sense.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sum the first Instance of a duplicate across two criteria

    Nope (not for me ), but maybe the desired (expected) result in your sheet will.

  5. #5
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Sum the first Instance of a duplicate across two criteria

    if i understood your requirement correctly, this might be of help (see highlighted regions):
    Attached Files Attached Files
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  6. #6
    Registered User
    Join Date
    01-30-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Sum the first Instance of a duplicate across two criteria

    Thanks icestationzbra. Exactly what I had in mind. Now to decipher the Formulae

+ 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