hi folks,
so this was a 2step problem:
- 1st step was to extract a unique list, w/o blanks, from a large dynamic named range in a table; the extract is a new column in the table
- 2nd step is to link to that result column and pull the values into a new worksheet; the list can grow and/or shrink and there will be formulas in the new worksheet for new calcs
I used the following to get the 1st step done:
* =IF(COUNTIF($K$2:K2,sectors)=1,K2,"")
[this puts an intermediate result into a column that shows distinct names but with blanks as they occur in the source data]
* {=INDEX(sectors_extract,SMALL(IF(LEN(sectors_extract)=0,"",ROW(sectors_extract)-MIN(ROW(sectors_extract))+1),ROW(A1)))}
[this removes the blanks and just leaves #NUM in the column for those rows where there were blank entries in 'sectors'; I've seen this link http://www.get-digital-help.com/2009...om-one-column/ but I was not able to make it work exactly and used a variation from another source]
so, now, I want to take the data in the column named sector_list [this is the result set from the 1st step; there are names, and then #NUM for all the blanks; I tried creating a dynamic named range for the values up to the rows with #NUM but that didn't work] and pull it into a different worksheet in the same workbook.
I tried to use a variation of this from the link above as a base:
Step 1 - Create an array with the same size as the list
=INDEX(List,MATCH(0,COUNTIF($B$1:B1,List),0))
COUNTIF($B$1:B1,List) returns an array containing either 1 or 0 based on if $B$1:B1 is found somewhere in the array List .
COUNTIF($B$1:B1,List)
but all I got was circular reference errors. is that because I am trying to pull a dynamic named range, in an array formula, from a table in 1 worksheet into another worksheet that is not defined as a table?
maybe you can give some guidance?
as much as I'd like an answer, I'd like to understand interacting with tables a whole lot better.
I admit tthat I am more than confused in my own mental circular references.
my data looks like this:
Capture.JPG
thanks
ron
Bookmarks