+ Reply to Thread
Results 1 to 10 of 10

How to find duplicate invoices when the duplicate may contain a letter?

Hybrid View

  1. #1
    Registered User
    Join Date
    01-23-2012
    Location
    toronto
    MS-Off Ver
    Excel 2007
    Posts
    5

    How to find duplicate invoices when the duplicate may contain a letter?

    Hi all,

    Hoping you can help me here, I'm no expert in excel.

    I have a query of about 16,000 invoices based on what I consider possibly important..

    -Date
    -Invoice Number
    -Amount
    -Vendor
    -GL acct

    The problem is A/P clerks will sometimes add a letter to the invoice to bypass the internal control (won't allow you to enter duplicate invoices), so there may be an invoice #240 and #240a and they both end up getting paid but really it's only 1 invoice. What would you suggest in order to find these?

    Thanks for any input!

  2. #2
    Registered User
    Join Date
    11-06-2011
    Location
    Massachusetts, USA
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: How to find duplicate invoices when the duplicate may contain a letter?

    Assuming invoice numbers in column A, this formula will give a count of invoices that are the same except for a letter added to the end

    =COUNTIF($A$1:$A$20000,A1&"?")

  3. #3
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: How to find duplicate invoices when the duplicate may contain a letter?

    Hi
    You have not given the layout assuming invoice number starts from b3 going down in c3 enter

    =IF(ISNUMBER(VALUE(RIGHT(B3,1))),"OK","Duplicate")
    copied down.
    It will write the word "OK: or "duoplicate

    or enter this formula in conditional formating

    =IF(ISNUMBER(VALUE(RIGHT(B4,1))),TRUE,FALSE)
    hope this works

    Regards
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  4. #4
    Registered User
    Join Date
    01-23-2012
    Location
    toronto
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: How to find duplicate invoices when the duplicate may contain a letter?

    Thanks,

    Issue is, a lot of the invoice numbers are the same but they are for different vendors so in this case it's ok to be duplicated. How would I break it up depending on vendor?

  5. #5
    Registered User
    Join Date
    11-06-2011
    Location
    Massachusetts, USA
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: How to find duplicate invoices when the duplicate may contain a letter?

    Edit - Found a problem with my post and deleted.

  6. #6
    Registered User
    Join Date
    11-06-2011
    Location
    Massachusetts, USA
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: How to find duplicate invoices when the duplicate may contain a letter?

    Here we go. The following formula will return a 1 for entries where the vendor is the same and the invoice has a character added. Vendors are in column A and invoice numbers in column B. Put the formula in C2 and copy down.

    =COUNTIFS(A:A,A2,B:B,LEFT(B2,LEN(B2)-1))

  7. #7
    Registered User
    Join Date
    01-23-2012
    Location
    toronto
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: How to find duplicate invoices when the duplicate may contain a letter?

    Nice! that's what I'm looking for Canuck Chuck, I'll try that out as soon as I can.

  8. #8
    Registered User
    Join Date
    01-23-2012
    Location
    toronto
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: How to find duplicate invoices when the duplicate may contain a letter?

    HELP.... This formula doesn't seem to work with Excel 2002????

    It works perfectly with 2007, but now I need to use it wtih 2002 and no luck.....
    Last edited by foz; 02-08-2012 at 11:34 AM.

  9. #9
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: How to find duplicate invoices when the duplicate may contain a letter?

    Hi
    Please Upload a sample worksheet

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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