Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mark Repeating Field

Featured Replies

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

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.

  • 2 weeks later...
  • Author

never thought to do that. Thanks!

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.