+ Reply to Thread
Results 1 to 5 of 5

Sum multiple fields but not duplicate records

  1. #1
    Forum Contributor
    Join Date
    07-04-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac -V 16.33 -- Office 365
    Posts
    279

    Sum multiple fields but not duplicate records

    I am trying to figure out a formula for calculating the total value of a set of records, but not include any records that are duplicate. For example, I am trying to figure out two numbers.

    1. Total value of all the properties a real estate agent held an Open House for.
    2. The Total value of all the properties a real estate agent held an Open Houser for during a given period of time (i.e. 12 months.

    Of course I can easily calculate the first, but the second one is rather challenging.

    On one tab I list all the Open houses along with their address and asking price. On a separate tab I list all the days the agent held the Open House along with the address. The only common denominator is each tab includes the address of the property.

    See attached excel.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Sum multiple fields but not duplicate records

    Hello
    Not sure if I've got what you require but take a look at the attached file. It uses an helper column to make the calculation.

    Just a note, is any of this data confidential? if so it may be advisable to change it.

    DBY
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-04-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac -V 16.33 -- Office 365
    Posts
    279

    Re: Sum multiple fields but not duplicate records

    That's it! Thank you very much.

    Also, the data I shared is public information as it is all listed online.

    Thanks again!

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Red face Re: Sum multiple fields but not duplicate records

    Hello
    I've just gone over what I posted yesterday and I think there is an error in the file I provided. The helper column shows the price of each property at the first instance of it's appearance in the list but if that is outside of the date range supplied on the Summary tab then it won't be calculated. Take a look at the amended file, is this more accurate?
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    07-04-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac -V 16.33 -- Office 365
    Posts
    279

    Re: Sum multiple fields but not duplicate records

    Great catch!! Thanks for your update and amended file. I opened it up to see your revised formula and initially saw a "#Ref" error, but was able to identify the issue and modify the formula to correct it. The new formula for cell E13 is:
    "=SUMIFS('Open House Dates'!$I$4:$I$50000,'Open House Dates'!$B$4:$B$50000,">="&E4,'Open House Dates'!$B$4:$B$50000,"<="&E5)"

    Note that I also changed the number of rows in the column to 50000 as I will be adding to this worksheet and did not want to disrupt the calculation. I did the same for the second tab.

    Thanks so much for the amended look and attention to detail This does make a difference.

    Regards.
    Last edited by Perk1961; 05-12-2015 at 10:19 AM.

+ 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. Find records that match criteria of multiple fields
    By jvbeats in forum Access Tables & Databases
    Replies: 3
    Last Post: 03-12-2013, 05:40 PM
  2. Replies: 3
    Last Post: 02-22-2011, 09:22 PM
  3. match multiple fields in records
    By prawer in forum Excel General
    Replies: 3
    Last Post: 08-06-2009, 01:54 PM
  4. [SOLVED] Duplicate records with various formats for fields
    By Rbryant in forum Excel General
    Replies: 1
    Last Post: 07-06-2006, 08:10 PM
  5. Multiple duplicate records
    By excel123 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2005, 05:04 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