+ Reply to Thread
Results 1 to 7 of 7

Help Reorganising / Presenting My Data

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Leeds, England
    MS-Off Ver
    MS Office 2007
    Posts
    134
    Thats as I thought. The only thing that changes from Column A to B is the A or B i.e.

    .......*"&A$2

    .......*"&B$2

    When I have put into my new workbook I have the following 2 formulas:

    Column A:

    =IF(COUNTIF(RESULTS_RR!$AO$3:$AO$40,"*"&A$2)>=ROWS($3:3),INDEX(RESULTS_RR!$A$3:$A$40,SMALL(INDEX((RIGHT(RESULTS_RR!$AO$3:$AO$40,1)=A$2)*ROW(RESULTS_RR!$AO$3:$AO$40),0),ROWS($3:3)+COUNTIF(RESULTS_RR!$AO$3:$AO$40,"<>*"&A$2))),"")
    Column B:

    =IF(COUNTIF(RESULTS_RR!$AO$3:$AO$40,"*"&B$2)>=ROWS($3:3),INDEX(RESULTS_RR!$A$3:$A$40,SMALL(INDEX((RIGHT(RESULTS_RR!$AO$3:$AO$40,1)=B$2)*ROW(RESULTS_RR!$AO$3:$AO$40),0),ROWS($3:3)+COUNTIF(RESULTS_RR!$AO$3:$AO$40,"<>*"&B$2))),"")
    RESULTS_RR!$AO$3:$AO$40 is where my CURRENT PHASE column is.

    B$2 is where my PHASE TITLE is to look up.

    RESULTS_RR!$A$3:$A$40 is where my PROJECT NAME column is.

    ...?

    dvent

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    After adjusting references, I found the flaw in your formula....

    This section: INDEX(RESULTS_RR!$A$3:$A$40
    Should be:    INDEX(RESULTS_RR!$A$1:$A$40
    So
    A3: =IF(COUNTIF(RESULTS_RR!$AO$3:$AO$40,"*"&A$2)>=ROWS($3:3),
    INDEX(RESULTS_RR!$A$1:$A$40,SMALL(INDEX((RIGHT(
    RESULTS_RR!$AO$3:$AO$40,1)=A$2)*ROW(RESULTS_RR!$AO$3:$AO$40),0),
    ROWS($3:3)+COUNTIF(RESULTS_RR!$AO$3:$AO$40,"<>*"&A$2))),"")
    Copy that formula across and down.

    Done, yet?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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