View Poll Results: POLL CLOSED

Voters
1. This poll is closed
  • ...

    1 100.00%
  • ...

    0 0%
  • ...

    0 0%
Closed Thread
Results 1 to 8 of 8

Go to next duplicate record in an excel query

  1. #1
    Registered User
    Join Date
    11-05-2019
    Location
    Derby, England
    MS-Off Ver
    Office 365
    Posts
    10

    Go to next duplicate record in an excel query

    I have e data files I am interrogating via one query workbook ((attached). Issue is that I am looking for a “job number” which may legitimately be duplicated - running the query will only ever bring back first instance of the job number which may not be the one I want. Is it possible to skip to next instance of that job number within the query? I cannot think of a way of doing this. For example same job no. May be used for an install at no’s. 20, 22 & 24 Any street. My search will usually only find first record which is often no. 20. But I want the rec for no. 24. I can and have isolated house no and know next row with that job no and can hyperlink to it in data file but no option in the query workbook to skip on to next record with same job no. If anyone has any bright ideas let me know. I guess it may need vba or some such but I am not that good. Each instance of the job no would return different meter details so that is why I am looking for a solution for others to use. I just flag it as a warning at the moment. If job no is unique no problems but if not doesn’t really work. See attached file and formulas (all lookup pretty much) and tell me if I could tackle this another way. Good luck! Sorry, telling me file won’t upload but if anyone has any basic comments let me know. Basic principle is you enter job no and it goes off to retrieve info but only ever pulls back first instance of that job no.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Go to next duplicate record in an excel query

    The yellow banner at the top of the screen gives instructions on how to attach a sample file, so please work through that (and don't try to use the Paperclip icon for attachments, as this does not work on this forum). It's difficult to give you advice and alternatives without seeing what the data looks like.

    I don't know why you have set up a poll on this thread.

    Hope this helps.

    Pete

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Go to next duplicate record in an excel query

    Hi smytha,

    This sounds like a good time to use Advanced Filters. It will show all matches and then you can choose which you want.

    https://www.excel-easy.com/examples/...ed-filter.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    11-05-2019
    Location
    Derby, England
    MS-Off Ver
    Office 365
    Posts
    10

    Re: Go to next duplicate record in an excel query

    Sorry, didn’t know what the poll was. Just thought I had to fill it in. Apologies.

  5. #5
    Registered User
    Join Date
    11-05-2019
    Location
    Derby, England
    MS-Off Ver
    Office 365
    Posts
    10

    Re: Go to next duplicate record in an excel query

    OK,so I zipped the file and it is less than 1MB, but still being told it is too big. I give up.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Go to next duplicate record in an excel query

    We only need to see a small sample file, which should be representative of your real data.

    Pete

  7. #7
    Registered User
    Join Date
    11-05-2019
    Location
    Derby, England
    MS-Off Ver
    Office 365
    Posts
    10

    Re: Go to next duplicate record in an excel query

    I know that, but I cant send the data for GDPR rules, I wanted help on the formula's I was trying to attach in my query file. Never mind I will try elsewhere.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Go to next duplicate record in an excel query

    OK thanks for the update then, thread closed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 08-09-2019, 10:49 PM
  2. [SOLVED] Excel Query Tools - Record pull Value
    By NotSwank in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2017, 10:51 AM
  3. How to tell excel which duplicate record to keep
    By minnehoma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2014, 10:27 AM
  4. Goto Record when Duplicate Record Exists
    By rlsublime in forum Access Programming / VBA / Macros
    Replies: 6
    Last Post: 03-29-2012, 11:13 AM
  5. Duplicate Record find in excel via VBA
    By angeld27 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2011, 07:42 AM
  6. Search for duplicate record in 2 excel spread sheet
    By Jimi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2007, 10:12 PM
  7. MS Access record delete from excel database query results
    By sdnicsm in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-23-2005, 03:55 AM

Tags for this Thread

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