Jump to content

find the indexes of duplicates in 1D array


Grey

Recommended Posts

Hi,

I'm involving in a excel database project where i need a help.

I want to find the duplicates entries in 1D array and need to know indexes of them.

.

actually i have the 2D array with me,, i'm slicing column A of the 2D array and finding the duplicate entry's indexes.

Based on the duplicates indexes i want to modify the 2D array accordingly.

I googled and find some info but not able to solve still.

thanks.

Link to comment

Well this isn't a VBA or Excel forum, so you will likely find better answers elsewhere. If this is being done in LabVIEW it is quite easy. You use the OpenG Array package and use the "Remove Duplicates" function, which returns the indicies that were removed. Then you can use the Delete From Array providing a 2D array and then removing columns or rows, at the indicies found earlier.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

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