Results 1 to 17 of 17

Use Data Validation to ensure the product code of "Sold Items" is not entered again

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-18-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    490

    Use Data Validation to ensure the product code of "Sold Items" is not entered again

    I have a excel file by which I make my invoices.

    Here are the steps which I follow:

    * In sheet "Product" I enter the product code and the item description.
    *I save the excel file and close it.
    *When customer want to buy a product, then I open sheet "Invoice", enter the product code in range "B11:B31" , then I enter the rate at which I want to sell the product in range "Q11:Q31"
    *Then I press "Update Button" - It copies data from my "invoice" sheet to " Invoice data" sheet and saves the excel file.
    *If the customer pays the amount then I click on "Paid" button and if its outstanding then I press "Due" button. These 2 button "save as" the excel file to a specified location.

    So even if the product is sold , I can still enter the same product code in sheet "invoice" and make invoices. Practically the product is sold.

    So through "Data Validation" I was looking for something in which If the product is sold then sheet "Invoice" Range "b11:b31" does not allow the user to enter the "product code" which is sold.

    Sheet "Invoice data" is the sheet where sales is recorded. In sheet "Invoice data" range "F" contains all the codes of products which are sold.


    I have attached the sample file for simplification.

    Please help me if possible.

    Thank You.
    Attached Files Attached Files
    Last edited by anilpatni1234; 12-16-2017 at 01:01 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multi-select from data validation isn't working with auto-assigning data validation
    By iPenguin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2017, 12:37 PM
  2. Replies: 3
    Last Post: 06-04-2015, 02:27 PM
  3. [SOLVED] Data Validation: How to clear/delete the content of the cell and not Data Validation List?
    By lukelucky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2015, 09:42 AM
  4. Replies: 4
    Last Post: 07-03-2014, 02:37 AM
  5. Replies: 4
    Last Post: 12-19-2013, 10:44 AM
  6. Adding Date Data Validation to cells with List Data Validation
    By biggtyme in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2013, 09:47 AM
  7. Using Defined Names with Data Validation Depend and Data Validation Multi Select
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2012, 05:36 PM

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