Jump to content
Sign in to follow this  
DG2005

Mark Repeating Field

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.