View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Dana DeLouis[_3_] Dana DeLouis[_3_] is offline
external usenet poster
 
Posts: 690
Default array formulas and index lookup

I'm not exactly sure of what you need, but would this work? If you give
your first row a name like rng1, and the second row a name like rng2,
another Array formula (of the same size) might be like this...

{=IF(Rng2="n",Rng1,"")}

It should only display a "B" & "D". Not sure if you want a vba solution
though
--
Dana DeLouis
Using Windows XP & Office XP
= = = = = = = = = = = = = = = = =


"p cooper" wrote in message
om...
Ive got some data starting in A1

A B C D E F G H
D N O N O D D D

ie shift workers

={(B1:B8="N")}
gives me an array of true/falses

Id like an array that returns the names of those who match the criteria
ie {B, D)
I can do it with a series of individual INDEX( MATCH ...) formulae

can i do it with an array formula?
can it be done with a oneliner?