+ Reply to Thread
Results 1 to 3 of 3

Eliminating rows with identical data

  1. #1
    Registered User
    Join Date
    10-16-2011
    Location
    DC
    MS-Off Ver
    Excel 2008
    Posts
    4

    Eliminating rows with identical data

    I have a spreadsheet with about 6,000 rows of data in three columns:

    Column A: Deparnment name.
    Column B: Name of the employee.
    Column C: Total expense for training.

    The spreadsheet lists employees in multiple rows. For example, if John Smith recieved training on three different occasions, there would be three separate rows for him. I am trying to find the total number of employees for each department without double counting the employees. Is there some sort of excel formula I could use to do this? An IF statement maybe?

    I've already sorted by department and by name, but that's as far as I've got.

    Thank you for the help.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Eliminating rows with identical data

    Copy Column B and Paste it in a blank column of Sheet 2. Then remove duplicates using the Remove Duplicates Option. You will get the unique list of employees. You can get the count by using =counta("A:A") in a blank cell.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    10-16-2011
    Location
    DC
    MS-Off Ver
    Excel 2008
    Posts
    4

    Re: Eliminating rows with identical data

    Thank you, I appreciate it. That was very helpful.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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