+ Reply to Thread
Results 1 to 3 of 3

Eliminate duplicate values

  1. #1
    Registered User
    Join Date
    07-18-2008
    Location
    Australia
    Posts
    40

    Eliminate duplicate values

    I have attached a snapshot of a big spreadsheet to explain my query. There are duplicate customers shaded with colours (Column D) with different Asset Type (Column G). I need to have one Sales Value for each Customer. That means values in Sales (Column I) would look like those in Column J.

    Is there any shortcut way to eliminate the Sales Values for duplicate Customers? I need to copy that across the big spreadsheet, a part of which is attached herewith.

    Thanks for any help. Regards.
    Attached Files Attached Files
    Last edited by nsd3; 10-27-2010 at 08:31 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Eliminate duplicate values

    Put this formula in J2 and copy down your whole data set:

    =IF(COUNTIF($D$1:$D2,$D2)=1, $I2, "")

    If you want to replace the column I values, next you should:

    1) Highlight column J values
    2) press CTRL-C to copy
    3) Click on I2
    4) Select Edit > Paste Special > Values
    5) Delete column J values
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-18-2008
    Location
    Australia
    Posts
    40

    Re: Eliminate duplicate values

    Thanks heaps!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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