DG2005 Posted December 30, 2008 Share Posted December 30, 2008 Hi: I have a list of energy consumption records by address. The utility that supplied the data had to manually pull each record one by one from their 'database'. If two individuals shared one account, the record is repeated. So, I have a 500,000 row table with some records with identical addresses and identical consumption amounts. I posted on an excel forum and a nice member was kind enough to provide the following function: =Sumproduct(($A$2:$A2=$A2)*($B$2:$B2=$B2)) It worked, but the file would not save for whatever reason. Tried twice, so, I've converted the file to FMPro and was looking for help with an equivalent calculation in FMPro I need to separate the duplicates (to then delete them)? It's sorted by address then consumption. The logic is... if the address value in column A repeats and the consumption field in column B also repeats, then...(place a marker in column C so I can sort and delete) Thanks!! Doc Link to comment Share on other sites More sharing options...
comment Posted December 30, 2008 Share Posted December 30, 2008 I would define a calculation field as a concatenation of address and consumption. Then sort by this field, and export the records grouped by the same calc field. There are other methods, but this is quite fast, and with 500k records I would want to start fresh with clean data anyway. Link to comment Share on other sites More sharing options...
DG2005 Posted January 8, 2009 Author Share Posted January 8, 2009 never thought to do that. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5588 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now