Results 1 to 9 of 9

macro to validate data

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    macro to validate data

    I want macro to check few validation and correct data as mentioned below.

    1) Serial number in column A Should be end of the data. If not Show popup “Serial number incomplete”
    2) Trim and data in rows and columns from Row number 2 to till end of the data range
    3) All the character should be converted to capital letters
    4) There should not be any duplicate member. If there is duplicate member show popup “There is Duplicate member in Data” (validation to find duplicate is Name, DOB and Gender) and end macro.
    5) The Family code mentioned against each Self to be unique. If one family code is mentioned against more than one Self then Show popup “There is duplicate family code” and end macro.
    6) Data in Column E under “RELATION1” to be blank, If there is any data show popup that “Relation is already prescribed” and exit macro.
    7) There should be value against each self in column I, J, K, L, M, N, and O. If any cell blank Show popup stating “Value under (Column heading) is blank.
    8) Once Data in Column E Deleted and completely clean Need Macro for below mentioned task
    a. Copy Relation “SELF” from Column “D” to Column “E”
    b. If Relation is “Employee” in Column “D” then Copy Relation as “SELF” to Column “E”
    c. Now Count number of children in one family with the help of family code in column B. Accordingly mention relation as Child1, Child2, Child3, Child4 and so on in Column E. For example refer employee code “10000522” there are 3 child in family hence in E, Mentioned as Child1, Child2 and Child3.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to validate need change
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2014, 01:23 PM
  2. [SOLVED] Macro to Validate data in Column B based on Column A
    By Lawliet in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-03-2013, 11:05 AM
  3. Macro with condition of Period, before run, macro should validate the date and Path of fil
    By caapoorvajain in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-17-2012, 04:11 AM
  4. Macro to Validate existing data.
    By cbhawsar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-16-2011, 10:26 AM
  5. Validate two fields when one field you need a formula to validate
    By cmwilbur in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-29-2010, 11:32 AM
  6. Validate data before executing calculation macro
    By hermithead in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2010, 03:40 AM
  7. macro or validate?
    By olga6542 in forum Excel General
    Replies: 1
    Last Post: 01-08-2010, 08:36 PM

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