+ Reply to Thread
Results 1 to 2 of 2

Sorting Rows Based on a Column Data

  1. #1
    Registered User
    Join Date
    11-21-2007
    Posts
    2

    Sorting Rows Based on a Column Data

    I have a worksheet with salesmen's initial in column F and relevant project data across the row. The workshhet is in chronological order. I would like to copy this data on another worksheeet, but re-group it by salesperson.
    I am using the following array formula:

    =INDEX($D$3:$D$150,MATCH(LARGE(COUNTIF($F$3:$F$150,">="&$F$3:$F$150),ROWS($F2:$F2)),COUNTIF($F$3:$F$150,">="&$F$3:$F$150),0))

    This formula copies project name from column D.

    The problem: For the same salesman in rows e.g. 5,9,16,23, Column D copies duplicate entries in four consecutive rows. So Rows 1,2,3 and 4 all have the same project name for that salesman.

    Can someone plese help?
    thanks in advance.
    Allen

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075
    A pivot table might do what you are asking for. Select your data then click on Data, Pivot Table and work through the wizard.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

+ 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