+ Reply to Thread
Results 1 to 2 of 2

Verify TXN data(Emp,startdate,Dept Name) against Dept master(Dept Name, startdate,enddate)

  1. #1
    Registered User
    Join Date
    04-28-2020
    Location
    Bangalroe
    MS-Off Ver
    2013
    Posts
    1

    Verify TXN data(Emp,startdate,Dept Name) against Dept master(Dept Name, startdate,enddate)

    Hi Everyone,

    I would like to validate my transaction data against my master data.

    Say I have Department Master data that has
    DEPT_NAME, EFFECTIVE_START_DATE, EFFECTIVE_END_DATE
    DEP1,01-JAN-2010,31-DEC-2019
    DEP1,01-FEB-2020, 31-DEC-2100

    I have my transaction data as following
    EMPLOYER_NUMBER, JOB_START_DATE, DEPT_NAME

    Basically I want to verify if employees department is valid to be consumed as of JOB_START_DATE.

    Say it is accepted for the below txn data
    Emp1, 01-MAR-2020, DEP1

    It is not accepted for the below txn data. Note the job_start_Date which is outside master data range
    Emp1, 05-JAN-2020, DEPT1

    how do I acheieve this using VBA code?


    I have thousand of master and lakhs of txn data. I want to validate and mark whether txn data is all good.

    Please advice.

    Thanks
    Manikandan R

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Verify TXN data(Emp,startdate,Dept Name) against Dept master(Dept Name, startdate,endd

    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 03-11-2019, 10:23 AM
  2. [SOLVED] Need data from one Excel Sheet separated by 'Dept' and saved as new files with 'Dept' name
    By HospitalAccountant in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 12-06-2018, 12:10 PM
  3. Help- find Startdate - Enddate in userform, and search in all columns
    By rikmik in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2014, 01:41 PM
  4. Bottom Values for any given dept
    By coda1395 in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 07-09-2013, 12:47 PM
  5. week startdate and enddate
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2009, 07:37 AM
  6. Data analysis of dates, splits & segments of dept codes
    By BRISBANEBOB in forum Excel General
    Replies: 4
    Last Post: 06-22-2009, 07:01 PM
  7. [SOLVED] Find name in list and get dept # enter dept # on work sheet
    By Jamba in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-30-2006, 06:45 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