+ Reply to Thread
Results 1 to 4 of 4

Check for Duplicate PO# before finalizing...

Hybrid View

  1. #1
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Check for Duplicate PO# before finalizing...

    OK... here we go...
    Attached is quite an in depth worksheet with a lot of roles and variables... (at least for me )
    What i would like to do, is check (in the Packing Slip Log) to make sure that a Packing Slip for the specified Purchase Order number has not already been entered...
    There is a column in the Packing Slip titled Purchase Order #, which is where the PO# is entered...
    So when i press the finalize button, i would like it to check(before it performs the other steps) to make sure there is not a duplicate, and prompt me if there is, with the PO# that is a duplicate, and give me a chance to abort finalizing to check.
    Also, might be helpful to highlight the duplicate on the Packing Slip Log if user choosing to continue with duplicate...
    I am fairly new still, and learning by trial and error, so any suggestions on cleaning up my current code would be helpful as well, as i am sure i go about it the wrong way most of the time ...
    So... lets see... who can help?
    Attachment 193094
    Last edited by Legend Rubber; 11-12-2012 at 09:03 AM. Reason: Re-Attach without password protected code

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Check for Duplicate PO# before finalizing...

    I can't see your code, it's password protected.
    You can just add an extra column and use a formula like this.
    Formula: copy to clipboard
    =COUNTIF(D3:D100;D3)


    but in a application like that the Table feature (under the insert tab) can be useful. I used that in the workbook attached.
    The table feature does expand the formulas automatically as data is added.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Check for Duplicate PO# before finalizing...

    I have attached without the password protection... any more help now?
    Packing Slips - Copy.zip

  4. #4
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Check for Duplicate PO# before finalizing...

    Bump - No Response?

+ 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