+ Reply to Thread
Results 1 to 4 of 4

COUNTIF Formula to Return Multiple Values in a Single Column

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    27

    COUNTIF Formula to Return Multiple Values in a Single Column

    Good morning all,

    I made a similar request on here a few weeks ago which was very kindly solved with no issues whatsoever. Unfortunately however, I have been unable to implement the forumla again due to a third column being involved (and my profound lack of Excel knowledge ), whereas before there were only 2 columns.

    I've attached an example spreadsheet to assist my explanation (which are notoriously bad) - basically the formula would lookup and match the ID number and return the 'Actions' value - which are listed as a column, sometimes several times against 1 ID - and return them across in a row.

    Any help would be much appreciated guys - please let me know if you need any further info.

    Many thanks,

    Tom

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: COUNTIF Formula to Return Multiple Values in a Single Column

    Hi,

    In B2 enter this array formula (confirm with CTRL+SHIFT+ENTER, not just ENTER) and copy down and across:

    =IFERROR(INDEX($K$1:$K$19,SMALL(IF($J$2:$J$19=$A2,ROW($J$2:$J$19)),COLUMNS($A$1:A$1))),"")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: COUNTIF Formula to Return Multiple Values in a Single Column

    XOR LX - that's perfect, thank you very much for that!!

    Tom

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: COUNTIF Formula to Return Multiple Values in a Single Column

    You're welcome.

+ 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