+ Reply to Thread
Results 1 to 2 of 2

copying and pasting from multiple reports without creating duplicates

  1. #1
    Registered User
    Join Date
    07-30-2008
    Location
    UK
    Posts
    52

    copying and pasting from multiple reports without creating duplicates

    i have a problem regarding copying and pasting records that aren't duplicates.

    i get a raw data file everyday that is updated with information on current/new orders, which i import into a master sppreadsheet i've made so i can use pivot tables to manipulate it.

    the problem arises when i want to create a report and i copy a bunch of records ive filtered down, onto a blank spreadsheet - if i import a new raw data file, with the same filters on the pivot table, and copy and paste another lot of records, it creates a duplicate of the record that was already copied over from a previous report.

    how do i get it to copy across only new/updated records?

    thanks

  2. #2
    Registered User
    Join Date
    07-30-2008
    Location
    UK
    Posts
    52
    Doesnt matter, i found a superb solution on the cpearson website that highlights the last occurrence of a duplicate element in a list :

    Another formula for Conditional Formatting will highlight only the last occurrence of a duplicate element in a list (or the element itself if it occurs only once).

    =IF(COUNTIF($B$2:$B$11,B2)=1,TRUE,COUNTIF($B$2:B2,B2)=COUNTIF($B$2:$B$11,B2))

    As you can see only the last occurrences of elements 'a', 'b', 'c', and 'f' are highlighted. Element 'd' is highlighted because it occurs only once. The occurrences of 'a', 'b', 'c' and 'f' that occurs before the last occurrence are not highlighted.

    Sorted.

+ 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. Copying from one workbook and pasting into another additon to code
    By snordr17 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2008, 05:39 PM
  2. Code not copying and pasting data - basic error?
    By Kayote in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2008, 10:57 AM
  3. Copying and pasting multiple text files into different tabs.
    By kingbiscuit in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-05-2008, 01:59 PM
  4. Replies: 2
    Last Post: 10-14-2007, 01:05 PM
  5. Replies: 1
    Last Post: 08-15-2007, 05:04 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