+ Reply to Thread
Results 1 to 2 of 2

Data duplication assistance

  1. #1
    Registered User
    Join Date
    08-19-2015
    Location
    Jasper IN
    MS-Off Ver
    2010
    Posts
    1

    Data duplication assistance

    I have files with 30,000+ lines of data in many columns that I need to remove specific lines from. For instance; Column A will have dollar values. In the dollar values column there may be a negative number. I need to find a corresponding positive dollar value for that negative dollar value (i.e. -$123.45 and $123.45) and validate against two other columns. Once the positive dollar value is found (which there will be multiples of) I must verify the positive dollar value is for the same criteria in column C (i.e. a drug name) as well as be within 30 days of the date housed in column B for the negative dollar value. If there are multiple line items that meet the criteria of 1) negative and positive dollar values, 2) same drug name, and 3) within 30 days then I need to choose the line item with the closest date in column B. Once found and chosen then both line items (negative and positive) need to be either highlighted in yellow or moved to another tab.

    Any help? Thanks

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Data duplication assistance

    what about:
    in a new blank col....(you choose the letter)

    G2 = if(A2<0,"negative","") (this will show all negatives)
    H2 = abs(A2) (to give you the positive value)
    I2 = calculate days < 30 (to find days from the date)

+ 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. Duplication of data
    By Aretradeser in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2014, 04:28 PM
  2. [SOLVED] Check existing data before copying in new data to avoid duplication
    By lordterrin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-06-2013, 02:15 PM
  3. duplication of spreadsheet data.
    By oneblondebrow in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2013, 07:37 PM
  4. Avoiding Data Duplication using the Workbook Data Connections
    By Varlock-01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2012, 04:48 AM
  5. Duplication data every time macro is run, instead of updating newly found data only
    By Lostinxcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-10-2010, 03:41 AM
  6. Excel 2007 : Data duplication
    By baloch in forum Excel General
    Replies: 2
    Last Post: 03-05-2009, 12:33 AM
  7. Combining Data without Duplication?
    By Waynesworld in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2006, 05:49 PM
  8. data duplication check ?
    By Anthony in forum Excel General
    Replies: 4
    Last Post: 07-01-2005, 05:05 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