Two Formulas Combine

fari1

Active Member
Joined
May 29, 2011
Messages
362
hi,
i'm struggling to combine two arrays, one finds certain text values and other finds unique values out of the list, i can use these two arrays in two separate columns, but want to combine them to put less burden on my sheet as arrays take a lot of excel resources.

the array to search text strings consists of two parts
one finds the address of the rows
Code:
{=SMALL(IF(ISERROR(SEARCH(<WBR>Search_str<WBR>ings,TRANS<WBR>POSE(list)<WBR>)),"",TRAN<WBR>SPOSE(ROW(<WBR>list)-MIN(<WBR>ROW(list))<WBR>+1)),ROW(l<WBR>ist)-MIN(R<WBR>OW(list))+<WBR>1)}
2nd find the cell values for those address
Code:
{=INDEX(list,SMALL(IF(ISER<WBR>ROR(SEARCH<WBR>(Search_st<WBR>rings,TRAN<WBR>SPOSE(list<WBR>))),"",TRA<WBR>NSPOSE(ROW<WBR>(list)-MIN<WBR>(ROW(list)<WBR>)+1)),ROW(<WBR>list)-MIN(<WBR>ROW(list))<WBR>+1))}

the array to find unique values is
Code:
{=INDEX(UV,MATCH(0,IF(MAX(<WBR>NOT(COUNTI<WBR>F($B$1:B1,<WBR>UV))*(COUN<WBR>TIF(UV,">"<WBR>&UV)+1))=(<WBR>COUNTIF(UV<WBR>,">"&UV)+1<WBR>),0,1),0))<WBR>}
the names such as search_strings,list and UV are named ranges******** type=text/javascript src="http://images.experts-exchange.com/00225/scripts/attachments_91215bb71fe6ac3f8039d78caee71371.js">*********>
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top