View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam via OfficeKB.com Sam via OfficeKB.com is offline
external usenet poster
 
Posts: 247
Default Search Multiple columns for criterion asterisk (*) and Return Numeric Label

Hi Domenic,

Thank you very much. That's Great!

Biff, thank you also for your contribution.

Domenic wrote:
Biff's formula can be modified as follows...


B2, copied across:


=IF(COLUMNS($B2:B2)<=SUM(--(MMULT(ISNUMBER(FIND($A2,$U$2:$Y$16))+0,TRANSP
OSE(COLUMN($U$2:$Y$16)^0))0)),INDEX($T$2:$T$16,S MALL(IF(MMULT(ISNUMBER(F
IND($A2,$U$2:$Y$16))+0,TRANSPOSE(COLUMN($U$2:$Y$1 6)^0)),ROW($T$2:$T$16)-R
OW($T$2)+1),COLUMNS($B2:B2))),"")


A few notes:


1) It assumes that A2 contains the criterion.


2) Any cell within U2:Y16 that contains the value in A2 within its text
string will meet the criterion.


3) The function FIND is case-sensitive.


4) You may want to use a defined name for the MMULT part of the formula.
Post back if you need help...


Hope this helps!

Hi Domenic,

[quoted text clipped - 10 lines]
Cheers,
Sam


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200607/1