+ Reply to Thread
Results 1 to 3 of 3

Creating segregated lists based on value in column

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    NYC
    MS-Off Ver
    Excel 2007
    Posts
    16

    Creating segregated lists based on value in column

    Basically looking for the best way to create lists based on criteria in a column, e.g.:

    Sheet1:

    Task Person Status
    task1 Person1 Finished
    task2 Person2 Finished
    task3 Person2 Pending
    task4 Person1 Pending


    Sheet2 (or word document):

    Finished tasks:

    Person1 - task1
    person2 - task2

    Pending tasks:

    person2 - task3
    person1 - task4



    Been a while since I messed around with if statements, but I think I can manage that part. Can't seem to figure out how I'll be able to be able to add rows though? If there are any VBA samples available, I could probably reverse engineer to fit my needs, despite being unable to write code myself. This will be a recurring "report" and need to be "run" on a periodic basis/printed to a memo.

    Thanks in advance.

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Creating segregated lists based on value in column

    For your office version

    Try this array formula with data in A2:C6 (row 2 is header) and F8 is Pending or finished

    In E9:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note:confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    For newer version (2010 or more recent)

    Try this normal formula in E3 (F2 is is Pending or finished
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    NYC
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Creating segregated lists based on value in column

    Ultimately the report will include all statuses in a single column. Therefore I assume that's why maybe VBA may be necessary to some extent automatically generate rows, so there aren't empty rows underneath each section. Thanks for the above though, if I am unable to figure it out, that may need to suffice in the interim.

    Thanks.

+ 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. [SOLVED] Calc segregated numbers from one Column using dates in another Column, multiple sheets
    By Hom3Slic3 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-25-2017, 05:25 PM
  2. Requirement details should be segregated based on No. of Recruiters
    By ajaypal.sp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-06-2016, 06:48 AM
  3. Replies: 2
    Last Post: 03-18-2014, 03:38 PM
  4. [SOLVED] Creating Lists based on values in a table.
    By V1gilante in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-17-2014, 01:30 AM
  5. Replies: 3
    Last Post: 09-02-2010, 03:04 AM
  6. [SOLVED] Creating Lists Based on Other Lists
    By amyxkatexx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2010, 01:50 PM
  7. Creating lists based on category
    By NearClueless in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-10-2009, 04:02 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