+ Reply to Thread
Results 1 to 8 of 8

Sort all names based on condition

  1. #1
    Forum Contributor
    Join Date
    10-28-2010
    Location
    quebec, canada
    MS-Off Ver
    o365
    Posts
    187

    Sort all names based on condition

    Hi,

    Here's what i need

    Sheet name: DATA (assuming bob is on A1)

    A B
    Bob Proactive
    Brenda Proactive
    Jules Reactive
    Alex Unknown
    Jinny Unknown

    Sheet name: Reference

    N (which is my proactive column)
    Bob
    Brenda



    I want a list of names in N which contains Proactive beside them. I will need the same formula for the rest (reactive and unknown), but i dont need it to be built. I just need the core formula and i will adapt. Need more details?
    Last edited by xatomicx; 08-16-2017 at 01:53 PM.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Sort all names based on condition

    .
    Please Login or Register  to view this content.
    Paste in N1 and drag down.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sort all names based on condition

    c1=B1&COUNTIF($B$1:$B1,$B1) and drag down

    n1=IFERROR(INDEX($A$1:$C$5,MATCH("Proactive"&ROW(),$C$1:$C$5,0),1),"") and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Contributor
    Join Date
    10-28-2010
    Location
    quebec, canada
    MS-Off Ver
    o365
    Posts
    187

    Re: Sort all names based on condition

    Thanks,

    Logit your formula leaves blanks between results i need em on top of each other

    Oeldere, trying this... standby.

  5. #5
    Forum Contributor
    Join Date
    10-28-2010
    Location
    quebec, canada
    MS-Off Ver
    o365
    Posts
    187

    Re: Sort all names based on condition

    None of them works,

    oeldere i dont have a luxury of having a row C that i can spare, it needs to be one formula that does it all on ='Reference'!N1 :/

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sort all names based on condition

    of course you can.

    use in that case e.g. column Z for the helpcolumn.
    Last edited by oeldere; 08-16-2017 at 03:32 PM.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Sort all names based on condition

    Another way.

    Array enter this formula in N1 and fill down until you get blanks.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  8. #8
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Sort all names based on condition

    Or

    Without array

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

+ 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. Replies: 5
    Last Post: 05-09-2017, 08:48 AM
  2. Replies: 1
    Last Post: 04-18-2014, 05:54 PM
  3. Counting Names based on a condition
    By sshishirkumar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-29-2012, 03:49 AM
  4. Replies: 5
    Last Post: 01-13-2012, 03:20 PM
  5. Select worksheet based on condition & populate cell based on condition
    By beth1069 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2011, 01:27 PM
  6. Sort a group of names based on the group total
    By ron2k_1 in forum Excel General
    Replies: 3
    Last Post: 08-13-2010, 01:16 PM
  7. Sort names based on rank
    By douglaswarden in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-12-2009, 01:33 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