Hello
XL2021 Database with SEARCH feature in 1st tab, and DATA in 2nd Tab, it is fully working, see attachment.
And also since recently purchased XL21, wow what a major time saver Excel2021 is, brilliant features close to SQL could have done with this 20 years ago as concept seems simple enough, but anyway in XL21 it is much concise formulas edit and file size, something similar to achieve in Excel 2003 would have been lengthy edit formulas over many tabs, and who knows how many hours/days/weeks/months/years!
Was wondering if Filter Function expression has simpler alternative, or better way? Even though Filter Function is either AND or OR, anyway!
Currently 5 seperate formulas via nested if (Col D-A, or Col C-A, or Col B-A, Col A only or Blank Combo Boxes), as clearly seen in screenshot:
Screenshot (483).png
Think the 5 seperate formulas (Col A, Col B, Col C, Col D, Blank) as constructed for SEARCH AZ RESULTS A12 spill array is better then 1 nested if as easier to follow/edit at later stage and not get lost somewhere between, look at the 1nest alternative!:
=UNIQUE(IF($D$2<>"",IF('SEARCH AZ'!A2<>0,(SORT(FILTER(DATA!A:F,(DATA!A:A='SEARCH AZ'!A2)*(IF('SEARCH AZ'!B2<>0,(DATA!B:B='SEARCH AZ'!B2)*(IF('SEARCH AZ'!C2<>0,(DATA!C:C='SEARCH AZ'!C2)*(IF('SEARCH AZ'!D2<>"",(DATA!D:D='SEARCH AZ'!D2),"HELLO"))))))),5,1))),IF($C$2<>"",IF('SEARCH AZ'!A2<>0,(SORT(FILTER(DATA!A:F,(DATA!A:A='SEARCH AZ'!A2)*(IF('SEARCH AZ'!B2<>0,(DATA!B:B='SEARCH AZ'!B2)*(IF('SEARCH AZ'!C2<>0,(DATA!C:C='SEARCH AZ'!C2)))))),4,1))),IF($B$2<>"",IF('SEARCH AZ'!A2<>0,(SORT(FILTER(DATA!A:F,(DATA!A:A='SEARCH AZ'!A2)*(IF('SEARCH AZ'!B2<>0,(DATA!B:B='SEARCH AZ'!B2)))),3,1))),IF($A$2<>"",IF('SEARCH AZ'!A2="","",SORT(FILTER(DATA!A:F,(DATA!A:A='SEARCH AZ'!A2)),2,1)),IF('SEARCH AZ'!A2<>"","",SORT(FILTER(DATA!A:F,(DATA!A:A<>"MAKE")),1,1)))))))
Cheers Stephan
Bookmarks